Skip to content

Simple function that detects decreasing ETH/Gnosis validator's balance and alerts the user.

Notifications You must be signed in to change notification settings

NethermindEth/validators-alerting-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

validators-alerting-service

Simple function that detects decreasing ETH/Gnosis validator's balance and alerts the user.

Requirements

  • Python 3+
  • pip3

.env file content

NETWORK=mainnet # Network Name
DATABASE=validators.db # Local or remote DB name/url
BEACON_URL=http://localhost:3500 # Comma separated list of beacon nodes
MISSED_ATTESTATIONS_ALLOWANCE=3 # Maximum amount of missed attestation before triggering an alert
TABLE_NAME=mainnet_validators # Name of the table in database
OPSGENIE_KEY=string # API Key for OpsGenie alerting service
OPSGENIE_TEAM_ID=string # Id of the routing team
SPREADSHEET=url # Just a reference to the dashboard/file with validators lookup
VALIDATORS=1111,1112 # String of comma separated validator indexes

Installing packages

pip3 install -r requirements.txt

Running the script

python3 main.py

About

Simple function that detects decreasing ETH/Gnosis validator's balance and alerts the user.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages