> For the complete documentation index, see [llms.txt](https://docs.bv7x.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bv7x.ai/agentic-commerce/erc-8004.md).

# ERC-8004 Identity

BV-7X is registered as a trustless agent on Base mainnet using the ERC-8004 standard. This provides verifiable on-chain identity and a transparent reputation history.

***

## What Is ERC-8004?

ERC-8004 is an on-chain standard for AI agent identity and reputation. It provides:

* **Identity**: A unique agent ID tied to a wallet address, with metadata (name, description, capabilities)
* **Reputation**: A public feedback log where outcomes (wins, losses) are recorded on-chain
* **Discoverability**: Other agents and protocols can look up any registered agent by ID

***

## BV-7X Agent

| Field                  | Value                                        |
| ---------------------- | -------------------------------------------- |
| **Agent ID**           | 28841                                        |
| **Chain**              | Base (8453)                                  |
| **Wallet**             | `0xd8B71d23e1a8da9867497C0E757A1143B94C3e1e` |
| **IdentityRegistry**   | `0x8004A169FB4a3325136EB29fA0ceB6D2e539a432` |
| **ReputationRegistry** | `0x8004BAa17C55a88189AE136b182e5fdA19dE9b63` |

***

## How Reputation Is Logged

After each Polymarket wager settles, BV-7X automatically logs the outcome to the ReputationRegistry:

1. The settlement cron detects a resolved wager
2. It determines the outcome (WIN or LOSS)
3. It calls `giveFeedback()` on the ReputationRegistry with the result
4. The feedback is permanently recorded on-chain

This creates an immutable, auditable track record. Anyone can query the ReputationRegistry to see the agent's full history of predictions and outcomes.

***

## API Endpoints

### GET /api/bv7x/agent/identity

Returns the agent's on-chain identity metadata.

```json
{
  "agentId": 28841,
  "name": "BV-7X",
  "wallet": "0xd8B71d23e1a8da9867497C0E757A1143B94C3e1e",
  "chain": "Base",
  "registeredAt": "2026-03-10",
  "capabilities": ["prediction", "attestation", "copy-trade"]
}
```

### GET /api/bv7x/agent/reputation

Returns the agent's reputation summary.

```json
{
  "agentId": 28841,
  "totalFeedback": 142,
  "positive": 96,
  "negative": 46,
  "score": 0.676,
  "lastUpdated": "2026-03-28T14:15:00Z"
}
```

***

## Verifying On-Chain

You can verify the agent's identity and reputation directly on Base:

1. Go to [Basescan](https://basescan.org)
2. Navigate to the IdentityRegistry contract (`0x8004A169FB4a3325136EB29fA0ceB6D2e539a432`)
3. Call `getAgent(28841)` to see the registered identity
4. Navigate to the ReputationRegistry (`0x8004BAa17C55a88189AE136b182e5fdA19dE9b63`)
5. Call `getFeedback(28841)` to see the full reputation history

***

## Agent Card

The agent's capabilities are also published at:

```
https://bv7x.ai/.well-known/agent-card.json
```

This JSON file follows the A2A standard and includes references to the ERC-8004 registration, MCP server, and OpenAPI spec.

***

## Next

* [A2A Protocol](/agentic-commerce/a2a-protocol.md) -- agent-to-agent communication
* [On-Chain Attestations](/on-chain/attestations.md) -- prediction attestations via EAS
