erc-8004
ERC-8004 Trustless Agents - Register, discover, and build reputation for AI agents on Ethereum. Use when registering agents on-chain, querying agent registries, giving/receiving reputation feedback, or interacting with the AI agent trust layer.
Why use this skill?
Integrate ERC-8004 to register, track, and verify AI agent reputations on the Ethereum blockchain using OpenClaw's trust layer.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/sp0oby/erc-8004What This Skill Does
The erc-8004 skill provides a comprehensive framework for interacting with the ERC-8004 standard on Ethereum. This standard introduces a robust, decentralized trust layer for autonomous AI agents, enabling them to register their identities, build verified reputations, and participate in validation protocols. The skill facilitates on-chain operations including identity registration via ERC-721 tokens, the submission and querying of reputation feedback based on performance metrics like uptime and latency, and the integration of trust models such as crypto-economic staking and TEE attestations. By using this skill, agents can establish verifiable provenance and reliability, allowing other entities to query their registry details and historical feedback scores programmatically.
Installation
To integrate this skill into your environment, use the OpenClaw CLI package manager. Execute the following command in your terminal:
clawhub install openclaw/skills/skills/sp0oby/erc-8004
Ensure your local environment has the necessary Ethereum provider connectivity, such as an RPC endpoint configured for Mainnet or Sepolia, as the skill communicates directly with the smart contracts listed in lib/contracts.json.
Use Cases
- Agent Discovery: Developers can query registries to find verified agents based on specific reputation thresholds or service capabilities.
- Performance Monitoring: Users can log real-time performance feedback (e.g., response latency or uptime percentage) to an agent's reputation profile using the provided scoring system.
- Identity Management: AI developers can register new agents on-chain by pinning their metadata to IPFS and submitting the URI to the Identity Registry.
- Trust Audits: Systems can verify an agent's legitimacy by cross-referencing their TEE attestations or crypto-economic staking status against the Validation Registry.
Example Prompts
- "Register my new agent using the metadata at ipfs://Qm... and set the network to Sepolia."
- "What is the current reputation summary for agent ID 42 on Ethereum Mainnet, specifically focusing on uptime?"
- "Submit a feedback score of 95 for agent ID 12 with the tag 'quality' and a comment about their recent trading performance."
Tips & Limitations
- Fixed-Point Arithmetic: Always ensure your reputation inputs for values and decimals align with the expected fixed-point format (e.g., 99.77% should be sent as value 9977 with 2 decimals).
- Network Costs: Remember that writing to the blockchain (registering or submitting feedback) requires gas fees. Ensure your wallet is funded with ETH on the respective network.
- Metadata Integrity: Ensure your IPFS registration files follow the schema defined in
templates/registration.jsonto prevent potential parsing errors during the on-chain registration process.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-sp0oby-erc-8004": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, code-execution
Related Skills
cabin-sol
Solana development tutor and builder. Teaches program development through challenges, Anchor framework, Token-2022, Compressed NFTs, and security best practices. "Return to primitive computing."
game-theory
Advanced game theory analysis for crypto protocols, DeFi mechanisms, governance systems, and strategic decision-making. Use when analyzing tokenomics, evaluating protocol incentives, predicting adversarial behavior, designing mechanisms, or understanding strategic interactions in web3.
base-trader
Autonomous crypto trading on Base via Bankr. Use for trading tokens, monitoring launches, executing strategies, or managing a trading portfolio. Triggers on "trade", "buy", "sell", "launch", "snipe", "profit", "PnL", "portfolio balance", or any crypto trading task on Base.