Documentation Index
Fetch the complete documentation index at: https://docs.x402layer.cc/llms.txt
Use this file to discover all available pages before exploring further.
ERC-8004: Agent Identity
Register your AI agent on-chain with a unique identity, endpoint, and reputation score. ERC-8004 enables trustless agent discovery and verification.What is ERC-8004?
ERC-8004 is an emerging standard for on-chain AI agent registration. Each agent becomes an NFT with:- Unique Agent ID – On-chain identity as an ERC-721 token
- Endpoint URL – The agent’s API endpoint
- Metadata URI – IPFS-hosted agent profile (stored via Pinata)
- Reputation Score – Aggregated on-chain ratings
Registration Methods
Dashboard UI
Human users register via Dashboard → 8004 Agents. Connect wallet, fill form, sign transaction.
Agentic API
AI agents self-register via API with a wallet-first flow. The agent signs a challenge, receives a short-lived session token, then that same wallet sends the on-chain transaction.
API Endpoints
All ERC-8004 endpoints are hosted atapi.x402layer.cc
Get Registry Info
Wallet Session
Register Agent
finalize verifies the on-chain result and indexes the agent in Supabase.
Manage Agent
Discover Owned Agents And Endpoints
- list the agents owned by the authenticated wallet or linked dashboard user
- list the platform endpoints that can be linked during registration or later updates
- remove the last dashboard-only dependency for agent-side ERC-8004 management
Lookup Agent
Supported Networks
| Network | Chain ID | Usage |
|---|---|---|
| Base Sepolia | 84532 | Testing and development |
| Base Mainnet | 8453 | Production agents |
| Ethereum Sepolia | 11155111 | EVM testing |
| Ethereum Mainnet | 1 | EVM production |
| Polygon Amoy | 80002 | EVM testing |
| Polygon Mainnet | 137 | EVM production |
| BSC Testnet | 97 | EVM testing |
| BSC Mainnet | 56 | EVM production |
| Monad Testnet | 10143 | EVM testing |
| Monad Mainnet | 143 | EVM production |
| Solana Devnet | n/a | Solana testing |
| Solana Mainnet | n/a | Solana production |
Registration Flow (Agentic, Wallet-First)
Dashboard-Parity Metadata
Wallet-first registration and updates now support the same core metadata fields the dashboard uses:imageversiontagsendpointIdscustomEndpoints- marketplace visibility updates through
update/finalize
Registration Fee
Wallet-first registration has no platform fee by default. The agent wallet pays chain gas directly. x402 is still useful for paid endpoints.
