This repository contains a Telegram bot which will send a messages to alert users of validator activity.
This project is under-development and not production-ready.
Presently, this only works with Lighhouse on PR #2416. No other clients are supported at this stage.
This bot is based off the timerbot.py example and provides:
- A password-protected
/subscribe
method. - Persistence between process instantiations via DictPersistence.
- Interval-based polling of a Lighthouse Beacon Node.
To create a bot and obtain a telegram_token
, see the [Telegram Bot Documentation].
- Clone this repository.
cp default-config.yaml config.yaml
- Edit
config.yaml
to suit your setup. python start.py config.yaml
The bot is ready. Send it a Telegram message with /start
to get started.
The current notifications are provided:
- When a validator casts a head-vote which does not align with the majority-voted head.
- When a validator is active but fails to have an attestation included.