Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 8 days ago
JSON representation

Requested by: Oni Validator. Returns delegation stats of validated chains via webook

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.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
```