ERC-1484 · Stagnant · ERC · 2018-10-12
ERC-1484: Digital Identity Aggregator
A proposed on-chain registry that gives each identity a numeric EIN linked to many addresses, plus pluggable providers and resolvers, so different identity standards can share one identity.
What problem does it solve?
By 2018 several on-chain identity approaches existed, such as ERC-725 and ERC-1056. Each tied identity to its own model of keys, claims or contracts, so users and developers had to pick one and duplicate work across them.
ERC-1484 adds a neutral layer underneath: a single Identity Registry where a person claims one identity, links several Ethereum addresses to it, and attaches whatever identity applications they use. It does not define claims or attestations itself; it only manages "who is this identity and which addresses and contracts belong to it".
How it works
Each identity is identified by an EIN (Ethereum Identification Number), an incrementing integer starting at 1, and holds:
- Associated Addresses: addresses the user controls. An address can belong to only one identity at a time. Adding one needs consent from both an existing associated address and the new address (a transaction from one and a signature from the other). Removing an address can only be done by that address.
- Providers: addresses, usually contracts, allowed to manage the identity on the user's behalf. This enables meta-transactions where a third party pays gas.
- Resolvers: contracts that hold any identity-related data or logic, such as an ERC-725 implementation or an attestation registry.
- Recovery Address: a fallback that can reset the identity if keys are lost.
Recovery has three paths:
- Change the recovery address: triggers a 14-day window in which the old recovery address can object by triggering recovery.
- Recovery: the recovery address removes all associated addresses and providers and installs one new address. Resolvers are kept.
- Destruction: if recovery was abused, any address removed by it can, within 14 days, permanently disable the identity.
Signatures follow ERC-191 version 0 and must include a timestamp within a rolling window of block.timestamp to prevent replay.
Sample code
Part of the registry interface:
interface IIdentityRegistry {
function createIdentity(address recoveryAddress, address[] calldata providers, address[] calldata resolvers)
external returns (uint ein);
function getEIN(address _address) external view returns (uint ein);
function hasIdentity(address _address) external view returns (bool);
function isResolverFor(uint ein, address resolver) external view returns (bool);
function getIdentity(uint ein) external view returns (
address recoveryAddress,
address[] memory associatedAddresses,
address[] memory providers,
address[] memory resolvers
);
function addResolvers(address[] calldata resolvers) external;
function triggerRecovery(uint ein, address newAssociatedAddress, uint8 v, bytes32 r, bytes32 s, uint timestamp)
external;
}
A resolver recognizing a user by EIN rather than by address:
function profileOf(address user) external view returns (string memory) {
uint ein = registry.getEIN(user); // reverts if user has no identity
require(registry.isResolverFor(ein, address(this)), "resolver not added");
return profiles[ein];
}
Things to know
- Status: Stagnant. It never saw broad adoption, and the identity standards it aimed to unify (ERC-725 is Draft, ERC-1056 is Stagnant) have also not converged.
- Linking many addresses to one public EIN is a privacy trade-off: anyone can see which addresses belong together.
- The recovery address is very powerful. Choose it carefully, for example a multisig or a social-recovery contract; the spec explicitly allows a contract here.
- Today, account-level recovery and multi-key control are more commonly handled with smart contract wallets rather than a shared identity registry.