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-780, which proposes the Ethereum Claims Registry (ECR), a shared on-chain registry for recording and retrieving information issued by one account about another, such as identity verification or organizational affiliation.
This article translates, summarizes, and supplements the material linked below.
https://eips.ethereum.org/EIPS/eip-780
I have also covered other EIPs.
Overview
The Ethereum Claims Registry (ECR) provides a common mechanism for recording and retrieving who makes a claim, about whom, and what that claim states on Ethereum. Claims may be made by third parties or issued about oneself (self-issued claims).
The registry is designed to support issuing, registering, and retrieving claims in the same way regardless of the type of Ethereum account, whether an externally owned account or a smart contract account. Any Ethereum account can issue claims about another.
The proposal aims to provide a common registry supporting various trust and authentication use cases on Ethereum.
Motivation
Ethereum applications increasingly need to verify attributes of users or contracts, such as whether a user has completed KYC or holds a particular role. Implementing signature verification and key management separately in each contract can be complex and gas-intensive.
ECR is intended to address these problems through the following benefits.
- A shared claim registry allows attribute retrieval with a single external call, simplifying the process and improving gas efficiency.
- Smart contracts can consult a standardized registry rather than implement their own claim management functionality.
- A uniform format improves interoperability between applications.
- Self-issued claims support applications such as self-sovereign identity.
ECR aims to provide a common foundation for handling trust-related information on Ethereum in a standardized way. Its potential applications extend beyond attribute verification to areas such as DAOs, DeFi, and NFTs.
Specification
The Ethereum Claims Registry (ECR) is a contract for recording and retrieving claims that can be shared by Ethereum users once deployed. Accounts can issue attribute claims about one another, and other parties can retrieve them efficiently. The contract is designed to remain simple, generic, and extensible.
Claim Structure and Uses
A claim records a statement made by an issuer about a subject. It consists of the following elements.
key— Identifier of the claim type, represented asbytes32.value— The claimed value, represented asbytes32.issuerandsubject— Ethereum addresses.
For example, Alice can register a claim stating that Bob has completed KYC verification. Whether the claim is trustworthy depends on the relying party's trust in Alice.
Claim Types
A claim's key identifies the type of claim, such as Owner-Address or Age. Named identifiers can be hashed with keccak256() into fixed-length 32-byte values for storage.
Three conventions are recommended.
- Standardized claims
- Use HTTP-like names without an
X-prefix, such as hashing'Owner-Address'withkeccak256.
- Use HTTP-like names without an
- Private claims
- Intended for application-specific use rather than shared naming conventions. Prefix the name with
X-, such as'X-My-Thing'. This naming convention does not make on-chain data confidential.
- Intended for application-specific use rather than shared naming conventions. Prefix the name with
- Ad hoc claims
- Use a completely random 32-byte value for temporary purposes that do not require standardization.
Main Functions
ECR provides the following functions for issuing, retrieving, and removing claims.
setClaim
Issues or updates a claim about another account (the subject). The caller automatically becomes the issuer.
function setClaim(address subject, bytes32 key, bytes32 value) publicsetSelfClaim
Issues a claim about the caller's own account. Internally, it calls setClaim.
function setSelfClaim(bytes32 key, bytes32 value) publicgetClaim
Retrieves the value associated with the specified issuer, subject, and claim type. This is a read-only function.
function getClaim(address issuer, address subject, bytes32 key) public view returns (bytes32)removeClaim
Removes a previously issued claim. The caller (msg.sender) must be the issuer.
function removeClaim(address issuer, address subject, bytes32 key) publicType Conversions
Claim values intentionally use the fixed bytes32 type to keep the registry implementation simple.
Real-world applications may require more specific types, such as addresses or unsigned integers. The proposal therefore leaves type conversion outside the registry contract. For example, a separate library can convert bytes32 values into addresses while keeping the registry itself generic and lightweight.
Deployment and Addresses
The proposal envisages a single registry deployment serving as a shared reference on Ethereum. It also anticipated deployments to the then-current Ropsten, Rinkeby, and Kovan test networks, with their addresses documented in the specification.
Updates and Governance
If additional registry functionality is needed, the proposal recommends submitting an EIP (Ethereum Improvement Proposal) and discussing the upgrade. Such a proposal should also describe how existing claims would be migrated to a new contract.
Smart Contract Implementation
The following is an example implementation of ECR. Claims are stored in a three-level mapping, keeping the design simple and efficient.
contract EthereumClaimsRegistry {
mapping(address => mapping(address => mapping(bytes32 => bytes32))) public registry;
event ClaimSet(address indexed issuer, address indexed subject, bytes32 indexed key, bytes32 value, uint updatedAt);
event ClaimRemoved(address indexed issuer, address indexed subject, bytes32 indexed key, uint removedAt);
function setClaim(address subject, bytes32 key, bytes32 value) public {
registry[msg.sender][subject][key] = value;
emit ClaimSet(msg.sender, subject, key, value, now);
}
function setSelfClaim(bytes32 key, bytes32 value) public {
setClaim(msg.sender, key, value);
}
function getClaim(address issuer, address subject, bytes32 key) public view returns(bytes32) {
return registry[issuer][subject][key];
}
function removeClaim(address issuer, address subject, bytes32 key) public {
require(msg.sender == issuer);
delete registry[issuer][subject][key];
emit ClaimRemoved(msg.sender, subject, key, now);
}
}This implementation does not perform signature verification or identity authentication itself. It serves as infrastructure for recording, retrieving, and removing asserted information. Evaluating the trustworthiness and meaning of claims is the responsibility of applications using the registry.
Citation
Conclusion
ERC-780 proposes the Ethereum Claims Registry, a common on-chain mechanism for recording and retrieving claims issued by one account about another, including claims about identity verification and organizational affiliation.
If you have questions, feel free to contact me on Twitter.
I also publish articles on the following platforms.


