ImTokenWalletConfigOptions
type ImTokenWalletConfigOptions = { projectId?: string; recommended?: boolean; wcModal?: { qrModalOptions?: QRModalOptions } | boolean;};
type projectId = string;
type recommended = boolean;
Specify whether to open the official Wallet Connect Modal when connecting the wallet if no injected MetaMask provider is found when connecting the wallet.
This should not be set if you are using ConnectWallet component and only when manually connecting the wallet using a hook like useConnect
.
You can set it to true
or a configuration object to enable the Wallet Connect Modal.
type wcModal = { qrModalOptions?: QRModalOptions } | boolean;