This bot is deprecated in favor of the SubVT Telegram Bot, a migration effort proudly supported by the Web3 Foundation Grants Program, initially proposed in the issue #9 on this repository.
You can find the SubVT Polkadot Bot available for chat here, and the Kusama bot here. If you'd like to transfer your validators from the 1KV Bot to the SubVT Bot, just run the /migrate command on the 1KV Bot and follow the instructions.
This bot will soon be migrated to use the SubVT (Substrate Validator Toolkit) backend, become SubVT (Substrate Validator Toolkit) Telegram Bot and support all validators of Polkadot and Kusama. The migration effort is proudly supported by the Web3 Foundation Grants Program. You may find more about SubVT on the initial Kusama Treasury spending proposal along with the milestones 1-3 progress, also please take a look at the SubVT top-level repository for more documentation.
A telegram bot for the validators enrolled in the Polkadot and Kusama Thousand Validators Programme. You may find Polkadot bot available for chat at https://t.me/polkadot_1kv_bot, and the Kusama bot at https://t.me/kusama_1kv_bot.
This bot helps the node operators enrolled in the Kusama and Polkadot 1KV Programme to get information and notifications about their validators. Operators can view validator information and staking rewards reports, and receive notifications when the validator:
- 🔴 goes offline or 🟢 comes back online
- ⭐️ receives a new nomination
- 🥶 submits a chill extrinsic
- 🆘 commits an offline offence
- 📈 gains or 📉 loses rank
- 🚀 enters or ⏸ leaves the active validator set
- 🔑 updates session keys
- ⛓ produces a block
- 💰 has unclaimed rewards for the past era or in the last 4 days
- ❗ becomes out of date or gets 🆙 to date
- ✅ is valid for 1KV or ❌ becomes invalid
- and more...
-
First go through the Telegram Bot API documentation and get your bot registered.
-
Get a local or remote MongoDB instance running.
-
Rename
.env.sampleto.envin the root direcotry, and change the variables according to your environment. -
Rename
assets/fonts/fonts.conf.sampletoassets/fonts/fonts.conf, and change the variables according to your environment. -
npm install -
node app.js --network=polkadotfor the Polkadot 1KV, ornode app.js --network=kusamafor the Kusama 1KV. -
Start a chat with the bot, and
/adda validator to the chat. -
Open the Mongo CLI, select the database and create a text index on the
namefield of thevalidatorscollection using the Mongo CLI. Example below assumes your database name is configured to bekusama_1kv_botin the.envfile in your root directory:First select the database:
use kusama_1kv_botThen create the index:
db.validators.createIndex( { name: "text" } )
/aboutdisplay version and developer info/helpdisplay all commands/addstart the process of adding a validator to the chat/removestart the process of removing a validator from the chat/validatorinfo(or/vi) view the details of any of the added validators/rewardsview the monthly rewards chart for a validator or any other address/stakinginfodisplay self, active and inactive stake amounts for a validator/settingsconfigure the bot
Don't forget to turn on push notifications for Telegram to receive alerts about your validator.
🎉 Happy validating, and you're much welcome to nominate our validators:
- Kusama
GC8fuEZG4E5epGf5KGXtcDfvrc6HXE7GJ5YnbiqSpqdQYLg - Polkadot
123kFHVth2udmM79sn3RPQ81HukrQWCxA1vmTWkGHSvkR4k1

