If you are using our Zerodev integration to enable Account Abstraction, you’ll need to already have the Ethereum chain enabled. If you don’t, please refer to this guide.

You will also need to install a new package, even if you already have @dynamic-labs/ethereum installed, it’s called ethereum-aa.

Then, you need to add the ZeroDevSmartWalletConnectors to the walletConnectors array in the SDK settings:

import { DynamicContextProvider } from '@dynamic-labs/sdk-react-core';
import { EthereumWalletConnectors } from '@dynamic-labs/ethereum';
import { ZeroDevSmartWalletConnectors } from '@dynamic-labs/ethereum-aa';

const App = () => (
  <DynamicContextProvider
    settings={{
      environmentId: 'XXXXX',
      walletConnectors: [ EthereumWalletConnectors, ZeroDevSmartWalletConnectors ],
      ...
    }}
  >
  </DynamicContextProvider>
);