Introduction
Hi, I'm cardene, a software engineer and technical writer focused on blockchain and AI.
I've also authored Japanese technical books on specification-driven development with LLMs and decentralized application (DApp) development.
I also build and publish a variety of tools, libraries, and open-source projects.
This article examines CAIP10, which proposes a common string format for uniquely identifying accounts across different blockchains.
This article translates, summarizes, and supplements the material linked below. The original code examples retain their Japanese comments.
I have also covered various EIPs, BIPs, SLIPs, and CAIPs.
Overview
CAIP10 defines a way to uniquely identify accounts across blockchains using the blockchain IDs specified by CAIP2. An account here includes not only externally owned accounts (EOAs) in the Ethereum Virtual Machine (EVM), but also smart contracts and specialized accounts enabled by account abstraction. With CAIP10, wallets and decentralized applications (dApps) can handle users’ account information in a common format across different blockchains. Previously, wallets used their own data structures to distinguish accounts, creating interoperability problems and complicating multichain support. CAIP10 standardizes this representation to improve interoperability.
Motivation
The proposal stems from a desire to design a protocol for communication between wallets and dApps that is independent of any particular blockchain. For example, multichain wallets and cross-chain applications that handle assets (tokens) on different chains need to identify user accounts when communicating. However, wallets have historically represented accounts in their own ways without a unified mechanism. CAIP10 builds on the existing CAIP2 specification to identify accounts using chain-specific string representations, aiming to support new multichain systems while retaining compatibility with existing applications.
For more on CAIP2, see the following article.
[CAIP2] How to Identify Multiple Blockchains
With CAIP10, wallets and applications can manage account information consistently across chains, potentially improving user experience and reducing development costs.
Specification
CAIP10 represents an account ID (account_id) as a combination of the blockchain ID specified by CAIP2 and the account address.
Standardizing the format as a string that separates these components with a colon (:) allows accounts to be uniquely identified across blockchains.
For example, an address on Ethereum Mainnet is represented as follows.
eip155:1:0xAbC123...Here, eip155:1 is the CAIP-2 chain ID for Ethereum Mainnet, and 0xAbC123... is the account address.
Syntax
An account_id is a case-sensitive string with the following structure.
account_id: chain_id + ":" + account_address-
chain_idRefers to the blockchain ID defined by CAIP2. It allows ASCII alphanumeric characters (lowercase) and hyphens (-); the first component (for example,eip155) has 3–8 characters, and the second (for example,1) has 1–32 characters. -
account_addressThe actual address of the account. Its format varies by blockchain, and it can be up to 128 characters long. The only permitted punctuation characters are-,., and%; other symbols such as:,/, and\cannot be used directly. If other symbols are needed, they are represented using URL encoding as defined by RFC3986 (for example,%20).
When using non-alphabetic symbols, implementers must also consider the risk of homograph attacks involving visually similar characters.
Semantics
chain_ididentifies the blockchain to which the account belongs and is determined according to CAIP2.account_addressrepresents the account address in the chain’s native format and is case-sensitive.
The unified account_id format therefore identifies accounts on different blockchains without collisions and improves interoperability between wallets and dApps in multichain environments.
Additional considerations
The CAIP10 account ID format is designed to remain unique across multiple chains while being human-readable. It has three main objectives.
- Cross-chain uniqueness Prevent duplicate account IDs across different chains, including the distinction between mainnets and testnets.
- Readability
Make it easy to identify the account’s blockchain simply by looking at the
chain_idprefix. - Character restrictions for easier parsing Restrict permitted characters and lengths so systems can parse IDs safely and easily.
Canonicalization
Some blockchains, particularly EVM-based chains, have address canonicalization mechanisms. For example, Ethereum uses mixed-case checksummed addresses as specified by EIP55. Other schemes, such as HIP15, may optionally append a suffix to an address.
For more on EIP55, see the following article.
[EIP55] How Ethereum Address Checksums Work
However, the CAIP10 specification does not mandate canonicalization. Implementers must therefore consider deduplication and canonicalization themselves when handling account IDs. CAIP10 profiles may also contain additional information in the CAIP namespace specifications (CASA).
Test cases
Examples of the CAIP10 format include the following.
# Ethereumメインネット(**EIP55**チェックサム付き)
eip155:1:0xab16a96D359eC26a11e2C2b3d8f8B8942d5Bfcdb
# Bitcoinメインネット
bip122:000000000019d6689c085ae165831e93:128Lkh3S7CkDTBZ8W7BbpsN3YYizJMp8p6
# Cosmos Hub
cosmos:cosmoshub-3:cosmos1t2uflqwqe0fsj0shcfkrvpukewcw40yjj6hdc0
# Kusamaネットワーク
polkadot:b0a8d493285c2df73290dfb7e61f870f:5hmuyxw9xdgbpptgypokw4thfyoe3ryenebr381z9iaegmfy
# StarkNet Testnet
starknet:SN_GOERLI:0x02dd1b492765c064eac4039e3841aa5f382773b598097a40073bd8b48170ab57
# 最大長の例(106文字)
chainstd:8c3444cf8970a9e41a706fab93e7a6c4:6d9b0b4b9994e8a6afbd3dc3ed983cd51c755afb27cd1dc7825ef59c134a39f7
# Hederaアドレス(HIP-15によるオプションチェックサム付き)
hedera:mainnet:0.0.1234567890-zbhltThese examples show that chain ID and address formats differ across blockchains.
Compatibility
Earlier versions of CAIP10 restricted the character set more severely and permitted almost no characters other than letters and digits.
An even older version separated the components with an @ (at sign), as in account_address@chain_id.
# 旧仕様(2021年8月21日以前)
0xab16a96d359ec26a11e2c2b3d8f8b8942d5bfcdb@eip155:1Applications integrating with older systems may therefore need to support legacy formats. The current specification is more flexible and readable and provides a unified way to represent accounts across different blockchains.
References
Copyright and related rights waived via CC0.
Conclusion
This article has covered CAIP10, which proposes a common string format for uniquely identifying accounts across different blockchains.
What did you think?
If you have any questions, feel free to send me a direct message on Twitter.
I also publish on other platforms. Feel free to explore them.


