Initialize the WalletKit before managing wallets. See the initialization guide for details.
Creation pattern
The SDK uses a three-step pattern for creating wallets, providing fine-grained control over key management and wallet configuration:- Create a signer: generate or import cryptographic keys
- Create an adapter: configure wallet version and network settings
- Add the wallet: register the wallet with the SDK
Creating wallets from mnemonic
Import an existing wallet from a mnemonic:Always store mnemonic phrases securely using platform-specific encrypted storage. Never store them in plain text or as part of the code.
Creating wallets from secret key
For externally managed keys:Wallet versions
The SDK supports multiple wallet contract versions: V5R1 and V4R2.V5R1 (Recommended)
The latest wallet version with improved features and gas optimization:V4R2 (Compatible)
Widely supported legacy version:Retrieving wallets
Get all wallets managed by the SDK:Removing wallets
Remove a single wallet:Next steps
Handle events
Learn how to handle dApp connections and other events
Retrieve wallet data
Get balances, Jettons, and NFTs