This repository is a bot to monitor Cosmos-based validator proposals and alert on telegram channel
This bot uses the chain LCD to query:
- The active proposals list on a chain
- Alerts as a new proposal arrives and sends the details to a telegram chat.
- Checks if a validator has voted for any of the active proposals or not.
- It also has a feature to send scheduled integrated reports to a telegram chat about the status of a specific validator's votes on active proposals of a specific chain. (The default config sends daily report at 8:00 UTC and can be changed on the etc/crontab file)
- Open telegramBot.py and enter the details of your telegram bot id and channel ids in the variables.
- Open config.cfg and replace your Chain LCDs and validator addresses that you want to monitor
Using docker-compose:
- To access the challenges, you need docker and docker-compose installed.
- Clone the repository
git clone https://github.com/prism-finance/validator-monitoring-bot
- Open the main directory of the project (where docker-compose.yml file exists) and run:
docker-compose up -d