Skip to content

tellor-io/block-height-monitor

Repository files navigation

Block Height Monitor

This is a simple script / bot that compares the web3 BlockNumber of two different nodes. The bot will send an alert (discord message) if the two nodes' block numbers don't match, or if one of the nodes is catching up.

Clone repo and cd

git clone https://github.com/tellor-io/block-height-monitor
cd block-height-monitor
mv .env.example .env

Setup

python3 -m venv venv
source venv/bin/activate
pip install -e .

Usage

Add your rpc and webhook urls to .env file. Update the INTERVAL to your desired frequency.

To begin monitoring block height

monitor

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages