What is Smart Account Kit?
Smart Account Kit is a TypeScript SDK that makes it easy to build wallet-aware applications on Stellar/Soroban using OpenZeppelin’s smart account contracts. It handles the complexity of WebAuthn passkey authentication, session persistence, and multi-signer flows so you can focus on building your app.Key Features
Passkey Authentication
Create and manage smart wallets secured by WebAuthn passkeys - no seed phrases required.
Session Management
Automatic session persistence for seamless reconnection across page loads.
Multiple Signer Types
Support for passkeys (secp256r1), Ed25519 keys, and policy signers.
Context Rules
Fine-grained authorization control for different operations.
Policy Support
Threshold multisig, spending limits, and custom policies.
Storage Adapters
Flexible credential storage with IndexedDB, localStorage, or custom backends.
How It Works
Smart Account Kit wraps the on-chain smart account contract with ergonomic TypeScript APIs:- Create - Register a passkey and deploy a smart account contract on Stellar
- Connect - Restore a session or prompt the user to select a passkey
- Sign & Submit - Sign transactions via WebAuthn and submit to the network
- Manage - Add/remove signers, create context rules, and attach policies
Architecture
Next Steps
Quick Start
Get up and running in minutes.
Configuration
Explore all SDK initialization options.