Overview
This guide covers how wallets are created and managed with the Dynamic Swift SDK. Wallets are automatically created for users after authentication when embedded wallets are enabled in your Dynamic developer console.
Prerequisites
Automatic Wallet Creation
When embedded wallets are enabled, wallets are automatically created for users after they authenticate. You don’t need to manually create wallets - the SDK handles this for you.
Listening for Wallet Creation
Use the userWalletsChanges publisher to know when wallets are ready:
Displaying Wallets
Wallet Types
The SDK supports multiple wallet types:
EVM Wallets
For Ethereum and EVM-compatible chains (Polygon, Base, Arbitrum, etc.):
Solana Wallets
For Solana blockchain:
Wallet Properties
Each BaseWallet has the following properties:
Setting Primary Wallet
You can set a wallet as the user’s primary wallet:
Multi-Chain Support
When you have both EVM and Solana enabled in your dashboard, users will automatically get wallets for both chains:
Complete Example with Timeout Handling
Handle cases where wallet creation might take time or fail:
Next Steps
After wallets are created, you can:
Last modified on September 21, 2026