Skip to content

Some JS logic to calculate the network wide burn rate of ICP in minutes based off of the XDR>ICP converstion rate and the network wide cycles/s burn rate.

License

Notifications You must be signed in to change notification settings

id-daniel-mccoy/burn-calc

Repository files navigation

ICP Burn Rate Calculator v2.2

Some JS logic to calculate the network wide burn rate of ICP in minutes based off of the XDR>ICP conversion rate and the network wide cycles/s burn rate. Refreshes every 12 seconds.

A deployed on-chain version can be found live here:

https://kvyr2-jyaaa-aaaam-qbaca-cai.ic0.app/

To Setup/Launch:

git clone https://github.com/cp-daniel-mccoy/burn-calc.git
cd burn-calc
npm install
dfx start --clean --background
dfx deploy

Once deployed locally, your app should be found here:

http://127.0.0.1:8000/?canisterId=rrkah-fqaaa-aaaaa-aaaaq-cai

Planned Updates:

  • Modularize into a UI component and a separate functional component for use on websites as a plugin.
  • Addition of a rust canister that can act as an API and data logging canister to eventually create and serve past data.

Author: cp-daniel-mccoy

About

Some JS logic to calculate the network wide burn rate of ICP in minutes based off of the XDR>ICP converstion rate and the network wide cycles/s burn rate.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published