This is a simple Flask web application that monitors the uptime of multiple Avalanche validators using data from Avascan.
- Fetches validator uptime dynamically
- Displays validator details including:
- Name
- Location
- Uptime percentage
- Stake from self
- Stake from delegations
- Auto-refresh every 5 seconds
- Python 3.7+
- pip
git clone https://github.com/your-repo/avalanche-validator-dashboard.git
cd avalanche-validator-dashboard
pip install -r requirements.txt
python app.py
Once the server is running, open:
http://127.0.0.1:5000/
/your_project/
├── app.py # Main Flask application
├── requirements.txt # Required dependencies
├── static/ # Static files (e.g., favicon)
│ ├── avax.ico # Optional favicon
├── templates/ # HTML templates
│ ├── dashboard.html # Main dashboard UI
└── README.md # Project documentation
This app fetches data from:
https://api.avascan.info/v2/network/mainnet/staking/validations?nodeIds=<NODE_IDS>&status=active
MIT License
Feel free to submit issues and pull requests!
Made with ❤️ for Avalanche node operators! 🚀