Supported Chains/Networks

Below is a list of the supported chains/networks, but you can also view them more visually in the dashboard:

If you don’t see the chain/network you need and it’s not EVM compatible, just let us know!

  1. EVM:

We support all EVM networks. You can currently turn on the following via the dashboard (simply go to the configurations page in your dashboard and flip the toggle). For any not mentioned below, you can easily add them manually using our evmNetworks prop.

  • Arbitrum
  • Aurora
  • Avalanche C chain
  • BNB Smart Chain
  • Base
  • Berachain
  • Celo
  • Chiliz
  • Cronos
  • EON
  • Ethereum
  • Fantom
  • Gnosis
  • Moonbeam
  • Optimism
  • Palm
  • Polygon
  • Scroll
  • Zora
  • zkSync
  1. Solana
  2. Bitcoin
  3. Flow
  4. StarkNet
  5. Cosmos
  6. Algorand

Enabling a Chain/Network

To integrate a specific chain/network, you should first enable it in the dashboard. You’ll also see that you can add custom RPC URLs for each network. Each provider will use the RPC configured in the Dashboard if present, otherwise they fall back to public RPCs urls. By default, all EVM and Solana networks have public default providers as shown in this table:

NetworkPublic RPC Url
Ethereumhttps://cloudflare-eth.com
Optimismhttps://mainnet.optimism.io
Gnosis Chainhttps://rpc.gnosischain.com
Aurorahttps://mainnet.aurora.dev
Polygonhttps://polygon-rpc.com
Palmhttps://palm-mainnet.infura.io/v3/3a961d6501e54add9a41aa53f15de99b
BNB Smart Chainhttps://arb1.arbitrum.io/rpc
Solanahttps://api.mainnet-beta.solana.com

Once your chains are enabled and you’re happy with your RPC providers, you’re going to want to add the appropriate Wallet Connector to the Dynamic Context Provider that you integrated when getting started.

Each chain has it’s own wallet connector, and there are also some add on wallet connectors used to enable things like smart wallets. Follow the steps below and you’ll be up and running in no time!

1

Find the right packages

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

Package NameChainWalletConnector to include
@dynamic-labs/ethereumEVMEthereumWalletConnectors
@dynamic-labs/algorandALGOAlgorandWalletConnectors
@dynamic-labs/solanaSOLSolanaWalletConnectors
@dynamic-labs/flowFLOWFlowWalletConnectors
@dynamic-labs/starknetSTARKStarknetWalletConnectors
@dynamic-labs/cosmosCOSMOSCosmosWalletConnectors
@dynamic-labs/bitcoinBTCBitcoinWalletConnectors
EVM Addon Wallets
Package NameWhich WalletsWalletConnector to include
@dynamic-labs/magicmagicMagicWalletConnectors
@dynamic-labs/blocto-evmbloctoBloctoEvmWalletConnectors
@dynamic-labs/starknetSTARKStarknetWalletConnectors
@dynamic-labs/ethereum-aaZeroDevZeroDevSmartWalletConnectors

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

2

Install the connectors

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

npm i @dynamic-labs/ethereum @dynamic-labs/solana
3

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 = () => (
<DynamicContextProvider
    settings={{
    ...
    walletConnectors: [ EthereumWalletConnectors, SolanaWalletConnectors ],
        ...
    }}>
</DynamicContextProvider>
);

export default App;

What next?

Click here to learn how to enable chains for embedded wallets!