1

Telegram Bot

Simion (a.k.a Simi) Munteanu

Last Update 4 tahun yang lalu

Prerequisites:

In order to access and use the bot you will need to have an active and valid Telegram (TG) account . 

How to use and start the bot:

In order to access the TG bot and use it certain steps need to be performed.


Open TG and in top left corner (the search section) type @TrustStakingBot (this will search for the bot).

Select "Trust Staking Agency ", the first entry from the list, that has a small robot in front of the name.

After the selection, in the bottom right corner a "START" button will appear.

Click (if you are on TG on your PC) or tap (if you are on your mobile version of TG) on "START".
This will activate the bot and "Main menu" for it will be available.


NB! If the bot doesn’t show correct information, restart it. To restart the bot just type “\start” in the chat and click/press send.

T
he sections of the menu are:
            1. Agency info

            2. My wallets

            3. Find optimal redelegation period 

            4. Subscriptions 

1. To access the Agency info you need to click/tap on "Agency info".  The following information will be shown after "More info is selected":

The bot allows you to change the agency for which you want to use it. For this click/tap "Change default agency".

After this you need to type in the chat of the bot @TrustStakingBot and part of the name of the agency. For example if we want to change the bot to be used for MGStaking, type  "@TrustStakingBot mg" and the bot will provide a list of the agencies that contain "mg" in the name. Click/tap on the name from the list and the bot will use that agency to show the stats for it.

After the selection has been made the bot will already show the information for new selected agency.

 Here is what the information represents:

        1.1 Agency: under this section you will have the agency name.

        1.2 Contract Address: this is the wallet address of the Smart Contract of the agency. To this address you are staking your eGLD's .

        1.3 Service fee: this will show in percentages the fee that the agency will deduct from the reward.

        1.4 Max delegation cap: the maximum value of eGLD that can be staked with the agency

        1.5 Nodes: this will show how many nodes the agency has, how many of them are active and how many of them are in queue and waiting to be active (above the 3200 nodes of Phase 3).

        1.6 Eligible today: indicates the number of active nodes that are validating transactions for Elrond blockchain during that Epoch. These are the nodes for which the Agency will receive rewards.


NB!

A node is part of the Elrond blockchain network (practically they are computers that are running Elrond software) . At the moment (for phase 3)  there are 3200 nodes in total. The status of a node is either eligible or in waiting. The network is divided in 4 shards (you may think of it as a sub network). On each shard there are 800 nodes. From these 800, only 400 nodes are eligible (they participate in the network by validating transactions), and 400 of them are in waiting. The eligible nodes are chosen by an algorithm at the beginning of each epoch (the epoch ends every day at 14:25 UTC). Also for security reasons, 80 nodes of the 800 from the shard, are randomly selected and moved to another shard at the end of the epoch. These nodes that are moved are added to the waiting list of the new shard.

To be able to run a node, you need to have 2500 eGLD, Linux knowledge and the required technical specifications by Elrond.

An Agency (Staking Provider) can run multiple nodes using the eGLDs that the delegators staked through a smart contract (SC) towards them.

The agency receives a reward at the end of each Epoch (at around 14:27 UTC). This reward depends on how many nodes from the total of the agency were eligible (validating transactions) in the last epoch.

Because of this the APR can have different values from day to day. One day the reward can be lower than the APR that we see on the agency dashboard, one day it can be higher than the APR from the dashboard, but if you will make an average for 365 days,for the rewards, the APR will be similar with the one from the dashboard. Also it works if you will do the average for 30 days, but is not as accurate as the 365 one.

       

        1.7 Delegators: amount of eEGLD that is above the base of 2500 eGLD.

        1.8 Total active stake: the total value of eGLD that it is staked with the agency.

        1.9 Available: the amount of eGLD that can be staked/delegated with the Agency.


NB! "Available" value is calculated by subtracting "Total active stake" from "Max delegation cap" . This value can be a positive number (this means that there is space for staking with the agency equal with the value shown in this section ) , or it can be a negative number(this means that there is no more space for staking and this also represents the value of the redelegated rewards).

        

        1.10 Top-up per node: the value if eEGLD that is seen as top-up for each node.

        1.11 APR: the Anual Percentege Return that is calculated for the delegators after the "Service fee" (point 1.3) was deducted from rewards.

        1.12 Eligible: number of active nodes that participate at consensus and validate blocks during that epoch and receive rewards (same value from 1.6).

        1.13 Waiting: number of nodes that are added as observer, to the Elrond blockchain . 
        1.14 Queued: number of active nodes in waiting that don’t produce rewards for that epoch.
        1.15 New: number of nodes that are not in active stake and don’t produce rewards for that epoch (queued nodes will disappear in phase 4).

        1.16 Jailed: number of jailed nodes.


To navigate back to initial menu, click/press "Back" button. 

2. "My wallets" section will provide information for the wallets that are added to the bot. To access this section, click/tap on "My wallets". This will bring the following information:

        2.1 To add a wallet click/press "Add wallet". Type in the wallet address (you can copy it from Maiar or from webwallet) and press enter/send.
After the wallet is created the bot will ask you to enter a label for that specific wallet and press enter/send.
After the above steps if you press "back" you will see the updated list of "My wallets".

        2.2 Check wallet information.
Select the wallet from the list and it will bring information about that specific wallet. You can see below the information for Wallet1.

Available: represent the eGLD amount that you have at the moment in the wallet.

Below this you can see the eGLD amount that you have staked with each agency (in case that you staked eGLD with more than one), the value of claimable rewards, and the total rewards (this represents the value of eGLD earned in total since you have started to stake with that agency).

"Rename" will permit to edit the label for the wallet, "Delete" will delete the wallet from "My wallets"

"Mex Calculator" will show you an approximation of the MEX that will be received. 

3. "Find Optimal redelegation period"- based on the amount staked with the agency for which the bot is running and the APR that the agency has at that moment, the bot will calculate optimum interval at which the rewards can be redelegated for maximum APR . If you redelegate too often you will use some part of your rewards since the network fee for this transaction is 0.0001355 eGLD.
Enter the amount of eGLD (it must be an integer, without comma or dot) and hit enter/send. The bot will show the interval at which the rewards can be redelegated for best APY.

4. Subscription. Here you can choose to be notified by the bot on different scenarios. 
Click/tap on "Available delegation amount to be staked" and  indicate over how much eGLD do you want to be notified about.
If you will go back you will notice that there is a green check mark in front of  "Available delegation amount to be staked" . If you will select it again now it will allow you to unsubscribe for the subscription or to change the amount for which you want to be notified about.

NB! This feature of the bot at the moment is available only for Trust Staking. The team is working to implement it for all agencies.

The alert that the bot will send you when some space is available for staking with the agency will look like bellow. 

This concludes the bot tutorial. For issues that you may have with the bot please contact the Trust Staking team on TG at https://t.me/truststaking.

Happy staking!

Was this article helpful?

1 out of 1 liked this article

Still need help? Message Us