Update an existing project
Wagmi
If your project is using wagmi, simply upgrade wagmi to version 2.9.0
or higher. Smart Wallet is available out of the box.
Transitive dependency
If your project or its dependencies are already using
Coinbase Wallet SDK, just add the following to package.json
.
"resolutions": {
"@coinbase/wallet-sdk": "npm:@coinbase/wallet-sdk@4.0.0"
}
After doing so, remember to run install
with your package manager, e.g. pnpm install
.
Then, rebuild your project, and when you click to connect Coinbase Wallet, you will see a new
popup window with a Smart Wallet option.