walletConnect
walletConnect
allows you to connect to the a wallet Using WalletConnect protocol
Example
If you want the wallet to be connected to a specific blockchain, you can pass a Chain
object to the connect
method.
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 defineChain
function.
At minimum, you need to pass the id
of the blockchain.
Refer to WalletConnectConnectionOptions
to see the options that wallet.connect
method accepts.
Parameters
Returns
The WalletConnect
instance