Skip to main content
The SDK provides a comprehensive API for creating, retrieving, and managing wallets. All wallet operations follow a three-step pattern.

Creation pattern

The SDK uses a three-step pattern for creating wallets, providing fine-grained control over key management and wallet configuration:
  1. Create a signer: generate or import cryptographic keys
  2. Create an adapter: configure wallet version and network settings
  3. Add the wallet: register the wallet with the SDK

Creating wallets from mnemonic

Import an existing wallet from a mnemonic:

Creating wallets from secret key

For externally managed keys:

Wallet versions

The SDK supports multiple wallet contract versions: V5R1 and V4R2. 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:
Get a specific wallet by an address:

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