Step-by-step guide for migrating your Web3Modal (WalletConnect) application to Para SDK
ParaProvider
while maintaining your existing Wagmi configuration.
Web3Modal Config | Para Config | Location |
---|---|---|
projectId | walletConnect.projectId | externalWalletConfig |
wagmiConfig.chains | evmConnector.config.chains | externalWalletConfig |
wagmiConfig.transports | evmConnector.config.transports | externalWalletConfig |
wagmiConfig.ssr | evmConnector.config.ssr | externalWalletConfig |
wagmiConfig.storage | evmConnector.config.storage | externalWalletConfig |
metadata.name | config.appName | Root config |
metadata.description | config.description | Root config |
Package Updates
@web3modal/wagmi
and @web3modal/wagmi/react
@getpara/react-sdk
wagmi
, viem
, and @tanstack/react-query
Configuration Migration
externalWalletConfig.evmConnector.config
Provider Updates
Component Updates
useWeb3Modal
with useModal