Skip to content

Commit

Permalink
add postel's law SHOULD to the eip-55 paragraph per implementer feedb…
Browse files Browse the repository at this point in the history
…ack (#122)
  • Loading branch information
bumblefudge authored Sep 12, 2024
2 parents 056e0e3 + 100b965 commit b2e7ed4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions eip155/caip10.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ Note that a given address cannot be assumed to work on all current and future ne

## Syntax

Ethereum addresses were, historically, case-insensitive and normalized to use
all-lowercase letters (`abcdef`) like most hexadecimal numeric types. With the
ratification of [EIP-55][], however, a particular normalization of lowercase- and
uppercase- `abcdefABCDEF` characters was invented as an efficient form of
checksum. See [EIP-55][] for specification.
Ethereum addresses were, historically, case-insensitive and normalized to use all-lowercase letters (`abcdef`) like most hexadecimal numeric types.
With the ratification of [EIP-55][], however, a particular normalization of lowercase- and uppercase- `abcdefABCDEF` characters was invented as an efficient form of checksum.
Most implementations will still accept lowercase addresses but produce only checksum-case addresses, as many transaction-builders will validate not just against a regular expression but also against an EIP-55 checksum.
Anywhere ["Postel's Law"][postel] can apply, implementers SHOULD produce checksum-case secure addresses (whether in CAIP-10 or native format), and SHOULD accept both checksum case and legacy lowercase addresses, except where the security concerns of the particular usecase outweigh interoperability.
See [EIP-55][] for specification.

The chain ID will be used to represent blockchain except special case of 0 as chainID to represent EOA.

Expand Down Expand Up @@ -104,7 +104,7 @@ As the Ethereum namespace evolved, user-agents that connect to dapps through an
[EIP-55]: https://eips.ethereum.org/EIPS/eip-55
[ERC-20]: https://eips.ethereum.org/EIPS/eip-20
[ERC-721]: https://eips.ethereum.org/EIPS/eip-721

[postel]: https://www.rfc-editor.org/rfc/rfc760#section-3.2

## Rights

Expand Down

0 comments on commit b2e7ed4

Please sign in to comment.