Monitor DAO proposals & voting activity across Uniswap, Aave, Compound, MakerDAO & Gitcoin with real-time Telegram alerts β powered by Snapshot API + Tally API.
DAO governance tracking monitors on-chain and off-chain voting proposals from decentralized protocols β helping DeFi participants stay informed about protocol changes before they pass and affect token prices or protocol rules.
This bot tracks governance using:
- πΈ Snapshot API β free off-chain governance data (no API key needed)
- π³οΈ Tally API β on-chain Governor Bravo proposals
- ποΈ 5 Major DAOs β Uniswap, Aave, Compound, MakerDAO, Gitcoin
- π Active Proposals β fetch open voting proposals per DAO
- π³οΈ Vote Breakdown β For/Against/Abstain with percentage bars
- π New Proposal Alerts β instant Telegram alert on new proposals
β οΈ Deadline Alerts β notify when voting ends in < 24 hours- π DAO Summary β followers, total proposals, votes stats
- π₯ Top Voters β see who voted and how
- π Top Active β all active proposals sorted by urgency
- π‘ Auto Monitor β background polling every 5 minutes
- π€ Telegram Bot β 9 interactive commands
pip install requestsOpen dao_governance_tracker.py and configure:
TELEGRAM_TOKEN = "your_telegram_bot_token"
TELEGRAM_CHAT_ID = "your_chat_id"No additional API keys needed β Snapshot API is free and open!
python dao_governance_tracker.pypython dao_governance_tracker.py check uniswap
python dao_governance_tracker.py check aave| Command | Description |
|---|---|
/gov_proposals <dao> |
Active proposals for a DAO |
/gov_proposal <id> |
Proposal detail + top voters |
/gov_add <dao> |
Add DAO to watchlist |
/gov_remove <dao> |
Remove DAO from watchlist |
/gov_list |
Show watched DAOs |
/gov_summary <dao> |
DAO overview & stats |
/gov_daos |
List all available DAOs |
/gov_monitor on/off |
Toggle auto monitoring |
/gov_top |
All active proposals by urgency |
π¦ Uniswap Governance
ββββββββββββββββββββββ
π Deploy Uniswap V3 on X Chain
π’ Status : ACTIVE
π‘ Source : Snapshot
π€ Author : 0x1a2b3c...
π Vote Breakdown:
- For ββββββββββ 78.4%
- Against ββββββββββ 18.2%
- Abstain ββββββββββ 3.4%
π Leading: For (78.4%)
π― Quorum : 82.3%
β° Ends in : 2d 14h
π³οΈ Votes : 1,247
π View Proposal
| Alert | Trigger |
|---|---|
| π New Proposal | New active proposal detected |
| Voting ends in < 24 hours |
dao_governance_tracker.py
βββ SnapshotClient β Snapshot GraphQL API (off-chain)
β βββ get_proposals() β fetch active/closed proposals
β βββ get_proposal_detail() β single proposal full data
β βββ get_votes() β top voters per proposal
β βββ get_space_info() β DAO followers & stats
βββ TallyClient β Tally GraphQL API (on-chain)
β βββ get_proposals() β Governor Bravo proposals
βββ GovernanceAnalyzer β Core tracking engine
β βββ fetch_proposals() β fetch + format for one DAO
β βββ fetch_all_watched() β scan all watched DAOs
β βββ check_new_proposals() β detect unseen proposals
β βββ check_ending_soon() β detect deadline < 24h
β βββ get_dao_summary() β DAO stats overview
βββ GovernanceBot β Telegram bot with 9 commands
βββ _monitor_loop() β background polling thread
| Source | Usage |
|---|---|
| Snapshot API | Off-chain governance (no API key) |
| Tally API | On-chain Governor proposals |
| DAO | Token | Governance Type |
|---|---|---|
| π¦ Uniswap | UNI | Snapshot + Governor Bravo |
| π» Aave | AAVE | Snapshot + Aave Gov V2 |
| π¦ Compound | COMP | Snapshot + Governor Alpha |
| MKR | Snapshot + DSChief | |
| π± Gitcoin | GTC | Snapshot + Governor Bravo |
| Variable | Default | Description |
|---|---|---|
POLL_INTERVAL |
300s | How often to check proposals |
DEADLINE_ALERT_HOURS |
24h | Hours before deadline to alert |
MIN_QUORUM_ALERT |
50% | Quorum percentage to alert |
This tool is for informational purposes only. Always do your own research before participating in governance votes.
requests>=2.28.0
No Web3.py required β uses REST/GraphQL APIs only!
Rizal β @rizalcodes
Building Web3 tools with Python πβοΈ
MIT License β free to use, modify, and distribute.