Docs

metamaskWallet

A wallet configurator for MetaMask Wallet which allows integrating the wallet with React.

It returns a WalletConfig object which can be used to connect the wallet to via ConnectWallet component or useConnect hook as mentioned in Connecting Wallets guide

Example

metamaskWallet({
  projectId: "YOUR_PROJECT_ID",
  connectionMethod: "walletConnect", // or 'metamaskBrowser',
  recommended: true,
});

Parameters

Returns