{
  "schemaVersion": "1.0",
  "item": {
    "slug": "8004-skill",
    "name": "8004 Skill",
    "source": "tencent",
    "type": "skill",
    "category": "金融交易",
    "sourceUrl": "https://clawhub.ai/SpyderJR/8004-skill",
    "canonicalUrl": "https://clawhub.ai/SpyderJR/8004-skill",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/8004-skill",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=8004-skill",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "CHANGELOG.md",
      "README.md",
      "SKILL.md",
      "_meta.json",
      "lib/bsc-abi.json",
      "lib/contracts.json"
    ],
    "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",
      "slug": "8004-skill",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T17:56:30.016Z",
      "expiresAt": "2026-04-30T17:56:30.016Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=8004-skill",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=8004-skill",
        "contentDisposition": "attachment; filename=\"8004-skill-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "8004-skill"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/8004-skill"
    },
    "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/8004-skill",
    "agentPageUrl": "https://openagent3.xyz/skills/8004-skill/agent",
    "manifestUrl": "https://openagent3.xyz/skills/8004-skill/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/8004-skill/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 on TRON & BSC",
        "body": "On-chain identity, reputation, and validation for autonomous agents on TRON. Now live on TRON Mainnet + BSC Mainnet!"
      },
      {
        "title": "Overview",
        "body": "ERC-8004 provides three registries on TRON and BSC blockchains:\n\nIdentity Registry - TRC-721 agent identities with registration metadata\nReputation Registry - Signed feedback scores between agents/clients\nValidation Registry - Independent verification (zkML, TEE, stakers)\n\nMulti-Chain: Same protocol works on TRON and BSC (BNB Smart Chain) - both fully deployed!"
      },
      {
        "title": "Register Agent",
        "body": "# TRON Mainnet\nnode scripts/register.js --uri \"ipfs://...\" --chain tron --network mainnet\n\n# TRON Testnet\nnode scripts/register.js --uri \"ipfs://...\" --chain tron --network nile\n\n# BSC Mainnet\nnode scripts/register.js --uri \"ipfs://...\" --chain bsc --network mainnet\n\n# BSC Testnet\nnode scripts/register.js --uri \"ipfs://...\" --chain bsc --network testnet\n\n# Register without URI (set later)\nnode scripts/register.js --chain tron --network nile"
      },
      {
        "title": "Private Key Setup",
        "body": "# Set once, works for both TRON and BSC\nexport TRON_PRIVATE_KEY=\"your_64_character_hex_private_key\""
      },
      {
        "title": "TRON Networks",
        "body": "NetworkStatusIdentity RegistryReputation RegistryValidation RegistryMainnetLiveTFLvivMdKsk6v2GrwyD2apEr9dU1w7p7FyTFbvfLDa4eFqNR5vy24nTrhgZ74HmQ6yatTLCWcW8Qmo7QMNoAKfBhGYfGpHkw1krUEmNileLiveTDDk4vc69nzBCbsY4kfu7gw2jmvbinirj5TBVaGd6mBuGuN5ebcvPvRaJo4rtEWqsW6YTGGkHDHhBzhFcLNcEogAWJkvfFYy4jyrSwShastaLiveTH775ZzfJ5V25EZkFuX6SkbAP53ykXTcmaTTkds2ZZKBTChZHho4wcWAa7eWQTxh5TUTTQBFHtKRiaQjc1xp4LtmmXKYdA7JLN89w3\n\nNote: TRON deployments implement TRC-8004 (TRON version of ERC-8004). Query scripts use compatibility mode:\n\n✅ Always available: ownerOf, tokenURI (ERC-721 standard)\n⚠️ May vary: agentURI, getAgentWallet, agentExists (ERC-8004 extensions)"
      },
      {
        "title": "BSC Networks",
        "body": "NetworkStatusIdentity RegistryReputation RegistryValidation RegistryBSC MainnetLive0x8004A169FB4a3325136EB29fA0ceB6D2e539a4320x8004BAa17C55a88189AE136b182e5fdA19dE9b630x8004Cc8439f36fd5F9F049D9fF86523Df6dAAB58BSC TestnetLive0x8004A818BFB912233c491871b3d84c89A494BD9e0x8004B663056A597Dffe9eCcC1965A193B73887130x8004Cb1BF31DAf7788923b405b754f57acEB4272\n\nNote: BSC deployments use full ERC-8004 specification with all standard methods.\n\nMulti-Chain Usage:\n\n# TRON\nnode scripts/register.js --uri \"ipfs://...\" --chain tron --network mainnet\n\n# BSC\nnode scripts/register.js --uri \"ipfs://...\" --chain bsc --network mainnet\n\nContract addresses and ABIs 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.tron/\", \"version\": \"2025-06-18\" }\n  ],\n  \"registrations\": [\n    { \"agentRegistry\": \"tron:728126428:TFLvivMdKsk6v2GrwyD2apEr9dU1w7p7Fy\", \"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\nTagMeaningExamplevaluedecimalsqualityQuality (0-100)87/100870uptimeUptime %99.77%99772yieldYield %-3.2%-321latencyLatency 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": "node & npm - JavaScript runtime and package manager\ntronweb - TRON JavaScript SDK (npm install tronweb)\nPrivate key configuration (choose one):\n\nEnvironment variable: TRON_PRIVATE_KEY or PRIVATE_KEY\nFile: ~/.clawdbot/wallets/.deployer_pk\n\n\nIPFS: Set PINATA_JWT for uploads, or upload manually"
      },
      {
        "title": "Address Format",
        "body": "TRON uses Base58 addresses starting with 'T' (e.g., TFLvivMdKsk6v2GrwyD2apEr9dU1w7p7Fy)\nScripts automatically handle address conversion"
      },
      {
        "title": "Network Identifiers",
        "body": "Mainnet: tron:728126428 (TRON chain ID)\nUse in registration files: tron:728126428:TFLvivMdKsk6v2GrwyD2apEr9dU1w7p7Fy"
      },
      {
        "title": "Energy & Bandwidth",
        "body": "TRON uses Energy and Bandwidth instead of gas\nScripts set feeLimit: 1000000000 (1000 TRX max)\nActual costs are typically much lower"
      },
      {
        "title": "Official",
        "body": "EIP-8004 Spec - Full specification\n8004.org - Official website\nTelegram Community - Builder chat\nBuilder Program - Join the ecosystem"
      },
      {
        "title": "TRON Resources",
        "body": "TRON Developers - Official documentation\nTronScan - Block explorer\nTronWeb - JavaScript SDK\nTronGrid - API service"
      },
      {
        "title": "Ecosystem",
        "body": "Awesome ERC-8004 - Curated resource list\nA2A Protocol - Agent-to-Agent protocol TRC-8004 extends"
      },
      {
        "title": "Script Reference",
        "body": "All scripts support multi-chain (TRON + BSC):\n\nregister.js - Register new agent on-chain\nquery.js - Query agent info and reputation\nfeedback.js - Submit feedback/reputation scores\nset-uri.js - Update agent metadata URI\n\nRun any script without arguments to see detailed usage information."
      },
      {
        "title": "Complete Agent Workflow",
        "body": "# 1. Set private key (works for both TRON and BSC)\nexport TRON_PRIVATE_KEY=\"your_private_key\"\n\n# 2. Register agent on TRON testnet\nnode scripts/register.js --uri \"ipfs://QmYourHash\" --chain tron --network nile\n\n# 3. Query agent info (use ID from step 2)\nnode scripts/query.js agent 1 --chain tron --network nile\n\n# 4. Submit feedback\nnode scripts/feedback.js --agent-id 1 --score 95 --tag1 \"quality\" --chain tron --network nile\n\n# 5. Query reputation\nnode scripts/query.js reputation 1 --chain tron --network nile\n\n# 6. Update URI if needed\nnode scripts/set-uri.js --agent-id 1 --uri \"ipfs://QmNewHash\" --chain tron --network nile"
      },
      {
        "title": "Multi-Chain Examples",
        "body": "# Register on BSC testnet\nnode scripts/register.js --uri \"ipfs://...\" --chain bsc --network testnet\n\n# Query agent on BSC mainnet\nnode scripts/query.js agent 1 --chain bsc --network mainnet\n\n# Submit feedback on TRON mainnet\nnode scripts/feedback.js --agent-id 1 --score 98 --tag1 \"quality\" --chain tron --network mainnet"
      },
      {
        "title": "\"TRON_PRIVATE_KEY not set\"",
        "body": "# Option 1: Environment variable (recommended)\nexport TRON_PRIVATE_KEY=\"your_64_character_hex_private_key\"\n\n# Option 2: File storage\nmkdir -p ~/.clawdbot/wallets\necho \"your_private_key\" > ~/.clawdbot/wallets/.deployer_pk\nchmod 600 ~/.clawdbot/wallets/.deployer_pk"
      },
      {
        "title": "\"Insufficient balance\"",
        "body": "Ensure your wallet has TRX for transaction fees\nGet testnet TRX from Nile Faucet"
      },
      {
        "title": "\"Not the owner\"",
        "body": "Only the agent owner can update URI or metadata\nCheck ownership with query.js agent <id>"
      },
      {
        "title": "Security Notes",
        "body": "Never commit private keys to version control\nUse environment variables for sensitive data\nTest on Nile testnet before mainnet deployment\nVerify contract addresses in lib/contracts.json\n\nCompatible with ERC-8004 specification. TRON implementation is TRC-8004."
      }
    ],
    "body": "ERC-8004: Trustless Agents on TRON & BSC\n\nOn-chain identity, reputation, and validation for autonomous agents on TRON. Now live on TRON Mainnet + BSC Mainnet!\n\nOverview\n\nERC-8004 provides three registries on TRON and BSC blockchains:\n\nIdentity Registry - TRC-721 agent identities with registration metadata\nReputation Registry - Signed feedback scores between agents/clients\nValidation Registry - Independent verification (zkML, TEE, stakers)\n\nMulti-Chain: Same protocol works on TRON and BSC (BNB Smart Chain) - both fully deployed!\n\nQuick Reference\nRegister Agent\n# TRON Mainnet\nnode scripts/register.js --uri \"ipfs://...\" --chain tron --network mainnet\n\n# TRON Testnet\nnode scripts/register.js --uri \"ipfs://...\" --chain tron --network nile\n\n# BSC Mainnet\nnode scripts/register.js --uri \"ipfs://...\" --chain bsc --network mainnet\n\n# BSC Testnet\nnode scripts/register.js --uri \"ipfs://...\" --chain bsc --network testnet\n\n# Register without URI (set later)\nnode scripts/register.js --chain tron --network nile\n\nPrivate Key Setup\n# Set once, works for both TRON and BSC\nexport TRON_PRIVATE_KEY=\"your_64_character_hex_private_key\"\n\nNetworks\nTRON Networks\nNetwork\tStatus\tIdentity Registry\tReputation Registry\tValidation Registry\nMainnet\tLive\tTFLvivMdKsk6v2GrwyD2apEr9dU1w7p7Fy\tTFbvfLDa4eFqNR5vy24nTrhgZ74HmQ6yat\tTLCWcW8Qmo7QMNoAKfBhGYfGpHkw1krUEm\nNile\tLive\tTDDk4vc69nzBCbsY4kfu7gw2jmvbinirj5\tTBVaGd6mBuGuN5ebcvPvRaJo4rtEWqsW6Y\tTGGkHDHhBzhFcLNcEogAWJkvfFYy4jyrSw\nShasta\tLive\tTH775ZzfJ5V25EZkFuX6SkbAP53ykXTcma\tTTkds2ZZKBTChZHho4wcWAa7eWQTxh5TUT\tTQBFHtKRiaQjc1xp4LtmmXKYdA7JLN89w3\n\nNote: TRON deployments implement TRC-8004 (TRON version of ERC-8004). Query scripts use compatibility mode:\n\n✅ Always available: ownerOf, tokenURI (ERC-721 standard)\n⚠️ May vary: agentURI, getAgentWallet, agentExists (ERC-8004 extensions)\nBSC Networks\nNetwork\tStatus\tIdentity Registry\tReputation Registry\tValidation Registry\nBSC Mainnet\tLive\t0x8004A169FB4a3325136EB29fA0ceB6D2e539a432\t0x8004BAa17C55a88189AE136b182e5fdA19dE9b63\t0x8004Cc8439f36fd5F9F049D9fF86523Df6dAAB58\nBSC Testnet\tLive\t0x8004A818BFB912233c491871b3d84c89A494BD9e\t0x8004B663056A597Dffe9eCcC1965A193B7388713\t0x8004Cb1BF31DAf7788923b405b754f57acEB4272\n\nNote: BSC deployments use full ERC-8004 specification with all standard methods.\n\nMulti-Chain Usage:\n\n# TRON\nnode scripts/register.js --uri \"ipfs://...\" --chain tron --network mainnet\n\n# BSC\nnode scripts/register.js --uri \"ipfs://...\" --chain bsc --network mainnet\n\n\nContract addresses and ABIs 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.tron/\", \"version\": \"2025-06-18\" }\n  ],\n  \"registrations\": [\n    { \"agentRegistry\": \"tron:728126428:TFLvivMdKsk6v2GrwyD2apEr9dU1w7p7Fy\", \"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\nquality\tQuality (0-100)\t87/100\t87\t0\nuptime\tUptime %\t99.77%\t9977\t2\nyield\tYield %\t-3.2%\t-32\t1\nlatency\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\nnode & npm - JavaScript runtime and package manager\ntronweb - TRON JavaScript SDK (npm install tronweb)\nPrivate key configuration (choose one):\nEnvironment variable: TRON_PRIVATE_KEY or PRIVATE_KEY\nFile: ~/.clawdbot/wallets/.deployer_pk\nIPFS: Set PINATA_JWT for uploads, or upload manually\nTRON-Specific Features\nAddress Format\nTRON uses Base58 addresses starting with 'T' (e.g., TFLvivMdKsk6v2GrwyD2apEr9dU1w7p7Fy)\nScripts automatically handle address conversion\nNetwork Identifiers\nMainnet: tron:728126428 (TRON chain ID)\nUse in registration files: tron:728126428:TFLvivMdKsk6v2GrwyD2apEr9dU1w7p7Fy\nEnergy & Bandwidth\nTRON uses Energy and Bandwidth instead of gas\nScripts set feeLimit: 1000000000 (1000 TRX max)\nActual costs are typically much lower\nResources\nOfficial\nEIP-8004 Spec - Full specification\n8004.org - Official website\nTelegram Community - Builder chat\nBuilder Program - Join the ecosystem\nTRON Resources\nTRON Developers - Official documentation\nTronScan - Block explorer\nTronWeb - JavaScript SDK\nTronGrid - API service\nEcosystem\nAwesome ERC-8004 - Curated resource list\nA2A Protocol - Agent-to-Agent protocol TRC-8004 extends\nScript Reference\n\nAll scripts support multi-chain (TRON + BSC):\n\nregister.js - Register new agent on-chain\nquery.js - Query agent info and reputation\nfeedback.js - Submit feedback/reputation scores\nset-uri.js - Update agent metadata URI\n\nRun any script without arguments to see detailed usage information.\n\nExamples\nComplete Agent Workflow\n# 1. Set private key (works for both TRON and BSC)\nexport TRON_PRIVATE_KEY=\"your_private_key\"\n\n# 2. Register agent on TRON testnet\nnode scripts/register.js --uri \"ipfs://QmYourHash\" --chain tron --network nile\n\n# 3. Query agent info (use ID from step 2)\nnode scripts/query.js agent 1 --chain tron --network nile\n\n# 4. Submit feedback\nnode scripts/feedback.js --agent-id 1 --score 95 --tag1 \"quality\" --chain tron --network nile\n\n# 5. Query reputation\nnode scripts/query.js reputation 1 --chain tron --network nile\n\n# 6. Update URI if needed\nnode scripts/set-uri.js --agent-id 1 --uri \"ipfs://QmNewHash\" --chain tron --network nile\n\nMulti-Chain Examples\n# Register on BSC testnet\nnode scripts/register.js --uri \"ipfs://...\" --chain bsc --network testnet\n\n# Query agent on BSC mainnet\nnode scripts/query.js agent 1 --chain bsc --network mainnet\n\n# Submit feedback on TRON mainnet\nnode scripts/feedback.js --agent-id 1 --score 98 --tag1 \"quality\" --chain tron --network mainnet\n\nTroubleshooting\n\"TRON_PRIVATE_KEY not set\"\n# Option 1: Environment variable (recommended)\nexport TRON_PRIVATE_KEY=\"your_64_character_hex_private_key\"\n\n# Option 2: File storage\nmkdir -p ~/.clawdbot/wallets\necho \"your_private_key\" > ~/.clawdbot/wallets/.deployer_pk\nchmod 600 ~/.clawdbot/wallets/.deployer_pk\n\n\"Insufficient balance\"\nEnsure your wallet has TRX for transaction fees\nGet testnet TRX from Nile Faucet\n\"Not the owner\"\nOnly the agent owner can update URI or metadata\nCheck ownership with query.js agent <id>\nSecurity Notes\nNever commit private keys to version control\nUse environment variables for sensitive data\nTest on Nile testnet before mainnet deployment\nVerify contract addresses in lib/contracts.json\n\nCompatible with ERC-8004 specification. TRON implementation is TRC-8004."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/SpyderJR/8004-skill",
    "publisherUrl": "https://clawhub.ai/SpyderJR/8004-skill",
    "owner": "SpyderJR",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/8004-skill",
    "downloadUrl": "https://openagent3.xyz/downloads/8004-skill",
    "agentUrl": "https://openagent3.xyz/skills/8004-skill/agent",
    "manifestUrl": "https://openagent3.xyz/skills/8004-skill/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/8004-skill/agent.md"
  }
}