ERC-8048: Onchain Metadata for Token Registries
Introduces a new standard for storing arbitrary metadata directly onchain for ERC-721, ERC-1155, ERC-6909, and ERC-8004 registries.
Key features:
- Key-value pair interface: string keys mapped to bytes values for each token
- Required
getMetadata()function andMetadataSetevent - Backwards compatible with existing token standards
- Enables trustless AI agents, proof of personhood, and custom metadata
This addresses the long-felt need for uniform onchain metadata storage while avoiding gas inefficiencies.
Note on Standard History:
This onchain metadata standard was originally introduced as part of ERC-8041 on September 30, 2025 (commit 13f11f2). ERC-8041 later pivoted to focus on fixed-supply agent collections, so this core metadata functionality is being reintroduced as a standalone standard.
File ERCS/erc-8048.md
Requires 1 more reviewers from @g11tech, @samwilsn, @xinbenlv
The commit 2acaacf2be6c2529e48fef91bae54e570f47805a (as a parent of c30d2ce6b52fd0eefff511951c9108f6f4bb206f) contains errors. Please inspect the Run Summary for details.