Tony D’Addeo
@deodad
ditching wallet_switchEthereumChain 🔚 the stateful model of wallet connections where a wallet is connected to an application on a single chain feels broken wallets are moving towards programmatic switching and displaying all assets for all chains all the time which delivery a much better UX applications are moving towards using their own Ethereum RPC providers for public rpc requests and are only sending actions that require a signature to the wallet given this can we get rid of `wallet_switchEthereumChain` entirely and specify the chain on individuals requests like `eth_sendTransaction`? it's a common stumbling block for devs and adds a cognitive overhead since transactions needs to be wrapped in logic to inspect the current chain and switch
5 replies
7 recasts
34 reactions
Frederik Bolding 🦊
@frederik
There is an experimental CAIP-based API for this available in MetaMask Flask, some details are available here: https://github.com/MetaMask/metamask-improvement-proposals/blob/main/MIPs/mip-5.md
0 reply
0 recast
1 reaction