Skip to main content

Options

Explorer included wallets

Allows to set included wallets that are fetched from WalletConnect Explorer. You can define a list of wallets ids you'd like to prioritize (order is respected). You can get these ids from the explorer link mentioned before by clicking on a copy icon of your desired wallet card.

await Web3Modal.InitializeAsync(new Web3ModalConfig
{
includedWalletIds = new []
{
"c57ca95...74e97267d96",
}
});

Explorer excluded wallets

Allows to set excluded wallets that are fetched from WalletConnect Explorer. You can get these ids from the explorer link mentioned before by clicking on a copy icon of your desired wallet card.

await Web3Modal.InitializeAsync(new Web3ModalConfig
{
excludedWalletIds = new []
{
"c57ca95...74e97267d96",
}
});

Enable Installed Wallet Detection

To enable Web3Modal to detect wallets installed on mobile devices, you need to make specific changes to the native side of the project.

  1. In Unity override Android Manifest.
  2. Add your <queries>...</queries> schemes outside of <application /> scope in the manifest file.
  3. Refer to Android Specs for more information.

Example:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<queries>
<package android:name="io.metamask"/>
<package android:name="com.wallet.crypto.trustapp"/>
<package android:name="io.gnosis.safe"/>
<package android:name="me.rainbow"/>
<!-- Add other wallet schemes names here -->
</queries>

<application>
...
</application>
</manifest>

More wallet package names can be found in our sample AndroidManifest.xml.