Skip to main content

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 dashboard.

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:
For complete wallet management API documentation including all available methods, see the Wallet Management Reference.

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 June 24, 2026