Tony D’Addeo pfp
Tony D’Addeo

@deodad

thanks for sharing the source code you need to switch the users wallet to base before calling eth_sendTransaction with await provider.request({ method: 'wallet_switchEthereumChain', params: [{chainId: "0x2105" }] })
1 reply
0 recast
0 reaction