You can check out the live version at https://3d5wy-5aaaa-aaaag-qkhsq-cai.icp0.io/
See also the library that this project is based on: https://github.com/dfinity/icp-calculator
In order to add a new ICP feature to the calculator:
- Add the corresponding cost computation logic to the library: https://github.com/dfinity/icp-calculator
- Make a new release of the library and bump the dependency here.
- Add the corresponding UI element class in
src/lib/ts/feature.ts
. - Add a new entry to the
FEATURES
table insrc/lib/ts/feature.ts
. - If the feature introduces a new cost category, then add it in
src/lib/ts/cost.ts
.
npm run dev
npm run deploy:dev
npm run deploy