Tony D’Addeo pfp
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

carter pfp
carter
@carter
strong agree, had to write this the other day for bringing clanker to monad- basically a shim so all our interactions are chain agnostic and handles all the switching/network/etc really annoying though and look forward to when we can get rid of it. think it’s one of the main things holding l2s back from competing with solana
0 reply
0 recast
1 reaction