Skip to content

ChihuahuaChain/UpgradesWatchdog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UpgradesWatchdog 🐶

Cosmos Chains Upgrades Watchdog

An interchain upgrades watchdog brought to you by ChihuahuaChain

Info

UpgradesWatchdog 🐶 makes it easier to follow any Software Upgrade Proposal and GitHub release of any Cosmos Blockchain. The first iteration of UpgradesWatchdog it's a rushed, working, draft. The bot uses the chain-registry data in order to search for new GitHub releases and scans Governance Voting Proposals to get SoftwareUpgrades info.

We are currently supporting and tracking the following networks on the Official Telegram Channel checking for updates every 1 hour.

  • Akash
  • Assetmantle
  • Axelar
  • Bandchain
  • Bitcanna
  • Bitsong
  • Cerberus
  • Chihuahua (obviously)
  • Comdex
  • Cosmos Hub
  • Crescent
  • Crypto.org
  • Evmos
  • Gravity-Bridge
  • Injective
  • Juno
  • Omniflix Hub
  • Osmosis
  • Passage
  • Persistence
  • Secret Network
  • Sentinel (DVPN)
  • Stargaze
  • Teritori
  • Terra
  • Terra 2
  • Umee

If you need us to follow a specific network, feel free to open a PR

Todo

This code is currently a draft and rushed in to "just work". There is a lot more to add and polish, twitter? discord? The more, the better! Some networks are giving us headache because they don't properly release software on GitHub or because of faulty endpoints.

  • Release Source Code
  • Added multiprocessing
  • Add Twitter Notifications
  • Add Discord Notifications
  • Add image generation notifications

Installation

  • Clone the repository
git clone https://github.com/ChihuahuaChain/UpgradesWatchdog
  • Install dependencies
cd UpgradesWatchdog\
pip3 install GitPython pycosmicwrap pygithub pillow
  • Edit the configuration variables on the watchdog.py

    • github_token = "YOUR_GITHUB_TOKEN"
    • telegram_token = "TELEGRAM_BOT_TOKEN"
    • telegram_notification = ["TELEGRAM_ID_1", "TELEGRAM_ID_2"]
    • supported = ["chihuahua", "osmosis", "bitcanna"]
    • use_image = True | False
  • Launch it

    • python3 watchdog.py

If you want to automatically run it at any given time, use crontab.

Donate

We don't seek for donations, but you can say Thank You for our work by delegating to our validators and by sharing this project on Twitter

License

ChihuahuaChain/UpgradesWatchdog is licensed under the GNU General Public License v3.0