Upgrade from Web3Wallet to WalletKit for Web
Upgrade to Reown WalletKit
This document outlines the steps to migrate from the old @walletconnect/web3wallet
package to the new @reown/walletkit
packages in your project.
Step 1. Update your package.json
Replace your existing @walletconnect/web3wallet
dependency with @reown/walletkit
:
Step 2. Install @reown/walletkit
Run npm install
(or your preferred package manager command) to install the new package.
Step 3. Update your imports
Replace the imports in your project:
and your initialization to use the new package:
If you’re using additional imports from @walletconnect/web3wallet
, you can replace them with their corresponding version from @reown/walletkit
such as:
You’re all set!
Final Notes
Was this page helpful?