Skip to content

Commit 65c3f42

Browse files
authored
Update ERC-7930: define "Chain Identifier" term for zero-length-address IAs
Merged by EIP-Bot.
1 parent 9df659c commit 65c3f42

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

ERCS/erc-7930.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "S
5757
**Interoperable Address**
5858
: A binary payload which unambiguously identifies a _target address_ on a target chain. e.g. `0x00010000010114d8da6bf26964af9d7eed9e03e53415d37aa96045`
5959

60+
**Chain Identifier**
61+
: An _Interoperable Address_ with a zero-length _Address_. It identifies a chain rather than a specific address on that chain. e.g. `0x000100022045296998a6f8e2a784db5d9f95e18fc23f70441a1039446801089879b08c7ef000` is a Chain Identifier for Solana mainnet.
62+
6063

6164
### _Interoperable Address_ Definition
6265

@@ -83,7 +86,7 @@ The components outlined above have the following meanings:
8386
: Variable length, binary representation of the [CAIP-350] chain reference. Serialization of the _ChainReference_ within a specific namespace MUST follow the algorithm defined in the namespace's [CAIP-350] profile. Chain profiles are maintained by the Chain-Agnostic Standards Alliance (CASA).
8487

8588
**AddressLength**
86-
: 1-byte integer encoding the length of Address in bytes. Note that it MAY be zero, in which case the _Interoperable Address_ MUST NOT include an address. It MUST NOT be zero if the _ChainReferenceLength_ is also zero.
89+
: 1-byte integer encoding the length of Address in bytes. Note that it MAY be zero, in which case the _Interoperable Address_ is a _Chain Identifier_ and MUST NOT include an address. It MUST NOT be zero if the _ChainReferenceLength_ is also zero.
8790

8891
**Address**
8992
: Variable length field containing the binary encoding of the characters of the serialized address. The serialization for a specific _ChainType_ MUST follow the rules of its corresponding [CAIP-350] profile.
@@ -179,7 +182,7 @@ These components produce the following _Interoperable Address_:
179182
```
180183
---
181184

182-
#### Example 4: Solana mainnet network, no address
185+
#### Example 4: Solana mainnet Chain Identifier
183186

184187
**Components**
185188

0 commit comments

Comments
 (0)