Skip to content

Notification bot for Axelar EVM votes. Sends alerts when voted NO/compares the votes with the majority.

License

Notifications You must be signed in to change notification settings

Peryuz/axelar-vote-notify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

axelar-vote-notify

Axelar voter notify bot.

Setup

cd $HOME
mkdir $HOME/voter && cd $HOME/voter
wget https://raw.githubusercontent.com/Errorist79/axelar-vote-notify/main/app.py

Deps

sudo apt-get install software-properties-common -y
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.8
sudo apt-get install python3-pip -y
python3 -m pip install os-sys
python3 -m pip install requests
python3 -m pip install -U discord.py

Start

python3 app.py

Environments

TOKEN = "#PUT_YOUR_BOT_TOKEN_HERE"
query_time = #API_QUERY_TIME_SEC

If you vote against the majority, the bot can also send alerts for it. The following parameter specifies the majority percentage. For example, if you set it to 70, it will send you an alert if more than 70% of validators voted NO and you voted YES.

min_status = #Majority percentage

About

Notification bot for Axelar EVM votes. Sends alerts when voted NO/compares the votes with the majority.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%