metamaskWallet allows you to connect to the MetaMask Wallet extension.
If you want to connect to MetaMask wallet mobile app, use
If you want the wallet to be connected to a specific blockchain, you can pass a
Chain object to the
This will trigger a chain switch if the wallet provider is not already connected to the specified chain.
You can create a
Chain object using the
At minimum, you need to pass the
id of the blockchain.