viem/chains package and import the createWalletClient method and custom transport from viem:
wallets array and switch its network to the chain you imported, using the wallet’s switchChain method:
getEthereumProvider method and pass it to viem’s createWalletClient method like so:

