Luka Isailovic pfp
Luka Isailovic
@lukaisailovic.eth
1/ Everyone knows about EIPs, ERCs, and BIPs, but what are CAIPs, and why are they more important than ever going forward? Side note: You're probably using features powered by CAIPs every day, but you don't know it 😉
2 replies
3 recasts
15 reactions

Luka Isailovic pfp
Luka Isailovic
@lukaisailovic.eth
2/ Anyone can suggest improvements to Ethereum with Ethereum Improvement Proposals (EIPs). The same goes for other ecosystems and their own equivalent proposals. The issue (or a good thing?) is that most wallets now are cross-chain wallets. They don't support only EVM networks. Beyond wallets, we're also seeing that a bunch of dapps offer cross-chain support.
1 reply
0 recast
1 reaction

Luka Isailovic pfp
Luka Isailovic
@lukaisailovic.eth
3/ Let's start with the most basic functionality most dapps offer now: connection and authentication for users. In order to do that for Ethereum, I would need to get accounts and then request a SIWE signature and implement support for this both wallet-side and dapp-side.
1 reply
0 recast
0 reaction

Luka Isailovic pfp
Luka Isailovic
@lukaisailovic.eth
4/ I'm done with Ethereum, but what about Solana? Both the dapp and the wallet would have to implement the Solana equivalent of account connection (similar to eth_requestAccounts) and SIWE (SIWS). And then the same for Bitcoin, Polkadot, and whatever comes next.
1 reply
0 recast
1 reaction

Luka Isailovic pfp
Luka Isailovic
@lukaisailovic.eth
5/ In order to avoid re-implementing the same functionality across different chains, there's a Chain Agnostic Improvement Proposal, which creates a single, chain-agnostic specification that should work with every chain.
1 reply
0 recast
1 reaction

Luka Isailovic pfp
Luka Isailovic
@lukaisailovic.eth
6/ A few examples: - To perform the handshake and disclose the account: CAIP-25 - To perform authentication in a chain-agnostic way, we have SIWx: CAIP-122 - Connection + Authentication: CAIP-222 All of these rely on a chain-agnostic way to specify the user account (CAIP-10) and chain definition (CAIP-2).
1 reply
0 recast
1 reaction

Luka Isailovic pfp
Luka Isailovic
@lukaisailovic.eth
7/ If a wallet implements CAIP-25, it can perform the same handshake and account discovery for Ethereum, Bitcoin, Solana, Polkadot, and any other chain! The same goes for SIWx. Instead of implementing SIWE, SIWS, SIWB, etc, you implement just one method that abstracts all of them.
1 reply
0 recast
1 reaction