Skip to content

Using with Smart Wallet with Wagmi

This guide covers creating a new Wagmi template project that uses Smart Wallet.

Run the following command and proceed through the prompts.

npm
npm create wagmi

In your new project directory, add the following to package.json.

"resolutions": {
  "@coinbase/wallet-sdk": "npm:@coinbase/wallet-sdk@4.0.0-beta.12"
}

Now install packages with your package manager and run dev.

npm
npm install && npm run dev

Visit localhost:3000 and click the "Coinbase Wallet" button.