Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 669 Bytes

README.md

File metadata and controls

35 lines (28 loc) · 669 Bytes

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