StoicIdentity - login to applications using StoicWallet

It’s still there in the backlog - it’s just waiting to get prioritized

2 Likes

The basic steps to build a basic website using npm packages is something like this:

  • install node.js (npm comes along with it)
  • clone or download the repository
  • in the repo, run npm install to install all the packages the project needs
  • use a “bundler”, like webpack, vite, rollup, or parcel to pull your package together
  • use a npm run build script, configured in package.json to instruct your bundler to compile the application
  • Deploy the compiled html, css and js to your canister or hosting provider

In this example, rollup is the bundler. It is configured to replace process.env.DEFI_DAPP_CANISTER_ID with the actual canister ID. It will use the information from .dfx/local/canister_ids.json which is generated when you deploy your application locally. It does the same for when you deploy to the IC

1 Like