Is there a way to switch networks programmatically?
for example metamask has
await provider.request({
method: 'wallet_switchEthereumChain',
params: [{ chainId: "0x1" }]
});
Originally posted by: leon-do
Check the discussion at: https://github.com/orgs/Web3Auth/discussions/416