-
Couldn't load subscription status.
- Fork 795
ERC-8048: Onchain Metadata for Token Registries #1259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
nxt3d
wants to merge
8
commits into
ethereum:master
Choose a base branch
from
nxt3d:onchain-metadata-branch
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+176
−0
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
abcoathup
reviewed
Oct 17, 2025
abcoathup
reviewed
Oct 17, 2025
abcoathup
reviewed
Oct 17, 2025
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]>
- 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
- 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
|
The commit 2acaacf (as a parent of c30d2ce) contains errors. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Introduces a new standard for storing arbitrary metadata directly onchain for ERC-721, ERC-1155, ERC-6909, and ERC-8004 registries.
Key features:
getMetadata()function andMetadataSeteventThis 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.