ERC-8040 ESG asset tokenization protocol (ESG Tokenization Protocol)

Draft · Names & metadata · created 2025-09-06

An overlay interface that attaches standardized metadata, external certification records, and an issuance-audit-retirement lifecycle to ESG (environmental, social, governance) assets such as carbon credits. It is implemented in addition to ERC-20/721/1155, preserving existing transfer functionality.

Why it is needed

For tokenized ESG assets like carbon credits, metadata formats, audit report storage methods, and retirement handling differ from project to project. Without a standard, wallets and exchanges cannot consistently read an asset's region, carbon amount, or audit status, and verification results from auditors and certification bodies cannot remain in a trustworthy on-chain form. As a result, it becomes hard to prevent the same credit from being traded multiple times or double-counted, and asset credibility ends up resting on an unverifiable off-chain claim of 'it was verified.' This standard reduces these problems by combining a metadata schema, audit/certification digests, and state transitions from issuance to retirement into a single interface.

What to implement

In depth

Metadata structure

A token must have a JSON metadata document retrievable via esgURI(tokenId). `standard` indicates the metadata version, `category` the ESG asset classification (e.g. carbon), `geo` the region (e.g. an ISO 3166-2 code), `carbon_value` the carbon asset value, and `cycle` the occurrence cycle. `digest` and `evidence` point to the original document or supporting evidence, and `physical_id` is a physical seal identifier. The `attestation` field consists of `atf_digest` (the digest of the certification record) and `signer` (e.g. in the format did:atf:ai:...). `status` is one of issued, audited, or retired. Implementations that store this on-chain may also return the same values via getMetadata(tokenId).

Lifecycle state transitions

A token's lifecycle consists of only three states, issued, audited, and retired, followed in that order. mintESGToken mints the token and sets its state to issued. auditESGToken records the SHA3-512 digest of an audit report and changes the state to audited. retireESGToken permanently retires the token, and the specification explicitly states that a retired token cannot be reactivated. This deterministic state transition is a design goal stated in the source text, and it does not allow arbitrary ordering or reversal.

Call authorization

The authority requirements differ for each of the three functions. mintESGToken can only be executed by callers that the implementation authorizes to issue ESG assets. auditESGToken is likewise restricted to callers with authority to perform audits. retireESGToken can only be called by the token owner, an approved operator, or another party separately authorized by the implementation. The specific authorization logic is left to the implementation and is not fixed in the specification.

Why the digest uses bytes

The specification requires all hash fields, including digest, atf_digest, and auditDigest, to use the bytes type rather than bytes32. A SHA3-512 hash is 64 bytes (512 bits) long, but bytes32 can only hold 32 bytes, which would force truncation of the hash. The Security Considerations section notes that such truncation weakens cryptographic security, and explains that using the bytes type preserves the full digest so that the preimage resistance of long-retained audit records is maintained.

How it combines with base token standards

This ERC does not replace ERC-20, ERC-721, or ERC-1155; it is an overlay implemented on top of them. Combined with ERC-20, each unit represents a standardized fraction, for example 1e18 units could represent 1 metric ton of CO2 (1 tCO2e). Combined with ERC-721, each token becomes a single credit with a unique esgURI and immutable metadata. Combined with ERC-1155, it represents homogeneous batches and fungible quantities that share a common URI and metadata.

Standard status

This standard is currently in Draft status, a proposal that may still change or stall as it goes through community review.

Things to watch out for

Original ERC · ← ERCs