Create and Initialize the Dynamic Client
First, install the client package and create a Dynamic Client with your environment ID.Add chain extensions for every chain you want to support
Install and add the extension for each chain you want in your adaptor. Each guide covers installation and how to add that chain’s extension.| Chain | Guide |
|---|---|
| EVM | Adding EVM Extensions |
| Solana | Adding Solana Extensions |
| WalletConnect (EVM & Solana) | WalletConnect Integration |
| Bitcoin | Adding Bitcoin Extensions |
| Tron | Adding Tron Extensions |
| Starknet | Adding Starknet Extension |
| Aptos | Adding Aptos Extension |
| Sui | Adding Sui Extension |
getAvailableWalletProvidersData() (below) includes every wallet provider from every extension you added.
Enable those chains in the dashboard
In the Dynamic dashboard, enable each chain you added an extension for (e.g. EVM, Solana, Bitcoin). Available options match the chain extensions above.Fetch available wallet providers (your adaptor’s options)
UsegetAvailableWalletProvidersData to get the full list of wallet providers your adaptor can offer. It includes every chain–wallet combination from the extensions you added (e.g. metamaskevm, metamasksol, phantomevm, phantomsol).
Display wallet options in your UI
Each wallet provider includes metadata (display name, icon). Use it to build your wallet selection UI (buttons, list, or modal).Connect and verify
When the user picks a wallet from your adaptor UI, use one of these methods. The JS SDK supports three flows depending on when you want verification to occur.1. Connect and verify in one step
The wallet account is only added after a successful verification signature. Use this for login/signup flows.2. Connect without verifying
The wallet account is added to the session but not yet associated to a Dynamic user. Use this to defer verification.3. Verify a previously connected account
Verify a wallet that was connected but not yet verified. This associates it with a Dynamic user.Get all connected wallet accounts
Retrieve every wallet account the user has connected (across all chains) usinggetWalletAccounts.