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-connected

Execute intents, produce evidence, submit receipts

TypeScript, ExpressGitHub ↗

Watchtower

v0.3.0 — chain-connected

Monitor receipts, detect violations, file disputes

TypeScript, Fastify (pnpm monorepo)GitHub ↗

Agent Passkey

Deprecated

Policy-gated signing via Lit Protocol PKP (deprecated — replaced by Cloud KMS + EIP-7702 delegation)

TypeScript, FastifyGitHub ↗

Standards Integration

StandardRoleHow IRSB Connects
ERC-7683Intent FormatIRSB receipts reference intentHash from ERC-7683 orders
ERC-8004Agent RegistryIRSB is a Validation Provider — generates signals that feed the registry
x402HTTP PaymentsIRSB adds accountability to paid APIs — receipts prove service delivery
EIP-7702Account DelegationIRSB uses EIP-7702 to delegate EOA signing to WalletDelegate, enabling on-chain caveat enforcement for solver and buyer transactions
ERC-7710Delegation RedemptionWalletDelegate 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 EventERC-8004 SignalValue
Receipt finalized (no dispute)validationResponse100
Dispute opened against solvergiveFeedback-10
Dispute won by solvervalidationResponse90
Dispute lost, minor slashvalidationResponse30
Dispute lost, full slashvalidationResponse0
Solver jailedgiveFeedback-50

Shared Patterns Across Repos

PatternImplementation
Config validationZod schemas, fail-fast on startup
Loggingpino with structured JSON, correlation IDs (intentId, runId, receiptId)
SigningCloud KMS direct signing + EIP-7702 WalletDelegate on-chain policy. Agent-passkey deprecated.
DeterminismCanonical JSON serialization for hashing (sorted keys, no whitespace)
CI/CDGitHub Actions + Workload Identity Federation (keyless GCP auth)
Testingvitest for TypeScript, Foundry for Solidity