Bot Workflow and User Interactions
The workflow of the Telegram bot is designed to provide a seamless user experience, enabling interaction with the blockchain without leaving the Telegram app.
Wallet Management
Importing a Wallet:
User initiates the import process via
/startorimport-wallet.The bot prompts for a private key or mnemonic phrase.
Upon successful import, the wallet is stored securely in the session.
Viewing Wallet Information:
Users can view their wallet address using the
show-walletaction.The bot retrieves and displays the wallet address stored in the session.
BTS Contributions and Withdrawals
Contributing to BTS:
User triggers the
/contributetobtscommand.The bot validates the input and wallet, then processes the transaction.
If successful, the bot confirms the contribution with a transaction hash.
Withdrawing from BTS:
User initiates the
/withdrawcommand.The bot handles the approval and withdrawal processes.
The transaction result is provided to the user.
Real-Time Token Data
Trending Tokens:
The user selects
trending-tokensto view the top-performing tokens.The bot fetches and displays data from the backend.
Losing Tokens:
The
loosing-tokensaction shows tokens that have lost value.The bot retrieves and formats this data for the user.
Advanced User Interactions
Checking Contributed BTS:
The bot can display detailed information about the BTS the user has contributed to.
This includes performance data, token value, and links to detailed views.
Retrieving User BTS Data:
Users can access comprehensive data about their investments.
The bot provides formatted reports, helping users make informed decisions.
Last updated