Skip to content

A Telegram bot for pushing notifications about Lighthouse validator performance

License

Notifications You must be signed in to change notification settings

sigp/lighthouse-tg-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lighthouse Validator Performance Telegram Bot

This repository contains a Telegram bot which will send a messages to alert users of validator activity.

Cavets

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.

Features

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.

Usage

To create a bot and obtain a telegram_token, see the [Telegram Bot Documentation].

  1. Clone this repository.
  2. cp default-config.yaml config.yaml
  3. Edit config.yaml to suit your setup.
  4. python start.py config.yaml

The bot is ready. Send it a Telegram message with /start to get started.

Notifications

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.

About

A Telegram bot for pushing notifications about Lighthouse validator performance

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages