Ecosystem
Four repositories that work together to provide intent accountability.
Architecture
ERC-8004 (Registry Layer)
Agent identity & reputation
|
| read identity / publish signals
v
IRSB Protocol (protocol/)
Intent receipts, solver bonds, disputes, escrow
WalletDelegate (EIP-7702) + 5 caveat enforcers
X402Facilitator (direct + delegated settlement)
| |
v v
Solver (solver/) Watchtower (watchtower/)
Execute intents Monitor receipts
Submit receipts File disputes
Cloud KMS signing Cloud KMS signing
| |
+-- on-chain policy via -------+
| WalletDelegate (EIP-7702)
|
[Legacy: agent-passkey on Cloud Run — deprecated]
Update Order
When contract interfaces change, update in this order:
protocol (ABI/types + delegation contracts) → solver, watchtower (Cloud KMS direct)
Repositories
Protocol
Deployed (Sepolia)On-chain contracts: receipts, bonds, disputes, escrow
Solidity 0.8.25, FoundryGitHub ↗
Solver
v0.1.0 — chain-connectedExecute intents, produce evidence, submit receipts
TypeScript, ExpressGitHub ↗
Watchtower
v0.3.0 — chain-connectedMonitor receipts, detect violations, file disputes
TypeScript, Fastify (pnpm monorepo)GitHub ↗
Agent Passkey
DeprecatedPolicy-gated signing via Lit Protocol PKP (deprecated — replaced by Cloud KMS + EIP-7702 delegation)
TypeScript, FastifyGitHub ↗
Standards Integration
| Standard | Role | How IRSB Connects |
|---|---|---|
| ERC-7683 | Intent Format | IRSB receipts reference intentHash from ERC-7683 orders |
| ERC-8004 | Agent Registry | IRSB is a Validation Provider — generates signals that feed the registry |
| x402 | HTTP Payments | IRSB adds accountability to paid APIs — receipts prove service delivery |
| EIP-7702 | Account Delegation | IRSB uses EIP-7702 to delegate EOA signing to WalletDelegate, enabling on-chain caveat enforcement for solver and buyer transactions |
| ERC-7710 | Delegation Redemption | WalletDelegate implements ERC-7710 so delegatees (solvers, facilitators) can redeem delegations with caveat enforcement |
ERC-8004 Signal Publishing
IRSB acts as a Validation Provider for ERC-8004. These events are designed to generate reputation signals:
Not yet enabledAgent registered (ID: 967). Signal publishing is not yet enabled in production.
| IRSB Event | ERC-8004 Signal | Value |
|---|---|---|
| Receipt finalized (no dispute) | validationResponse | 100 |
| Dispute opened against solver | giveFeedback | -10 |
| Dispute won by solver | validationResponse | 90 |
| Dispute lost, minor slash | validationResponse | 30 |
| Dispute lost, full slash | validationResponse | 0 |
| Solver jailed | giveFeedback | -50 |
Shared Patterns Across Repos
| Pattern | Implementation |
|---|---|
| Config validation | Zod schemas, fail-fast on startup |
| Logging | pino with structured JSON, correlation IDs (intentId, runId, receiptId) |
| Signing | Cloud KMS direct signing + EIP-7702 WalletDelegate on-chain policy. Agent-passkey deprecated. |
| Determinism | Canonical JSON serialization for hashing (sorted keys, no whitespace) |
| CI/CD | GitHub Actions + Workload Identity Federation (keyless GCP auth) |
| Testing | vitest for TypeScript, Foundry for Solidity |