Our main SDK package @dynamic-labs/sdk-react-core does not automatically include all the available supported wallets and their libraries. This is to reduce bundle size and allow you to choose which wallets you want to support.

Choosing the right package(s)

Below is a list of all the available wallet connectors and their corresponding packages.

Package NameChainWalletConnector to include
EVM Addon Wallets
Package NameWhich WalletsWalletConnector to include

EthereumWalletConnectors (@dynamic-labs/ethereum) also includes all EVM compatible chains including layer 2’s i.e. Base as well as Dynamic Embedded Wallets. Learn more about WalletConnectors here.



Install the right Connectors

Install 1 or more wallet connectors from the packages listed above. Here is an example for Ethereum and Solana:

npm i @dynamic-labs/sdk-react-core @dynamic-labs/ethereum @dynamic-labs/solana

Add the connectors to DynamicContextProvider

Add to an array in your settings under walletConnectors. Here is an example for Ethereum and Solana:

import { DynamicContextProvider, DynamicWidget} from '@dynamic-labs/sdk-react-core';
import { EthereumWalletConnectors } from '@dynamic-labs/ethereum-all';
import { SolanaWalletConnectors } from '@dynamic-labs/solana-all';

const App = () => (
    walletConnectors: [ EthereumWalletConnectors, SolanaWalletConnectors ],
    <DynamicWidget />

export default App;