Loading...
Loading...
ERC-8004 identity, reputation, and validation — register identities, retrieve identity info by agent ID, query reputation scores, submit peer feedback, and request or check third-party validation status.
npx skill4agent add aibtcdev/skills erc8004bun run erc8004/erc8004.ts <subcommand> [options]bun run erc8004/erc8004.ts register [--uri <uri>] [--metadata <json>] [--fee <fee>] [--sponsored]--uri--metadata{"key": "...", "value": "<hex>"}--feelowmediumhigh--sponsored{
"success": true,
"txid": "0xabc...",
"message": "Identity registration transaction submitted. Check transaction result to get your agent ID.",
"network": "mainnet",
"explorerUrl": "https://explorer.hiro.so/txid/0xabc..."
}bun run erc8004/erc8004.ts get-identity <address><address>{
"success": true,
"agentId": 42,
"owner": "SP1...",
"uri": "ipfs://...",
"wallet": "SP2...",
"network": "mainnet"
}bun run erc8004/erc8004.ts get-reputation <address><address>{
"success": true,
"agentId": 42,
"totalFeedback": 10,
"summaryValue": 85,
"summaryValueDecimals": 0,
"network": "mainnet"
}bun run erc8004/erc8004.ts give-feedback <address> <score> <comment> [--fee <fee>] [--sponsored]<address><score><comment>--feelowmediumhigh--sponsored{
"success": true,
"txid": "0xdef...",
"message": "Feedback submitted for agent 42.",
"agentId": 42,
"value": 5,
"network": "mainnet",
"explorerUrl": "https://explorer.hiro.so/txid/0xdef..."
}bun run erc8004/erc8004.ts request-validation <address> --validator <validator-address> --request-uri <uri> --request-hash <hex> [--fee <fee>] [--sponsored]<address>--validator--request-uri--request-hash--feelowmediumhigh--sponsored{
"success": true,
"txid": "0xghi...",
"message": "Validation requested from SP3... for agent 42.",
"validator": "SP3...",
"agentId": 42,
"network": "mainnet",
"explorerUrl": "https://explorer.hiro.so/txid/0xghi..."
}bun run erc8004/erc8004.ts validation-status <request-id><request-id>{
"success": true,
"requestHash": "abc123...",
"validator": "SP3...",
"agentId": 42,
"response": 90,
"hasResponse": true,
"tag": "trusted",
"lastUpdate": 12345,
"network": "mainnet"
}get-identityget-reputationvalidation-statusregistergive-feedbackrequest-validationbun run wallet/wallet.ts unlock