Skip to content

Conversation

@nxt3d
Copy link
Contributor

@nxt3d nxt3d commented Feb 10, 2026

This PR introduces an onchain metadata extension for ERC-8004 agent registries. It defines a set of standard snake_case keys (name, description, image, agent_account, x402_support, active, supported_trust, and endpoint/ / endpoint//version) stored via ERC-8004’s existing getMetadata / setMetadata functions. Each key maps directly to a specific field in the ERC-8004 registration JSON, so the full JSON payload can be mirrored onchain when desired.
The extension is fully compatible with ERC-8004: existing agents that don’t use onchain metadata continue to work unchanged via agentURI, and registries don’t need new contracts or storage layouts. When both onchain values and an agentURI JSON exist, clients following this ERC are required to treat the per-key onchain values as authoritative overrides of the corresponding JSON fields, while agentURI maintains compatibility with ERC-8004.

nxt3d and others added 3 commits February 10, 2026 09:45
Define standard onchain metadata keys for ERC-8004 agent registries, including
, , , , and per-endpoint keys like
 and . Onchain values override the corresponding
fields in the ERC-8004 registration JSON (or data URLs), and
provides a more flexible account identifier than the reserved ,
including support for counterfactual and CAIP-10 style addresses.

Co-authored-by: Cursor <cursoragent@cursor.com>
Rename _metdata_extension to _metdata_extension.md so the draft follows the
ERCs repo markdown conventions. No content changes beyond the filename.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add snake_case keys for x402_support, active, and supported_trust, map them to
their corresponding ERC-8004 JSON fields, and document a simple sync guideline
between per-key onchain metadata and agentURI while keeping onchain values
authoritative when both are present.

Co-authored-by: Cursor <cursoragent@cursor.com>
@eip-review-bot
Copy link
Collaborator

eip-review-bot commented Feb 10, 2026

File ERCS/_metdata_extension.md

Requires 2 more reviewers from @g11tech, @jochem-brouwer, @lightclient, @SamWilsn, @xinbenlv

@github-actions
Copy link

The commit 9e45aee (as a parent of c807d4b) contains errors.
Please inspect the Run Summary for details.

@github-actions github-actions bot added the w-ci label Feb 10, 2026
@@ -0,0 +1,149 @@
---
eip: XXXX
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
eip: XXXX
eip: 8156

Assigning next sequential EIP/ERC/RIP number.
Numbers are assigned by editors & associates.

Please also update the filename.

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