Automated tool that monitors your staked validators across Bittensor subnets and emails you when a better APY validator takes the #1 spot.
- Checks every subnet you're staked on daily
- Compares your validator's 30-day APY against the current #1
- Sends you ONE summary email if any validator is outperforming yours by 1%+
- Rate limit safe (13 second delay between API calls)
- Python 3
- A VPS or server running 24/7 (recommended: RackNerd ~$15/year)
- A Gmail account
- A free TaoStats API key
git clone https://github.com/RadoTSC/validator-apy-alerts.git
cd bittensor-validator-alertspip install requests- Go to https://dash.taostats.io/api-keys
- Click "Add an API Key"
- Copy your key
- Go to https://myaccount.google.com
- Security
- Enable 2-Step Verification (if not already on)
- Search "App passwords"
- Select app: Mail, Device: Other (type "VPS")
- Click Generate
- Copy the 16-character password
cp validator_config_template.py validator_config.py
nano validator_config.pyFill in your details:
GMAIL_ADDRESS = "youremail@gmail.com"
GMAIL_APP_PASSWORD = "xxxx xxxx xxxx xxxx"
EMAIL_RECIPIENTS = ["youremail@gmail.com"]
TAOSTATS_API_KEY = "your-taostats-key-here"
MY_VALIDATORS = {
93: "your_validator_hotkey_here",
# add more subnets below:
# 21: "your_hotkey_here",
# 45: "your_hotkey_here",
}
APY_THRESHOLD_PERCENT = 1.0To find your validator hotkey: go to https://taostats.io, find your validator on each subnet, copy the SS58 hotkey.
python3 check_validators.pyYou should see each subnet checked and receive an email if any validator is outperforming yours.
crontab -eAdd this line:
0 9 * * * cd /path/to/bittensor-validator-alerts && /usr/bin/python3 check_validators.py >> vali-alerts.log 2>&1
check_validators.py # Main script (run this)
validator_tracker.py # Handles API calls to TaoStats
validator_config_template.py # Config template (copy and fill in)
validator_config.py # Your config (NOT pushed to GitHub)
.gitignore # Keeps your config private
Rado from Trend Setter Capital YouTube: https://www.youtube.com/@RadoTSC Twitter/X: https://x.com/RadoTsc