Following options can be passed to
WalletConnectModal
i.e.projectId (required)
Your project’s unique identifier that can be obtained at dashboard.reown.com. Enables following functionalities within AppKit: wallet and chain logos, optional WalletConnect RPC, support for all wallets from WalletGuide and WalletConnect v2 support. Defaults toundefined
.chains (required)
Array of CAIP-2 compliant chains modal should work with.mobileWallets (optional)
You can define an array of custom mobile wallets. Note: you will also need to add appropriate wallet images inwalletImages
. Native link represents deeplinking URL like rainbow://
and Universal link represent webpage link that can redirect to the app or fallback page. Defaults to undefined
.desktopWallets (optional)
You can define an array of custom desktop or web based wallets. Note: you will also need to add appropriate wallet images inwalletImages
. Native link represents deeplinking URL like ledgerlive://
and Universal link represents webpage link that can redirect to the app or fallback page. Defaults to undefined
.walletImages (optional)
Array of wallet id’s and their logo mappings. This will override default logos. Id’s in this case can be: WalletGuide id’s, wallet id’s you provided inmobileWallets
or desktopWallets
and wagmi connector id’s. Defaults to undefined
.explorerRecommendedWalletIds (optional)
Allows to override default recommended wallets that are fetched from WalletGuide. You can define an array of wallet ids you’d like to prioritise (order is respected). You can get these ids from the explorer link mentioned before by clicking on a copy icon of desired wallet card. If you want to completely disable recommended wallets, you can set this option toNONE
. Defaults to undefined
.explorerExcludedWalletIds (optional)
Allows to exclude wallets that are fetched from WalletGuide. You can define an array of wallet ids you’d like to exclude. You can get these ids from the explorer link mentioned before by clicking on a copy icon of desired wallet card. If you want to exclude all wallets, you can set this option toALL
, however if explorerRecommendedWalletIds
were defined, they will still be fetched. Defaults to undefined
.termsOfServiceUrl (optional)
String URL to your terms of service page, if specified will append special “legal info” footer to the modal. Defaults toundefined
.privacyPolicyUrl (optional)
String URL to your privacy policy page, if specified will append special “legal info” footer to the modal. Defaults toundefined
.enableExplorer (optional)
Option to enable or disable wallet fetching from WalletGuide. Defaults totrue
.themeMode (optional)
Puts AppKit into dark or light mode. Defaults to user’s system preference.themeVariables (optional)
Allows to override AppKit’s css styles. See theming section for all available options.enableAuthMode (optional)
Option to enable auth only mode for modal, will adjust which wallets are fetched from explorer. Defaults tofalse
.