https://img3.teletype.in/files/af/4a/af4aff76-e41b-43ea-96e5-8ee8d8544277.jpeg

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 TelegramWe can create it through @BotFather

https://img4.teletype.in/files/f4/f2/f4f28a05-2b21-418e-990a-fb02e443f312.png

Untitled

Untitled

Next, we need to find out your ID in the TelegramWe can do this through the bot @getmy_idbot

Untitled

After creating the bot, we received its API and ID, which we will need to install 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

Untitled

After setting all the parameters, we will only have to launch the bot by pressing the 2 key and pasting the command

*/1 * * * *  /bin/bash $HOME/tgbot/start.sh

https://img1.teletype.in/files/06/a0/06a0b632-f67b-4091-825a-7b33ad7adc75.png