This project visualizes the PHA (Phala Network's token) distribution over time, following a specific halving schedule as part of the Gemeni Tokenomics for compute reward including both Phala and Khala tokens.
- A line graph that displays daily rewards based on a specific halving algorithm.
- Interactive tooltip that shows the exact reward amount for a specific day upon hover.
- Neat visual elements and design, with a focus on user experience.
-
Clone the repository:
git clone <repository-url>
-
Open the
index.html
file in your browser.
- D3.js: For creating and manipulating the graph.
The graph models the token distribution of PHA over a ten-year period. Every 180 days, the daily rewards decrease, representing a "halving" in the context of blockchain token distribution: https://docs.phala.network/compute-providers/basic-info/worker-rewards
Phala / Khala | |
---|---|
Relaychain | Polkadot/ Kusama |
Budget for Mining | 700 mln |
Halving Period | 180 days |
Halving Discount | 25% |
Treasure Share | 20% |
First Month Reward | 21.6 mln |
The rewards and days are computed and then plotted using D3.js to provide a visual representation.
Interested in contributing? Check out our CONTRIBUTING.md
for guidelines.
This project is open source, under the MIT License.