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.