Tutorials and Examples
Basic Wallet Operations
Create a Wallet
This tutorial demonstrates how to create a new wallet using the
TMAWalletClient
.
Restore a Wallet
This tutorial shows how to restore a wallet by retrieving an existing bundle from Telegram's cloud storage.
Make a Transaction
Example of using TMAWallet to sign a transaction on the Ethereum blockchain.
Telegram Cloud Integration
Using TelegramCloudStorage: Learn how to store and retrieve data using
TelegramCloudStorage
for wallet management.
Advanced Usage
Managing Bundles: A detailed guide on using
ClientBundleController
andWalletBundleController
to create, retrieve, and clear bundles.Handling User Sessions: Best practices for managing sessions and key security across different user devices.
Session Persistence: Use Telegram's cloud storage to persist session data, ensuring that users can access their wallets across devices.
Key Security: Avoid storing sensitive keys locally. Instead, leverage MPC and TelegramCloudStorage to manage keys securely.
Session Expiry: Implement session expiry mechanisms to ensure that inactive sessions are securely terminated, reducing the risk of unauthorized access.
Last updated