Setup
Add the WalletConnect EVM extension to enable WalletConnect for EVM chains. Call this once during app initialization, after creating your Dynamic client.Connecting wallets
connectWithWalletConnectEvm
Connects to a WalletConnect wallet without automatic verification. Returns a URI to display (QR code or deep link) and an approval promise that resolves when the user approves.Displaying a QR code
Using deep links on mobile
Use the WalletConnect catalog to get wallet deep links:connectAndVerifyWithWalletConnectEvm
Connects and verifies wallet ownership in one step. Uses WalletConnect authentication when supported; otherwise connects first, then verifies.Handling user actions
ThewalletConnectUserActionRequested event fires when a user action is required after a WalletConnect request (e.g., signing a message, switching network). Use this to trigger deep links or prompt the user to check their wallet app.
Listening to wallet events
After connecting, use wallet provider events to track account and network changes:Complete example
Error handling
Type definitions
Related functions
- WalletConnect Catalog - Get wallet metadata, deep links, and download URLs
- Wallet Provider Events - Listen for account and network changes
- Getting Available Wallets to Connect - List available wallet providers
- Connecting and Verifying a Wallet - Standard wallet connection methods
- Adding EVM Extensions - Configure EVM chain support