Wallet Implementation

1. Token Accumulation on Platform

  • Earning Tokens: Users earn tokens through activities on the platform.

  • Platform Wallet: Initially, these earned tokens are credited to the user's account within the platform. These tokens are stored in a custodial wallet managed by the platform, meaning the platform holds and controls the private keys.

2. User Wallet Connection

  • Connecting a Wallet: When users want to transfer their earned tokens to their personal wallet (e.g. TON Wallet), they first need to connect their wallet to the platform. This is typically done by clicking a "Connect Wallet" button on the platform, which uses a direct TON Wallet integration.

  • Authentication: The platform verifies the connection by requiring the user to authenticate with their wallet. This step ensures that the wallet belongs to the user and that they have full control over it.

  1. Token Transfer Process

  • Initiating Transfer: After connecting their wallet, the user can initiate a transfer of their earned tokens from the platform's wallet to their personal wallet. This process involves:

    • Selecting the number of tokens they want to transfer.

    • Confirming the transfer by signing a transaction request through their connected wallet.

  • Transaction Fees: Users are provided with estimated transaction fees before they confirm actions. The platform might deduct these fees from the user's token balance or require the user to have a small amount of TON in their wallet to cover the fees. User will also be able to earn credits to avoid transaction fees by performing certain tasks.

  • Batch Transactions: Where possible, transactions are batched to reduce overall fees and improve efficiency.

  1. Blockchain Confirmation

  • Broadcasting the Transaction: Once the user confirms the transfer, the platform’s backend broadcasts the transaction to the blockchain network.

  • Transaction Validation: The blockchain network then validates the transaction, ensuring the tokens are transferred from the platform's wallet to the user's personal wallet.

  1. Token Receipt

  • Confirmation: After the transaction is confirmed on the blockchain, the tokens will appear in the user's personal wallet.

  1. Post-Transfer Management

  • User Control: Once the tokens are in the user's personal wallet, they have full control over them. The user can choose to hold, transfer, or exchange the tokens as desired.

  • No Platform Custody: After the tokens are transferred to the user’s personal wallet, the platform no longer holds control over them. The tokens are fully under the user's control.

Last updated