8004-skill
БесплатноЗапускает вложенные скриптыНе проверенERC-8004 Trustless Agents - Register and manage AI agent identities on TRON and BSC blockchains with on-chain reputation tracking
от modbender★ 21 звезда на GitHubОб этом скилле
ERC-8004: Trustless Agents on TRON & BSC
On-chain identity, reputation, and validation for autonomous agents on TRON. Now live on TRON Mainnet + BSC Mainnet!
Overview
ERC-8004 provides three registries on TRON and BSC blockchains:
- Identity Registry - TRC-721 agent identities with registration metadata
- Reputation Registry - Signed feedback scores between agents/clients
- Validation Registry - Independent verification (zkML, TEE, stakers)
Multi-Chain: Same protocol works on TRON and BSC (BNB Smart Chain) - both fully deployed!
Quick Reference
Register Agent
# TRON Mainnet
node scripts/register.js --uri "ipfs://..." --chain tron --network mainnet
# TRON Testnet
node scripts/register.js --uri "ipfs://..." --chain tron --network nile
# BSC Mainnet
node scripts/register.js --uri "ipfs://..." --chain bsc --network mainnet
# BSC Testnet
node scripts/register.js --uri "ipfs://..." --chain bsc --network testnet
# Register without URI (set later)
node scripts/register.js --chain tron --network nile
Private Key Setup
# Set once, works for both TRON and BSC
export TRON_PRIVATE_KEY="your_64_character_hex_private_key"
Networks
TRON Networks
| Network | Status | Identity Registry | Reputation Registry | Validation Registry |
|---|---|---|---|---|
| Mainnet | Live | TFLvivMdKsk6v2GrwyD2apEr9dU1w7p7Fy |
TFbvfLDa4eFqNR5vy24nTrhgZ74HmQ6yat |
TLCWcW8Qmo7QMNoAKfBhGYfGpHkw1krUEm |
| Nile | Live | TDDk4vc69nzBCbsY4kfu7gw2jmvbinirj5 |
TBVaGd6mBuGuN5ebcvPvRaJo4rtEWqsW6Y |
TGGkHDHhBzhFcLNcEogAWJkvfFYy4jyrSw |
| Shasta | Live | TH775ZzfJ5V25EZkFuX6SkbAP53ykXTcma |
TTkds2ZZKBTChZHho4wcWAa7eWQTxh5TUT |
TQBFHtKRiaQjc1xp4LtmmXKYdA7JLN89w3 |
Note: TRON deployments implement TRC-8004 (TRON version of ERC-8004). Query scripts use compatibility mode:
- ✅ Always available:
ownerOf,tokenURI(ERC-721 standard) - ⚠️ May vary:
agentURI,getAgentWallet,agentExists(ERC-8004 extensions)
BSC Networks
| Network | Status | Identity Registry | Reputation Registry | Validation Registry |
|---|---|---|---|---|
| BSC Mainnet | Live | 0x8004A169FB4a3325136EB29fA0ceB6D2e539a432 |
0x8004BAa17C55a88189AE136b182e5fdA19dE9b63 |
0x8004Cc8439f36fd5F9F049D9fF86523Df6dAAB58 |
| BSC Testnet | Live | 0x8004A818BFB912233c491871b3d84c89A494BD9e |
0x8004B663056A597Dffe9eCcC1965A193B7388713 |
0x8004Cb1BF31DAf7788923b405b754f57acEB4272 |
Note: BSC deployments use full ERC-8004 specification with all standard methods.
Multi-Chain Usage:
# TRON
node scripts/register.js --uri "ipfs://..." --chain tron --network mainnet
# BSC
node scripts/register.js --uri "ipfs://..." --chain bsc --network mainnet
Contract addresses and ABIs in lib/contracts.json.
Registration File Format
{
"type": "https://eips.ethereum.org/EIPS/eip-8004#registration-v1",
"name": "your-agent-name",
"description": "Agent description...",
"image": "ipfs://...",
"services": [
{ "name": "A2A", "endpoint": "https://agent.example/.well-known/agent-card.json", "version": "0.3.0" },
{ "name": "MCP", "endpoint": "https://mcp.agent.tron/", "version": "2025-06-18" }
],
"registrations": [
{ "agentRegistry": "tron:728126428:TFLvivMdKsk6v2GrwyD2apEr9dU1w7p7Fy", "agentId": "1" }
],
"supportedTrust": ["reputation", "crypto-economic", "tee-attestation"]
}
Template at templates/registration.json.
Reputation Scores
The reputation system uses signed fixed-point numbers (value + valueDecimals):
| Tag | Meaning | Example | value | decimals |
|---|---|---|---|---|
| quality | Quality (0-100) | 87/100 | 87 | 0 |
| uptime | Uptime % | 99.77% | 9977 | 2 |
| yield | Yield % | -3.2% | -32 | 1 |
| latency | Latency ms | 560ms | 560 | 0 |
Trust Models
ERC-8004 supports three pluggable trust models:
- Reputation-based - Client feedback with scores, tags, and metadata
- Crypto-economic - Stake-secured validation with economic incentives
- Crypto-verification - TEE attestations and zkML proofs
Dependencies
node&npm- JavaScript runtime and package managertronweb- TRON JavaScript SDK (npm install tronweb)- Private key configuration (choose one):
- Environment variable:
TRON_PRIVATE_KEYorPRIVATE_KEY - File:
~/.clawdbot/wallets/.deployer_pk
- Environment variable:
- IPFS: Set
PINATA_JWTfor uploads, or upload manually
TRON-Specific Features
Address Format
- TRON uses Base58 addresses starting with 'T' (e.g.,
TFLvivMdKsk6v2GrwyD2apEr9dU1w7p7Fy) - Scripts automatically handle address conversion
Network Identifiers
- Mainnet:
tron:728126428(TRON chain ID) - Use in registration files:
Установить 8004-skill в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл 8004-skill?
ERC-8004 Trustless Agents - Register and manage AI agent identities on TRON and BSC blockchains with on-chain reputation tracking
Как установить скилл 8004-skill?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл 8004-skill запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic