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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

cc3363c · Nov 8, 2023

History

22 Commits
Nov 8, 2023
Dec 12, 2022
Nov 27, 2022
Nov 27, 2022
Nov 8, 2023
Nov 28, 2022
Feb 20, 2023
Feb 20, 2023
Nov 8, 2023
Nov 8, 2023
Feb 20, 2023
Feb 20, 2023

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