https://github.com/Reecepbcups/validator-stats-notifs
Requested by: Oni Validator. Returns delegation stats of validated chains via webook
https://github.com/Reecepbcups/validator-stats-notifs
Last synced: 7 months ago
JSON representation
Requested by: Oni Validator. Returns delegation stats of validated chains via webook
- Host: GitHub
- URL: https://github.com/Reecepbcups/validator-stats-notifs
- Owner: Reecepbcups
- Created: 2022-08-14T20:29:27.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-22T21:16:06.000Z (over 2 years ago)
- Last Synced: 2024-04-14T22:51:05.556Z (over 1 year ago)
- Language: Python
- Size: 58.6 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-cosmos - validator-stats-notifications - Discord announcements including ranking, delegations over time, and unique delegators. (Tools / Bots)
README
# validator-stats-notifs
### Built for Oni Validator

### Steps to Run
```bash
cp secrets.example.json secrets.json
# Update WEBHOOK_URL, and your OPERATOR_ADDRESSES (oni by default)
python -m pip install -r requirements/requirements.txt
python src/validator-stats.py
OR
bash run.sh
# auto git pull latest, git intall requirements, and run
```
### If you want graphs
```
# Arch
sudo pacman -S docker
systemctl start docker
systemctl enable docker
# ensure you allow the firewall to port 722
# (to change port, edit run_docker.sh & default.conf)
cd validator-stats-notifs
bash run_docker.sh
```
### Missing a chain you want?
make a PR to the following module
```
https://github.com/Reecepbcups/python-ibc
src -> pyibc_api -> chain_apis -> CHAIN_APIS dict
Will move to cosmos.directory in the future, hardcoded for now
```