ERCs icon indicating copy to clipboard operation
ERCs copied to clipboard

ERC-8048: Onchain Metadata for Token Registries

Open nxt3d opened this issue 2 months ago • 2 comments

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 and MetadataSet event
  • 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.

nxt3d avatar Oct 15 '25 10:10 nxt3d

File ERCS/erc-8048.md

Requires 1 more reviewers from @g11tech, @samwilsn, @xinbenlv

eip-review-bot avatar Oct 15 '25 10:10 eip-review-bot

The commit 2acaacf2be6c2529e48fef91bae54e570f47805a (as a parent of c30d2ce6b52fd0eefff511951c9108f6f4bb206f) contains errors. Please inspect the Run Summary for details.

github-actions[bot] avatar Oct 25 '25 02:10 github-actions[bot]