CAIPs icon indicating copy to clipboard operation
CAIPs copied to clipboard

CAIP-320 wallet switch chain JSON-RPC

Open tuna1207 opened this issue 11 months ago • 3 comments

This CAIP defines a JSON-RPC method for a chain agnostic wallet to switch the current active chain of the wallet using the id specified in CAIP-2.

tuna1207 avatar Jan 07 '25 04:01 tuna1207

Hey, this is an interesting addition to the repertoire here! I think I understand the use-case fairly well, but just for my understanding and to get this closer to mergeable, could you maybe sketch out for me an end-to-end example?

Ideally, a detailed example, i.e., involving a multi-namespace dapp, and a multi-namespace wallet creating a session, and a realistic example, i.e. involving two namespaces that already use an "active chain" concept and have native RPCs to switch active chains, maybe eip155 and solana? and show why wallet and/or dapps want this, versus using each namespace's native RPCs via CAIP-27 over a CAIP-25 connection?

bumblefudge avatar Jan 09 '25 14:01 bumblefudge

@tuna1207 ?

bumblefudge avatar Feb 20 '25 14:02 bumblefudge

@tuna1207 bump

bumblefudge avatar Mar 06 '25 10:03 bumblefudge

Closing this for now, happy to reopen if we want to make necessary changes / revive it.

obstropolos avatar Jun 26 '25 16:06 obstropolos