Telegram Bot for registration new generators
Last updated
Last updated
To register a new generator on the QRNG platform, you need to go to the telegram bot.
Click the start button "Start" You will see a "Welcome" message
Click on the /reg link or enter it in the rune. The Telegram bot will prompt you to enter the account name on the network
The name must consist of 12 lowercase Latin characters and numbers 1-5. If you enter it incorrectly, you will receive an error message. If you enter incorrectly, you will receive an error message and be returned to the beginning of the dialogue.
After entering the correct account name, the bot will check if such an account exists on the network, if such an account does not exist, the bot will ask if you want to create such an account. If the account exists, the account creation stage will be skipped and the bot will proceed to registering a new generator.
if you click NO, you will be returned to the beginning of the dialogue.
If you click YES, you will be asked to enter a public key to create an account. You can create a public key in 2 ways:
via the website https://eosauthority.com/generate_eos_private_key
via the cleos command line if you have the EOSIO package installed to run the node
After entering the key, you need to wait until the bot creates an account and sends 4 messages
Now you need to get the certificate from the device in the command line (the command is specified in the messages) or copy it from the device registration console.
Example certificate format: 6a959d1f02eead1df514d45a407a2b9c1ddabb4b7de0974a0e8208e60b2036cc54047b26b6dcacfe996ec68bf0d7a7b4ba74a7262a039fb6a59523b87e2a66d4
Let's enter the specified certificate into the chatbot and wait until the bot checks the validity of the certificate and registers the new generator in the network.
In case of errors, it will display messages and return to the beginning of the dialog.