@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 Name | Chain | WalletConnector to include |
|---|---|---|
| @dynamic-labs/ethereum | EVM | EthereumWalletConnectors |
| @dynamic-labs/algorand | ALGO | AlgorandWalletConnectors |
| @dynamic-labs/solana | SOL | SolanaWalletConnectors |
| @dynamic-labs/flow | FLOW | FlowWalletConnectors |
| @dynamic-labs/starknet | STARK | StarknetWalletConnectors |
| @dynamic-labs/cosmos | COSMOS | CosmosWalletConnectors |
| @dynamic-labs/bitcoin | BTC | BitcoinWalletConnectors |
EVM Addon Wallets
| Package Name | Which Wallets | WalletConnector to include |
|---|---|---|
| @dynamic-labs/magic | magic | MagicWalletConnectors |
| @dynamic-labs/blocto-evm | blocto | BloctoEvmWalletConnectors |
| @dynamic-labs/starknet | STARK | StarknetWalletConnectors |
| @dynamic-labs/ethereum-aa | ZeroDev | ZeroDevSmartWalletConnectors |
Implementation
1
Install the right Connectors
Install 1 or more wallet connectors from the packages listed above. Here is an example for Ethereum and Solana:
2
Add the connectors to DynamicContextProvider
Add to an array in your settings under
walletConnectors. Here is an example for Ethereum and Solana: