@dynamic-labs-sdk/client and its chain and feature packages. Everything here works in any JavaScript environment: React, React Native, Vue, Svelte, or plain JavaScript.
Before calling anything on this page, create a Dynamic client and initialize it.
Looking to get something running instead? Start with the JavaScript quickstart, the React quickstart, or the React Native quickstart.
Client
Create the client, listen for events, and manage the signed-in user.Creating a Dynamic Client
createDynamicClient and its options.Initializing the Dynamic Client
Start the client and restore an existing session.
Adding Extensions
Add chain and feature modules to the client.
Events Catalog
Every event the client emits, with
onEvent and offEvent.JWT Scopes & Access Lists
Read scopes from the session token.
Delete User Account
Remove a user and their embedded wallets.
React
Hooks for reading client state in React and React Native.React Hooks
The hooks package and setup.
React Hooks Catalog
Every hook, with its return type.
How React Hooks Work
Reactivity model and re-render behavior.
Wallets
Chain-agnostic operations that work across every connected wallet.Getting Wallet Accounts
List the accounts available to the signed-in user.
Getting Native Balance
Native gas balance for the active network.
Getting Token Balances
Token balances for one chain, or across many.
Signing a Message
Sign an arbitrary message with any wallet.
Switching Active Network
Change network, and add one.
Getting Transaction History
Past transactions for a wallet account.
Connecting and Verifying a Wallet
Connect an external wallet and prove ownership.
Hardware Wallet Support
Ledger and Trezor through the same interface.
Chains
Each chain ships as its own extension. Add the extension, then call the chain’s functions.EVM
Viem clients, EIP-712, EIP-5792, EIP-7702, fee estimation.
Solana
Connections, signing, sending, simulation.
Bitcoin
PSBTs and Bitcoin signing.
Sui
Sui transactions and signing.
TON
TON transactions and signing.
Aptos
Aptos transactions and signing.
Tron
Tron transactions and signing.
Stellar
Stellar transactions and signing.
Starknet
Starknet transactions and signing.
Gas sponsorship
EVM Gas Sponsorship
Native sponsorship, and sendSponsoredTransaction.
SVM Gas Sponsorship
Sponsored transactions on Solana.
ZeroDev (ERC-4337)
Smart accounts through ZeroDev.
Wallet as a Service
Server-backed embedded wallet operations.
Money movement
Swaps
getSwapQuote, executeSwapTransaction, getSwapStatus.Earn
List vaults, deposit, withdraw, claim rewards.
Business accounts
Business Accounts
Shared wallets with their own signers and roles.
Creating Extensions
Build your own extension against the client.