ERC-8432 On-chain IP asset and license registry (Onchain IP Asset and License Registry)
Draft · Other · created 2026-06-30
A policy-neutral registry standard for recording intellectual property works, license terms, and license agreements on chain. This lets a contract directly verify who may use a work and under what terms.
Why it is needed
Holding an ERC-721 token and holding the copyright or usage rights to a work are different matters. Today, license terms exist only in legal documents or each platform's own database, so a contract cannot read their content, and every app must build its own incompatible way of recording rights. As a result, there is no standardized way to verify what a work is, under what terms it may be used, or who currently holds a valid agreement. Software that automatically collects or uses works faces an even bigger problem, since there is no way to query terms and agreement status in a machine-readable form before executing a transaction.
What to implement
function register(RegistrationParams calldata params) external returns (bytes32 assetId);: Registers an IP asset and issues a globally unique assetId.function assetExists(bytes32 assetId) external view returns (bool);: Checks whether an asset with the given assetId exists.function chainId() external view returns (uint256);: Returns the chain ID, fixed at deployment time and never changing.function ownerOf(bytes32 assetId) external view returns (address);: Returns the asset's current administrative owner (the token holder, for an ERC721 asset).function authorsOf(bytes32 assetId) external view returns (Author[] memory authors, uint256 sharesDenominator);: Returns the author list and share denominator fixed at registration.function tokenizationOf(bytes32 assetId) external view returns (AssetTokenization tokenization, address tokenCollection, uint256 tokenId);: Returns whether the asset is NONE or bound to an ERC721, along with the bound token information.function assetTypeOf(bytes32 assetId) external view returns (bytes32);: Returns the asset type identifier, such as audio or image.function metadataOf(bytes32 assetId) external view returns (string memory metadataURI, bytes32 contentHash);: Returns the asset's metadata URI and original content hash.function derivationAttestationOf(bytes32 assetId) external view returns (DerivationAttestation memory);: Returns the derivation attestation set at registration (the list of parent works, or a declaration of original authorship).function agreementCountOf(bytes32 assetId) external view returns (uint256);: Returns the total number of license agreements created for the asset.function agreementAtIndex(bytes32 assetId, uint256 index) external view returns (bytes32 agreementId);: Looks up a specific agreement ID for the asset by index.function activeAgreementsOf(bytes32 assetId, uint256 cursor, uint256 limit) external view returns (bytes32[] memory agreementIds, uint256 nextCursor);: Queries active agreements page by page. limit bounds the number of records examined, not the number returned.function updateMetadata(bytes32 assetId, string calldata newURI) external;: The owner or a delegate updates only the metadata URI. The original content hash does not change.function transferOwnership(bytes32 assetId, address newOwner) external;: Transfers administrative ownership of a NONE asset. It cannot be used on an ERC721 asset and reverts.function revokeClaim(bytes32 assetId, bytes32 topicId, address issuer) external;: Marks an existing claim as revoked. The record itself remains.function getClaimIssuers(bytes32 assetId, bytes32 topicId) external view returns (address[] memory);: Returns the list of issuers that have not been revoked for the given topic.function setTrustedIssuer(bytes32 topicId, address issuer, bool trusted) external;: A governance authority adds or removes a specific issuer from the trust list.function isTrustedIssuer(bytes32 topicId, address issuer) external view returns (bool);: Checks whether the issuer is registered as trusted for that topic.function registerTerms(LicenseTerms calldata terms) external returns (bytes32 termsId);: Registers license terms and receives a termsId derived from the hash of the content. If the terms already exist, it returns the same id without any state change or event.function termsExists(bytes32 termsId) external view returns (bool);: Checks whether the given termsId is registered in the registry.function getTerms(bytes32 termsId) external view returns (LicenseTerms memory);: Returns the full license terms corresponding to the termsId. Reverts if it does not exist.
In depth
Three kinds of records: assets, terms, and agreements
This standard distinguishes three kinds of records: IP assets (assetId), license terms (termsId), and license agreements (agreementId). An asset identifies the work, its declared authors, its administrative owner, and its metadata. Terms are an immutable, reusable bundle of usage conditions identified by the hash of their content. An agreement is a grant record that binds together one asset, one set of terms, and one licensee. When an owner 'attaches' registered terms to an asset, it becomes a standing offer, and any caller who meets the eligibility requirements can receive an agreement without further approval. Attaching terms by itself grants no rights.
Identifiers and global references
assetId is computed as keccak256(abi.encode(chainId, registry, registrant, salt)), and register reverts if the assetId already exists. Every record can be referenced globally through the (chainId, registry, id) combination, and the standard string formats are ipid:<chainId>:<registry>/<assetId>, ipterms:<chainId>:<registry>/<termsId>, and ipagreement:<chainId>:<registry>/<agreementId>. chainId() returns the EIP-155 chain ID fixed at deployment time and does not change even if a fork changes the block's chain ID.
The four-layer structure of license terms
LicenseTerms consists of four layers. A common frame (expiry, duration, transferable, revocable, sublicensable, exclusive, jurisdictionScope) determines protocol behavior, a required RightsSummary (classifying commercial use, derivative permission, and attribution requirements as a YES/NO/UNSPECIFIED tri-value plus a fee model) serves as the basis for comparison, there is an optional legal document anchor (uri, contentHash), and there are domain-specific detailed terms expressed via termsType and rightsData. The four layers must not contradict each other, and a lower layer may not deny or widen the machine-readable claims of a higher layer. The core does not automatically detect such contradictions; consumers must filter for them.
generic-license-v1 generic schema
The only well-known termsType this ERC defines is TERMS_TYPE_GENERIC_V1. When termsType is this value, rightsData must be the ABI encoding of a struct with four fields (commercialUse, derivativesAllowed, attributionRequired, attributionTemplate), and each boolean value must exactly match the corresponding tri-value in RightsSummary (YES=true, NO=false). UNSPECIFIED is not permitted in this schema. Since the core does not perform this semantic validation, decoders, hooks, and consumers must filter out inconsistencies themselves.
Pre-flight hooks that do not enforce policy
The registry itself does not set policies such as eligibility or jurisdiction; it only provides mechanism. The nine pre-flight hooks, including canRegister, canLicense, and canRevoke, are all view functions that return (bool ok, bytes32 reason) and do not revert even on a policy violation. The actual write functions re-check the hook result against the current state and revert with HookDenied(reason) if denied. Even if a hook approves, that alone does not grant the caller authority or guarantee transaction success.
Two paths to agreement creation and expiry calculation
createAgreement is a grant directly approved by the asset owner (or delegate), while acquireAgreement is an acquisition that anyone who qualifies can call, treating the attached terms as standing approval. Both paths compute agreementId = keccak256(abi.encode(chainId(), address(this), assetId, agreementIndex)), which is never reused. At agreement creation, the absolute expiry of the terms (expiry) and the relative duration are combined into a single immutable effectiveExpiry; if both are 0 the agreement is perpetual, and creation itself reverts if the computed result is not later than the creation timestamp.
Distinguishing revocation from freezing
revokeAgreement can only be called by the asset owner (or delegate), unconditionally reverts if the agreement's revocable flag is false, and must also pass the canRevoke hook. forceRevokeAgreement is a separate emergency path for exceptional interventions such as court orders or sanctions, usable only by the registry's administrative or governance authority regardless of revocable or canRevoke. freezeAsset only blocks new attachments and agreement creation for that asset without altering existing agreements, and all revocations and freezes merely mark records inactive rather than deleting them.
Derivation attestation, signature verification, and draft status
When registering an asset, a DerivationAttestation can optionally be attached to declare, via signature, either the parent works (an array of ParentRef) or that the work is original. If the signer is an EOA, standard ECDSA is used; if a contract, ERC-1271's isValidSignature is called with a 100,000 gas limit. The core only verifies the signature and does not validate the parent's actual usage history or graph structure. This proposal was written on 2026-06-30 and is currently in Draft status, so the detailed rules may change or discussion may stall going forward.