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 ERC-3770, a proposal for adding human-readable chain identifiers to addresses.

The following specification is the basis for this explanation.

For other Ethereum improvement proposals, see the following page.

Overview

ERC-3770 proposes an address standard that enables wallets and DApps to display chain-specific addresses. By placing a chain-specific prefix before an address, users can more easily distinguish addresses on different blockchains.

Motivation

The need for this format grew as more EVM-compatible chains emerged alongside Ethereum.

An identical address can have different properties on different chains. For example, an address might correspond to an externally owned account (EOA) on Chain X but a smart contract on Chain Y.

A user could accidentally send funds to an address on the wrong chain, where the intended contract has not been deployed, potentially losing access to those funds.

ERC-3770 proposes a unique prefix that identifies the chain associated with an address. Although the chainId defined by EIP-155 could serve as a chain identifier, it is less human-readable. The proposal instead favors a more intuitive prefix.

For more information about EIP-155, see the following article.

EIP-155: Preventing Replay Attacks Across Ethereum Networks

Specification

A chain-specific address begins with a chain's short name followed by a colon and the address.

text
Chain-specific address = “shortName” “:” “address”
  • shortName = STRING
  • address = STRING

shortName

This field is required and must be a valid chain short name. The names are available in the following repository.

address

This required field must be an ERC-55-compatible hexadecimal address.

For more information about EIP-55, see the following article.

EIP-55: Understanding Ethereum Address Checksums

Examples

Examples of chain-specific addresses

Additional Considerations

For multichain addresses, using a chain short name instead of a numeric chainId makes the intended chain easier for people to identify.

Backward Compatibility

An Ethereum address without a chain identifier requires additional context to determine the chain it belongs to. ERC-3770 proposes a way to supply that context while continuing to support the existing address format.

Security

Care should be taken to avoid confusingly similar chain short names. Similar identifiers could cause users to mistake one chain for another.

Citation

Conclusion

ERC-3770 adds human-readable chain identifiers to Ethereum addresses so users and applications can identify the intended chain more clearly.