Overview

The IdentityRegistry is a Solidity smart contract (^0.8.20) that provides a minimal, gas-efficient system for mapping identity labels to ENS names and IPFS content identifiers.

Key Features

Contract Structure

Error Handling

Data Structures

struct Identity {
    address owner;     // controller of this identity record
    string ensName;    // e.g. "keccake256.eth"
    string ipfsCid;    // e.g. "ipfs://bafybe..."
    uint256 updatedAt;
}

State Variables

Events