nirholas

Erc 8004 Demo Agent — Development skill for Claude Code

Development community

A demo agent to showcase 8004 registration best practices.

How to install Erc 8004 Demo Agent

This entry records only its repository, not the path inside it, so there is no exact command to give. Open nirholas/erc-8004-demo-agent and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Erc 8004 Demo Agent does

A demo agent to showcase 8004 registration best practices.

Alternatives in Development

  • Claude Integration Guide — FOR CLAUDE CODE: When a user asks you to integrate components from this showcase repository into their project 9.3k ★
  • Internet Court Skill — The trust layer for agent-to-agent commerce — natural-language mandates, ERC-7710 delegated permissions, x402 4.9k ★
  • Portaljs Add Chart — Add a chart (line, bar, area, pie, or scatter) to a dataset's showcase in a PortalJS portal 2.3k ★

README

8004-demo-agent

[ERC-8004](https://8004.org) · [Registration Guide](https://github.com/erc-8004/best-practices/blob/main/Registration.md) · [Reputation Guide](https://github.com/erc-8004/best-practices/blob/main/Reputation.md) · [Agent0 SDK](https://sdk.ag0.xyz/)


A demo agent to showcase ERC-8004 registration best practices.

Built using [create-8004-agent](https://www.npmjs.com/package/create-8004-agent)

Quick Start

1. Install dependencies

npm install

2. Configure environment

Edit `.env` and add your API keys:

# Already set if wallet was auto-generated
PRIVATE_KEY=your_private_key

# Get from https://pinata.cloud (free tier works)
PINATA_JWT=your_pinata_jwt

# Get from https://platform.openai.com
OPENAI_API_KEY=your_openai_key

3. Fund your wallet

Your agent wallet: `0x66615821b1340A544700c4bfdc8868Bf349C675B`

Get testnet ETH from: https://cloud.google.com/application/web3/faucet/ethereum/sepolia

4. Register on-chain

npm run register

This will:

  • Upload your agent metadata to IPFS
  • Register your agent on Ethereum Sepolia
  • Output your agent ID and 8004scan link

5. Start the A2A server

npm run start:a2a

Test locally: http://localhost:3000/.well-known/agent-card.json

6. Start the MCP server

npm run start:mcp

Project Structure

8004-demo-agent/
├── src/
│   ├── register.ts      # Registration script
│   ├── agent.ts         # LLM logic
│   └── a2a-server.ts   # A2A server
│   └── mcp-server.ts   # MCP server
├── .env                 # Environment variables (keep secret!)
└── package.json

OASF Skills & Domains (Optional)

Add capabilities and domain expertise to help others discover your agent.

Edit `src/register.ts` and uncomment/add before `registerIPFS()`:

// Add skills (what your agent can do)
agent.addSkill('natural_language_processing/natural_language_generation/summarization');
agent.addSkill('analytical_skills/coding_s