Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 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 (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-22T21:16:06.000Z (over 1 year ago)
- Last Synced: 2024-04-14T22:51:05.556Z (8 months 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
README
# validator-stats-notifs
### Built for Oni Validator![image](https://github.com/Reecepbcups/validator-stats-notifs/assets/31943163/93e6988d-3dc9-410a-b889-72743ea9a070)
### 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.pyOR
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 dictWill move to cosmos.directory in the future, hardcoded for now
```