IDENTITY STANDARD

ERC-8004: The On-Chain Identity Standard for Autonomous AI Agents on Injective

An NFT-based identity standard purpose-built for autonomous agents. Not a wallet. A verifiable entity with a public profile, fee routing, and a track record anyone can audit.

WHAT IT IS

Identity for agents, not wallets.

ERC-8004 is an on-chain identity standard developed by Injective Labs for autonomous AI agents operating in decentralized finance. When a developer registers an agent using the Injective Agent CLI, the protocol mints an NFT-based token representing the agent as a first-class on-chain entity rather than a standard wallet address. ERC-8004 is modeled after ERC-721 (the Ethereum NFT standard) but purpose-built for AI agent infrastructure on the Injective EVM (Chain ID 1776).

ERC-8004 addresses a fundamental gap in the emerging AI agent economy: the absence of persistent, verifiable identity for autonomous systems. As AI agents begin managing capital, executing trades, and transacting with other agents on-chain, the ability to verify an agent's history, capabilities, and reputation becomes critical infrastructure. ERC-8004 provides that foundation on Injective.

The token stores your agent's name, type, capabilities, and a metadata URI pointing to an IPFS-hosted agent card. It also stores a fee recipient address, the wallet that automatically receives protocol fees from every trade your agent executes.

Unlike a wallet, an ERC-8004 token builds verifiable reputation over time. Every trade, every registered update, and every status change is permanently on-chain. Other agents, users, and protocols can look up any agent by token ID and audit its full history.

IDENTITY VS WALLET

How it differs from a wallet.

A Wallet

  • Holds assets
  • Anonymous by default
  • No metadata
  • No reputation primitive
  • Fees go to the address, not an attributed entity

An ERC-8004 Agent

  • Has a verifiable on-chain identity
  • Public name, type, and capabilities
  • IPFS-hosted agent card
  • Builds reputation over time
  • Automatic fee attribution per trade
ON-CHAIN FIELDS

What gets stored.

FieldTypeDescription
tokenIduint256Unique identifier for the agent. Assigned at registration. Used to look up the agent in the registry and via the CLI.
agentTypestringCategory of agent (e.g. "trading", "data", "liquidation"). Used for filtering in the registry.
metadataURIstringIPFS URI pointing to the agent card JSON. Contains name, description, capabilities, and any off-chain metadata.
feeRecipientaddressEVM address that receives protocol fees from every trade the agent executes. Set at registration; updatable.
statusenumActive or Deregistered. Deregistered agents remain in history but are marked inactive.
MINTING

Three steps to a live identity.

1

Install CLI

Clone injective-agent-cli, build, and link globally.

2

Configure Key

Set your private key in .env. Fund address with testnet INJ.

3

Register

inj-agent register mints your ERC-8004 token. Done.

AUDITABILITY

Anyone can verify any agent.

Every ERC-8004 token is publicly readable on Injective's EVM (Chain ID 1776). The agent registry indexes all registered agents and exposes their full on-chain profile, including token ID, agent type, IPFS-hosted metadata, fee recipient address, and current status, via the registry UI and direct contract calls. To audit any agent: look up its token ID in the registry, call the ERC-8004 contract directly on 8004scan.io, or run inj-agent status [tokenId]. No third-party trust required.

FAQ

Common questions.

Is ERC-8004 an Ethereum standard?
No. ERC-8004 is an Injective-native identity standard for autonomous AI agents, not an Ethereum Improvement Proposal (EIP). It is inspired by ERC-721, the Ethereum NFT standard, but is purpose-built for AI agent infrastructure on the Injective EVM (Chain ID 1776). The ERC naming convention is used because Injective supports full EVM compatibility, but the standard is specific to Injective mainnet and does not exist on Ethereum.
Can I update my agent's metadata after registration?
Yes. Run inj-agent update with the relevant flags to update on-chain metadata: --name for the agent name, --description for the description, and --metadataURI to point to a new IPFS-hosted agent card. The token ID and ownership address are permanent and cannot be changed after minting.
What happens if I deregister my agent?
Deregistering an agent updates its status in the ERC-8004 contract from Active to Deregistered. The token itself, including its full trading history, metadata, and all on-chain activity, remains permanently on Injective's ledger and cannot be deleted. The agent will no longer appear in the active registry view, but its complete history remains auditable via token ID lookup or direct contract query. Deregistration is reversible: run inj-agent register again to mint a new identity with a different token ID.
Can one wallet own multiple ERC-8004 agent tokens?
Yes. One wallet can own any number of ERC-8004 agent tokens. Each inj-agent register call mints a new token ID and creates an independent agent identity with its own metadata, capabilities, and fee recipient address. Run inj-agent list to view all agents owned by your wallet address. This is useful for operating multiple strategies or agent types from a single wallet.

Your agent deserves an identity.

ERC-8004 v1.2·Injective EVM · Chain ID 1776
Offline