Skip to content

Conversation

@nxt3d
Copy link

@nxt3d nxt3d commented Oct 15, 2025

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.

Introduces a new standard for storing arbitrary metadata directly onchain
for ERC-721, ERC-1155, ERC-6909, and ERC-8004 registries.

Key features:
- String-key, bytes-value metadata store interface
- 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.
@eip-review-bot
Copy link
Collaborator

eip-review-bot commented Oct 15, 2025

File ERCS/erc-8048.md

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

nxt3d and others added 3 commits October 17, 2025 09:59
I agree. Sounds good.

Co-authored-by: Andrew B Coathup <[email protected]>
thx!

Co-authored-by: Andrew B Coathup <[email protected]>
Co-authored-by: Andrew B Coathup <[email protected]>
@github-actions github-actions bot removed the w-ci label Oct 17, 2025
@nxt3d nxt3d changed the title Add ERC: Onchain Metadata for Multi-Token and NFT Registries Add ERC: Onchain Metadata for Token Registries Oct 17, 2025
- Rename ERCS/_onchain-metadata.md to ERCS/erc-8048.md to match assigned ERC number
- Update created date from 2025-10-2 to 2025-9-30
@nxt3d nxt3d changed the title Add ERC: Onchain Metadata for Token Registries ERC-8048: Onchain Metadata for Token Registries Oct 17, 2025
@github-actions github-actions bot added the w-ci label Oct 17, 2025
@eip-review-bot eip-review-bot changed the title ERC-8048: Onchain Metadata for Token Registries Add ERC: Onchain Metadata for Token Registries Oct 17, 2025
@github-actions github-actions bot added w-ci and removed w-ci labels Oct 17, 2025
@nxt3d nxt3d changed the title Add ERC: Onchain Metadata for Token Registries ERC-8048: Onchain Metadata for Token Registries Oct 17, 2025
- Add Optional Diamond Storage section specifying namespace 'erc8048.onchain.metadata.storage'
- Add Diamond Storage reference implementation with predictable storage locations
- Update pragma to ^0.8.25 in Basic Implementation
- Add security considerations for Diamond Storage (ERC-8042)
- Clarify benefits for cross-chain applications using inclusion proofs
- Add both Basic and Diamond Storage implementation examples
@eip-review-bot eip-review-bot changed the title ERC-8048: Onchain Metadata for Token Registries Add ERC: Onchain Metadata for Token Registries Oct 25, 2025
@github-actions github-actions bot removed the w-ci label Oct 25, 2025
@nxt3d nxt3d changed the title Add ERC: Onchain Metadata for Token Registries ERC-: Onchain Metadata for Token Registries Oct 25, 2025
@nxt3d nxt3d changed the title ERC-: Onchain Metadata for Token Registries ERC-8048: Onchain Metadata for Token Registries Oct 25, 2025
@github-actions
Copy link

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

@github-actions github-actions bot added the w-ci label Oct 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants