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

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.

Original ERC · ← ERCs