共学内容 / 课程信息
Recommended 14 days learning plans: https://lxdao.notion.site/Trustless-Agents-CoLearning-14-daily-learning-plans-28cdceffe40b807590bfdbf7ccd356ae
Module 1: The Trust Foundation — ERC-8004 Identity & Reputation Layer
- In-depth analysis of the ERC-8004 standard: Identity Registry, Reputation Registry, and Verification Registry.
- Hands-on: Create an on-chain identity for your agent and implement a simple off-chain reputation feedback mechanism.
Resources:
- EIP-8004 Official Standard
- Ethereum Magicians - ERC-8004 Discussion
- ChatGPT Bot - ERC-8004 Q&A
- Quill Audits - ERC-8004 Analysis
- Medium - ERC-8004 Story & Next Steps
- Vistara Apps - ERC-8004 Example
- HashKey Capital - ERC-8004 & Agent Economy
- awesome-erc8004 from Sudeep Biswas
Module 2: The Collaboration Language — A2A Architecture & AP2 Protocol
- Master how agents autonomously discover and communicate via the Agent-to-Agent (A2A) architecture.
- Decode the AP2 protocol: Understand agent descriptor files, capability declarations, and interaction flows.
- Hands-on: Enable your agent to discover other agents and initiate collaboration requests.
Resources:
- A2A Protocol Official Site
- Google Dev Blog - A2A Protocol Announcement
- A2A Project - Core Repository
- Pydantic AI - A2A Documentation
- IBM Think - A2A Protocol Guide
- A2A Project - Sample Code
- Awesome A2A Agents - Curated List
- ISEK - Decentralized Agent Network
- ISEK Platform - Official Website
Module 3: The Value Engine — x402 Payment Protocol
- Dissect how the x402 protocol utilizes the HTTP 402 status code to enable "gasless" micro-payments.
- Integrate EIP-3009 to achieve automated settlement for agent services and resource access control.
- Hands-on: Integrate x402 payment functionality into your agent service, enabling "pay-per-call".
Resources:
- X402 Protocol - Official Website
- X402 Protocol - GitBook Documentation
- X402 Protocol - Whitepaper PDF
- Coinbase Developer - X402 Integration
Module 4: Capstone Project — Building an Autonomous Agent
- Integrate knowledge from the first three modules to build a full-lifecycle Trustless Agent.
- Implement the full automated workflow: from identity registration and reputation accumulation to autonomous collaboration and service settlement.
- Project Demo & Code Review: share your project with the community and get feedback.
Some Project Examples:
ERC-8004 Trustless Agents Example https://github.com/vistara-apps/erc-8004-example.
Arena SDK with 8004 identities + A2A + ChaosChain integration for receipt logged on-chain and payment released on verification. https://github.com/vistara-apps/agent-arena-v1
Welcome to propose more ideas and examples!
---
🎯 Learning Challenges & Discussion Questions
Challenge 1: On-Chain vs Off-Chain Data
Question: The community debates how much data to put on-chain. If you had to choose between "events only" vs "minimal view functions" vs "full on-chain indexing," which would you pick and why?
Challenge 2: Agent Identity System
Question: Should ERC-8004 use domains, URLs, ENS, or DIDs for agent identity? What are the trade-offs of each approach?
Challenge 3: Reputation Design
Question: How would you design a reputation system that avoids a single score but still provides useful information for users? Who is eligible to initiate an evaluation?
Challenge 4: Verification Methods
Question: Which verification approach would you trust more: TEE proofs, ZK proofs, or sampling/reexecution? Why?
Challenge 5: Economic Incentives
Question: Should ERC-8004 include payment mechanisms in the core standard, or keep them as external extensions?
Challenge 6: Limited Supply
Question: Should ERC-8004 have a limited supply of agents? Unlimited supply is great for discoverability, but it doesn't allow for creativity and differentiation.
Resources:
Welcome to add more challenges and questions!
---
Coding Challenge: Interacting with an Agent on the testnet
Objective Register an agent on the testnet and verify it.
Build
- Use the 8004 singletons on the testnet:
- Sepolia:
- Identity: https://sepolia.etherscan.io/address/0x8004a6090Cd10A7288092483047B097295Fb8847
- Reputation: https://sepolia.etherscan.io/address/0x8004B8FD1A363aa02fDC07635C0c5F94f6Af5B7E
- Validation: https://sepolia.etherscan.io/address/0x8004CB39f29c09145F24Ad9dDe2A108C1A2cdfC5
- Use the 8004 SDK to register the agent.
- Use the 8004 SDK to verify the agent.
- Use the 8004 SDK to interact with the agent.
Coding Challenge: Trustless Agent “Hello World”
Objective Ship a minimal, runnable demo that proves identity, discovery, deterministic service, third-party validation, and optional tokenized pay-per-call.
Build
- Three agents:
- Server provides a simple deterministic service over an input.
- Validator independently recomputes and records a pass/fail outcome.
- Client discovers the Server, invokes it, requests validation, then prints final status.
- Two tiny registries:
- Identity links agent identifiers to JSON descriptors (name, version, tags, endpoints, optional price).
- Verification stores validation outcomes tied to a service receipt.
- JSON descriptors for all agents.
Flow
- Start a local chain.
- Deploy registries and agents.
- Register Server and Validator with descriptor URLs.
- Client discovers Server by identifier or tag.
- Client calls Server and receives a deterministic result plus a receipt reference.
- Client asks Validator to verify; Validator records the outcome.
- Client prints
STATUS: VERIFIEDorFAILED.
Acceptance
- Visible agent addresses, identifiers, and descriptor URLs.
- Identity entries exist.
- A receipt reference is produced.
- A verification record indicates success.
- Final console line shows
STATUS: VERIFIED.
Optional
- Token pay-per-call.
- Tag-based discovery.
- Simple reputation counter on successful validations.
---
🎮TESTNET and reference code
8004 singletons are available on Testnet, so you can start building on it. Clap to Leonard @lentan & all the 8004 contributors for making this happen 🙏👏
Source code: https://github.com/erc-8004/erc-8004-contracts
Sepolia
- Identity: https://sepolia.etherscan.io/address/0x8004a6090Cd10A7288092483047B097295Fb8847
- Reputation: https://sepolia.etherscan.io/address/0x8004B8FD1A363aa02fDC07635C0c5F94f6Af5B7E
- Validation: https://sepolia.etherscan.io/address/0x8004CB39f29c09145F24Ad9dDe2A108C1A2cdfC5
Read the source code and please 🚨test the contracts. We need your feedback🫶 to improve them and prepare for the mainnet release!
Contracts on the testnet are subject to change/update, and the contract keys are directly owned by the 8004 team. If you need the contracts on other testnets/chains, just reach out to @lentan so we can coordinate with the blockchain maintenance teams and publish the addresses here and in the ERC-8004 repo.
🚀PRODUCTION
We plan to release on Mainnet by the end of Oct. Ideally, we want to deploy the singletons on *every* L2 where developers are interested in building. We are also excited about deploying on other EVM-compatible L1s and, potentially, on non-EVM ecosystems.
Production proxy contract governance will be shared by multiple parties (multi-sig) and *not controlled by the 8004 team*. Please coordinate with Davide Crapis [email protected] on this topic.
TOOLING (Community curated)
JS SDKs https://github.com/ChaosChain/chaoschain/tree/main/packages/sdk (thanks @sumeetchougule and ChaosChain!) https://github.com/tetratorus/erc-8004-js
Python SDKs https://github.com/tetratorus/erc-8004-py https://pypi.org/project/chaoschain-sdk/
More SDKs and structured docs coming VERY soon.
---
Sponsors
- Unibase: The first high-performance decentralized Ai memory layer - empowering Al agents with long-term memory and interoperability. X (Twitter) | Website
- SlowMist: A blockchain security firm specializing in smart contract audits, on-chain tracking, and threat intelligence. X (Twitter) | Website
Community Supporters
- BuidlGuidl: A curated group of Ethereum builders creating products, prototypes, and tutorials to enrich the web3 ecosystem. X (Twitter) | Website
More partners to be announced. For partnership inquiries, reach out on Telegram to Bruce (@brucexu_eth) or Vdel (@Vdel_sys).
Registration and Check-In Rules
Study Rewards
- The greatest reward is the knowledge you gain — and the chance to meet like-minded builders through their shared notes.
- Outstanding builders may be invited to demo on stage at Devconnect Trustless Agent Day on Nov 21.
- More benefits will be announced with partners — stay active and complete your daily check-ins!
Additional Information
- The entire learning process is mainly self-directed, based on the provided materials, with discussions in the community and participation in community calls.
- You’ll need to check in daily by posting learning notes to show your progress. All check-ins will be recorded on GitHub as open-source learning notes.
- Join the community for any questions: https://t.me/ERC8004
- Registration Guide: https://www.notion.so/lxdao/Registration-Guide-283dceffe40b80e883fddfa045afef5e
- Check-in Guide: https://www.notion.so/lxdao/Check-in-Guide-283dceffe40b80ad9936db5a15468eb5