This project visualizes the inflation of Zcash over time, including the impact of the ZIP 234 proposal. The chart highlights Zcash inflation trends, halvings, and the projected inflation curve as per ZIP 234.
- Baseline Zcash Inflation Curve: Plots the current inflation curve.
- ZIP 234 Inflation Curve: Shows the inflation adjustment after ZIP 234.
- Halving Indicators: Highlights key halving dates with vertical dashed lines.
- Annotations: Includes percentage annotations at significant points.
- Python 3.7 or higher
- Required libraries:
pandas
numpy
matplotlib
openpyxl
(for Excel support)
-
Clone the repository:
git clone https://github.com/ruzcash/zcash-inflation-visualizer.git cd zcash-inflation-visualizer
-
Set up a virtual environment:
python -m venv venv source venv/bin/activate # On Windows, use venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
- Ensure the
zcash_inflation_data.xlsx
file is in the project directory. - Run the script:
python zcash_inflation_plot_english.py
- The script will generate and display the Zcash inflation chart.
- zcash_inflation_plot_english.py: Python script for generating the inflation chart.
- zcash_inflation_data.xlsx: Excel file containing the inflation data.
- requirements.txt: List of dependencies.
zcash-inflation-visualizer/
│
├── zcash_inflation_plot_english.py # Main Python script
├── zcash_inflation_data.xlsx # Data source file
├── requirements.txt # Dependencies
└── README.md # Project documentation
This project is licensed under the MIT License.
- Matplotlib and Pandas Libraries: For enabling data visualization and analysis.
For questions or feedback, please contact [[email protected]].