Telegram Bot for validator DeFund
In this article, we will tell you how the telegram bot for the validator works, what functions it has and how to configure it
The first thing we need to do is create a bot in Telegram
We can create it through @BotFather
Next, we need to find out your ID in the Telegram
We can do this through the bot @getmy_idbot
After creating the bot, we received its API and ID, which we will need to install it in the script parameters
curl -s https://raw.githubusercontent.com/nodersteam/cosmostestnet/main/tgbot/parametrs > parametrs.sh && chmod +x parametrs.sh && ./parametrs.sh
Run the parameter setting script
After setting all the parameters, we will only have to launch the bot by pressing the 2 key and paste command
*/1 * * * * /bin/bash $HOME/tgbot/start.sh
Enter the periodic launch command in Cron and we test with a simple installation of the validator for a few seconds
In a few seconds you will receive an alert on your phone
Using this bot you will be able to protect yourself from the fall of your node for a long time
What the bot is tracking:
Thank you for your attention and enjoy using it! Uptime is our everything👌