Skip to main content

Installation

Initialize the SDK

Testnet contract addresses (WASM hashes, verifier addresses, policy addresses) are available in the demo .env.example.

Create a Wallet

Prompt the user to register a passkey and deploy a new smart account:

Connect to an Existing Wallet

On subsequent page loads, silently restore a session or prompt for passkey selection:

Sign and Submit a Transaction

Transfer Tokens

For simple token transfers, use the transfer shortcut:

Disconnect

Full Example

Next Steps

Configuration

Full list of SDK initialization options.

SmartAccountKit API

Explore all available methods.

Storage Adapters

Choose the right storage backend for your app.

Multi-Sig

Set up threshold and weighted multi-signer flows.