From 85e5e56d4f39989aad1dc07dba7f4690278d3014 Mon Sep 17 00:00:00 2001 From: 0xmono Date: Tue, 13 Jan 2026 00:46:49 -0300 Subject: [PATCH 1/3] Update the template and namespace profiles for solana and eip155 --- _template/caip350.md | 8 +++++--- eip155/caip350.md | 11 +++++++++-- solana/caip350.md | 14 ++++++++++++-- 3 files changed, 26 insertions(+), 7 deletions(-) diff --git a/_template/caip350.md b/_template/caip350.md index 2e696ba..f3b9759 100644 --- a/_template/caip350.md +++ b/_template/caip350.md @@ -10,16 +10,18 @@ created: requires: --- -## Chain reference - +## Namespace Reference ChainType binary key: `0xXXXX` [CAIP-104] namespace: `XXXXX` +## Chain reference + ### Text representation - + + ##### Text representation -> CAIP-2 conversion diff --git a/eip155/caip350.md b/eip155/caip350.md index 9cdc68b..47ddda8 100644 --- a/eip155/caip350.md +++ b/eip155/caip350.md @@ -22,10 +22,14 @@ See [EIP-155] and [EIP-2294]. ### Text representation ``` -eip155: + ``` + Where `` is the decimal representation of the chain's `chainId`, without leading zeroes. +> **Note:** Per [CAIP-350], the full chain identifier is `eip155:` (e.g., `eip155:1`, `eip155:10`). + + ##### Text representation -> CAIP-2 conversion In the case where the `chainId` is larger than what can be represented in 32 decimal characters, the leading 32 characters should be used. @@ -60,8 +64,11 @@ Bytes of EVM addresses are trivially stored as the payload. It's worth noting that addresses are currently 20 bytes, but that might change in the future, most likely to 32 bytes [^2] ### Text representation +``` +
+``` +Where `
` is the 20 bytes of an EVM address, hexadecimal-encoded according to [EIP-55]. -For text representation, the 20 bytes of EVM addresses should be hexadecimal-encoded according to [EIP-55]. This standard deliberately does not define the text representation of EVM addresses if they are extended in the future, since it's not possible to know which human-readable representation will be more familiar to users in such hypothetical scenario. This profile should be amended in the future to reflect it in such a case. diff --git a/solana/caip350.md b/solana/caip350.md index 3688996..29bb056 100644 --- a/solana/caip350.md +++ b/solana/caip350.md @@ -22,7 +22,13 @@ We chose to use the blockhash in full, as opposed to using the [CAIP-2], for con ### Text representation -The full base58btc-encoded genesis blockhash is used. This is larger than the [CAIP-2] representation. +``` + +``` +Where `` is the full 44-character base58btc-encoded genesis blockhash. This is larger than the [CAIP-2] representation (which truncates to 32 characters). + +> **Note:** Per [CAIP-350], the full chain identifier is `solana:` (e.g., `solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d`). + ##### Text representation -> CAIP-2 conversion @@ -61,7 +67,11 @@ Solana addresses are 32-byte public keys, conventionally displayed to users as b ### Text representation -base58btc-encoded ASCII of the entire public key bytes. +``` + +``` + +Where `` is the base58btc-encoded ASCII of the entire 32-byte public key. ##### Text representation -> native representation conversion From 11ad2303b5232ef50d5c70c95f7c08a46ac02f2b Mon Sep 17 00:00:00 2001 From: 0xmono Date: Tue, 13 Jan 2026 16:14:47 -0300 Subject: [PATCH 2/3] Clarify CAIP-350 definitions --- _template/caip350.md | 4 ++-- eip155/caip350.md | 4 ++-- solana/caip350.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/_template/caip350.md b/_template/caip350.md index f3b9759..dc896b4 100644 --- a/_template/caip350.md +++ b/_template/caip350.md @@ -24,11 +24,11 @@ ChainType binary key: `0xXXXX` -##### Text representation -> CAIP-2 conversion +##### Text representation -> customary (CAIP-2) conversion -##### CAIP-2 - text representation conversion +##### Customary (CAIP-2) conversion - text representation conversion diff --git a/eip155/caip350.md b/eip155/caip350.md index 47ddda8..bfe5526 100644 --- a/eip155/caip350.md +++ b/eip155/caip350.md @@ -30,11 +30,11 @@ Where `` is the decimal representation of the chain's `chainId`, without > **Note:** Per [CAIP-350], the full chain identifier is `eip155:` (e.g., `eip155:1`, `eip155:10`). -##### Text representation -> CAIP-2 conversion +##### Text representation -> customary (CAIP-2) conversion In the case where the `chainId` is larger than what can be represented in 32 decimal characters, the leading 32 characters should be used. -##### CAIP-2 - text representation conversion +##### Customary (CAIP-2) conversion - text representation conversion This transformation would not be fully deterministic in the case where `chainId`s larger than 10^32 are used. It is assumed wallets and other software will be able to differentiate between chains from just the leading 32 decimal characters, and use a lookup table of popular chains to complete the missing information to convert CAIP-2 identifiers to this standard. diff --git a/solana/caip350.md b/solana/caip350.md index 29bb056..05a916c 100644 --- a/solana/caip350.md +++ b/solana/caip350.md @@ -30,11 +30,11 @@ Where `` is the full 44-character base58btc-encoded genesis b > **Note:** Per [CAIP-350], the full chain identifier is `solana:` (e.g., `solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d`). -##### Text representation -> CAIP-2 conversion +##### Text representation -> customary (CAIP-2) conversion The leading 32 characters are used, and the rest discarded, in a manner similar to what is specified on [this namespace's CAIP-2](caip2.md) profile. -##### CAIP-2 - text representation conversion +##### Customary (CAIP-2) conversion?CAIP-2 - text representation conversion This transformation is not fully deterministic. It is assumed wallets and other software will be able to differentiate between chains with just the leading 32 base58btc-encoded characters, and use a lookup table of chains to complete the missing information to convert [CAIP-2] identifiers to those defined in this standard. From 6026d4a010c523c196561b5c94351c3d1d32967e Mon Sep 17 00:00:00 2001 From: 0xmono Date: Tue, 13 Jan 2026 17:15:51 -0300 Subject: [PATCH 3/3] fix template --- _template/caip350.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_template/caip350.md b/_template/caip350.md index dc896b4..dadeb56 100644 --- a/_template/caip350.md +++ b/_template/caip350.md @@ -30,7 +30,7 @@ ChainType binary key: `0xXXXX` ##### Customary (CAIP-2) conversion - text representation conversion - + #### Binary representation