{
  "schemaVersion": "1.0",
  "item": {
    "slug": "erc-8004",
    "name": "ERC-8004 Trustless Agents",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/sp0oby/erc-8004",
    "canonicalUrl": "https://clawhub.ai/sp0oby/erc-8004",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/erc-8004",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=erc-8004",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "lib/contracts.json",
      "scripts/common.sh",
      "scripts/feedback.sh",
      "scripts/query.sh"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/erc-8004"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/erc-8004",
    "agentPageUrl": "https://openagent3.xyz/skills/erc-8004/agent",
    "manifestUrl": "https://openagent3.xyz/skills/erc-8004/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/erc-8004/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "ERC-8004: Trustless Agents",
        "body": "On-chain identity, reputation, and validation for autonomous agents. Now live on Ethereum Mainnet!"
      },
      {
        "title": "Overview",
        "body": "ERC-8004 provides three registries:\n\nIdentity Registry - ERC-721 agent identities with registration metadata\nReputation Registry - Signed feedback scores between agents/clients\nValidation Registry - Independent verification (zkML, TEE, stakers)"
      },
      {
        "title": "Register Agent",
        "body": "./scripts/register.sh --uri \"ipfs://...\" --network mainnet\n./scripts/register.sh --network sepolia  # Testnet (no URI, set later)"
      },
      {
        "title": "Query Agents",
        "body": "./scripts/query.sh total --network mainnet    # Total registered\n./scripts/query.sh agent 1 --network mainnet  # Agent details\n./scripts/query.sh reputation 1               # Reputation summary"
      },
      {
        "title": "Update Agent",
        "body": "./scripts/set-uri.sh --agent-id 1 --uri \"ipfs://newHash\" --network mainnet"
      },
      {
        "title": "Give Feedback",
        "body": "./scripts/feedback.sh --agent-id 1 --score 85 --tag1 \"quality\"\n./scripts/feedback.sh --agent-id 1 --score 9977 --decimals 2 --tag1 \"uptime\""
      },
      {
        "title": "Networks",
        "body": "NetworkStatusIdentity RegistryReputation RegistryMainnetLive0x8004A169FB4a3325136EB29fA0ceB6D2e539a4320x8004BAa17C55a88189AE136b182e5fdA19dE9b63SepoliaLive0x8004A818BFB912233c491871b3d84c89A494BD9e0x8004B663056A597Dffe9eCcC1965A193B7388713BaseComingTBDTBDArbitrumComingTBDTBDOptimismComingTBDTBD\n\nContract addresses in lib/contracts.json."
      },
      {
        "title": "Registration File Format",
        "body": "{\n  \"type\": \"https://eips.ethereum.org/EIPS/eip-8004#registration-v1\",\n  \"name\": \"your-agent-name\",\n  \"description\": \"Agent description...\",\n  \"image\": \"ipfs://...\",\n  \"services\": [\n    { \"name\": \"A2A\", \"endpoint\": \"https://agent.example/.well-known/agent-card.json\", \"version\": \"0.3.0\" },\n    { \"name\": \"MCP\", \"endpoint\": \"https://mcp.agent.eth/\", \"version\": \"2025-06-18\" },\n    { \"name\": \"ENS\", \"endpoint\": \"yourname.eth\" }\n  ],\n  \"registrations\": [\n    { \"agentRegistry\": \"eip155:1:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432\", \"agentId\": \"1\" }\n  ],\n  \"supportedTrust\": [\"reputation\", \"crypto-economic\", \"tee-attestation\"]\n}\n\nTemplate at templates/registration.json."
      },
      {
        "title": "Reputation Scores",
        "body": "The reputation system uses signed fixed-point numbers (value + valueDecimals):\n\nTagMeaningExamplevaluedecimalsstarredQuality (0-100)87/100870uptimeUptime %99.77%99772tradingYieldYield %-3.2%-321responseTimeLatency ms560ms5600"
      },
      {
        "title": "Trust Models",
        "body": "ERC-8004 supports three pluggable trust models:\n\nReputation-based - Client feedback with scores, tags, and metadata\nCrypto-economic - Stake-secured validation with economic incentives\nCrypto-verification - TEE attestations and zkML proofs"
      },
      {
        "title": "Dependencies",
        "body": "cast (Foundry) - curl -L https://foundry.paradigm.xyz | bash\njq - brew install jq\nPrivate key in ~/.clawdbot/wallets/.deployer_pk or PRIVATE_KEY env\nIPFS: Set PINATA_JWT for uploads, or upload manually"
      },
      {
        "title": "Official",
        "body": "EIP-8004 Spec - Full specification\n8004.org - Official website\nReference Implementation - Contract source\nTelegram Community - Builder chat\nBuilder Program - Join the ecosystem"
      },
      {
        "title": "SDKs & Tools",
        "body": "ChaosChain SDK - JS/TS SDK\nerc-8004-js - Lightweight JS library\nerc-8004-py - Python implementation\nVistara Example - Full demo with AI agents"
      },
      {
        "title": "Ecosystem",
        "body": "Awesome ERC-8004 - Curated resource list\nA2A Protocol - Agent-to-Agent protocol ERC-8004 extends\nEthereum Magicians Discussion"
      },
      {
        "title": "Genesis Month (February 2026)",
        "body": "ERC-8004 launched on mainnet January 29, 2026. February is \"Genesis Month\" - showcasing teams building the agentic economy. Get involved!"
      }
    ],
    "body": "ERC-8004: Trustless Agents\n\nOn-chain identity, reputation, and validation for autonomous agents. Now live on Ethereum Mainnet!\n\nOverview\n\nERC-8004 provides three registries:\n\nIdentity Registry - ERC-721 agent identities with registration metadata\nReputation Registry - Signed feedback scores between agents/clients\nValidation Registry - Independent verification (zkML, TEE, stakers)\nQuick Reference\nRegister Agent\n./scripts/register.sh --uri \"ipfs://...\" --network mainnet\n./scripts/register.sh --network sepolia  # Testnet (no URI, set later)\n\nQuery Agents\n./scripts/query.sh total --network mainnet    # Total registered\n./scripts/query.sh agent 1 --network mainnet  # Agent details\n./scripts/query.sh reputation 1               # Reputation summary\n\nUpdate Agent\n./scripts/set-uri.sh --agent-id 1 --uri \"ipfs://newHash\" --network mainnet\n\nGive Feedback\n./scripts/feedback.sh --agent-id 1 --score 85 --tag1 \"quality\"\n./scripts/feedback.sh --agent-id 1 --score 9977 --decimals 2 --tag1 \"uptime\"\n\nNetworks\nNetwork\tStatus\tIdentity Registry\tReputation Registry\nMainnet\tLive\t0x8004A169FB4a3325136EB29fA0ceB6D2e539a432\t0x8004BAa17C55a88189AE136b182e5fdA19dE9b63\nSepolia\tLive\t0x8004A818BFB912233c491871b3d84c89A494BD9e\t0x8004B663056A597Dffe9eCcC1965A193B7388713\nBase\tComing\tTBD\tTBD\nArbitrum\tComing\tTBD\tTBD\nOptimism\tComing\tTBD\tTBD\n\nContract addresses in lib/contracts.json.\n\nRegistration File Format\n{\n  \"type\": \"https://eips.ethereum.org/EIPS/eip-8004#registration-v1\",\n  \"name\": \"your-agent-name\",\n  \"description\": \"Agent description...\",\n  \"image\": \"ipfs://...\",\n  \"services\": [\n    { \"name\": \"A2A\", \"endpoint\": \"https://agent.example/.well-known/agent-card.json\", \"version\": \"0.3.0\" },\n    { \"name\": \"MCP\", \"endpoint\": \"https://mcp.agent.eth/\", \"version\": \"2025-06-18\" },\n    { \"name\": \"ENS\", \"endpoint\": \"yourname.eth\" }\n  ],\n  \"registrations\": [\n    { \"agentRegistry\": \"eip155:1:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432\", \"agentId\": \"1\" }\n  ],\n  \"supportedTrust\": [\"reputation\", \"crypto-economic\", \"tee-attestation\"]\n}\n\n\nTemplate at templates/registration.json.\n\nReputation Scores\n\nThe reputation system uses signed fixed-point numbers (value + valueDecimals):\n\nTag\tMeaning\tExample\tvalue\tdecimals\nstarred\tQuality (0-100)\t87/100\t87\t0\nuptime\tUptime %\t99.77%\t9977\t2\ntradingYield\tYield %\t-3.2%\t-32\t1\nresponseTime\tLatency ms\t560ms\t560\t0\nTrust Models\n\nERC-8004 supports three pluggable trust models:\n\nReputation-based - Client feedback with scores, tags, and metadata\nCrypto-economic - Stake-secured validation with economic incentives\nCrypto-verification - TEE attestations and zkML proofs\nDependencies\ncast (Foundry) - curl -L https://foundry.paradigm.xyz | bash\njq - brew install jq\nPrivate key in ~/.clawdbot/wallets/.deployer_pk or PRIVATE_KEY env\nIPFS: Set PINATA_JWT for uploads, or upload manually\nResources\nOfficial\nEIP-8004 Spec - Full specification\n8004.org - Official website\nReference Implementation - Contract source\nTelegram Community - Builder chat\nBuilder Program - Join the ecosystem\nSDKs & Tools\nChaosChain SDK - JS/TS SDK\nerc-8004-js - Lightweight JS library\nerc-8004-py - Python implementation\nVistara Example - Full demo with AI agents\nEcosystem\nAwesome ERC-8004 - Curated resource list\nA2A Protocol - Agent-to-Agent protocol ERC-8004 extends\nEthereum Magicians Discussion\nGenesis Month (February 2026)\n\nERC-8004 launched on mainnet January 29, 2026. February is \"Genesis Month\" - showcasing teams building the agentic economy. Get involved!"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/sp0oby/erc-8004",
    "publisherUrl": "https://clawhub.ai/sp0oby/erc-8004",
    "owner": "sp0oby",
    "version": "1.2.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/erc-8004",
    "downloadUrl": "https://openagent3.xyz/downloads/erc-8004",
    "agentUrl": "https://openagent3.xyz/skills/erc-8004/agent",
    "manifestUrl": "https://openagent3.xyz/skills/erc-8004/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/erc-8004/agent.md"
  }
}