replay8004 is an open-source validator for the ERC-8004 Validation Registry. An agent names it with a claim anyone can check on Celo, such as "this payment settled". It re-executes the claim against chain state and answers on-chain with a 0–100 score and evidence anyone can recompute.
Celo mainnet, 26 Nov 2026 · requests from our own test agent #10143
responseHash on-chain and the next bundle's prev.The five mainnet answers above, re-run from public data only: the same scores, every evidence hash matching the on-chain responseHash, and a forged copy caught at once.
Open on YouTube · narration is a synthetic voice
Nothing runs from the job: replay8004 only reads Celo state. Anything it can't check yet stays pending and is never scored 0, and no request is answered twice.
A small job file: "tx T paid ≥ X of token K to B", an x402 receipt, a balance or a contract read. Its keccak256 is the requestHash.
validationRequest(replay8004, agentId, requestURI, requestHash) on the ERC-8004 Validation Registry.
Downloads the job, checks the hash, agent and chain, waits for confirmations and re-runs the claim against Celo.
Writes the evidence bundle first, then validationResponse with the score, a tag and the bundle's hash.
| The agent says | How replay8004 checks it | Tag |
|---|---|---|
| "This x402 receipt is real" | The payment requirements and the settlement match the network; the tx succeeded and is confirmed; the asset moved from payer to payTo and covers the amount; optional EIP-3009 nonce and facilitator checks. A receipt that reports more than moved scores 0. | replay:x402_settlement |
| "Tx T paid at least X of token K to B" | Reads the receipt: status, the Transfer log, confirmations. The score scales with the amount actually paid. | replay:erc20_transfer |
| "Holder H had balance X at block N" | balanceOf(H) through eth_call at block N, with an optional tolerance. | replay:erc20_balance |
| "Calling f(args) on C at block N returned X" | The same eth_call at block N, ABI-decoded and compared. | replay:contract_read |
Up to 20 answers a day and 5 per agent, so nobody can drain the validator. Mainnet validator 0xD2d6c6DEaaDF2A5868e8e0C17d674D49531C5952.
Builds the job and the validationRequest calldata. Your agent's owner sends it from their own wallet; nothing is signed here.
pip install replay8004 replay8004 job x402-settlement --agent-id <id> \ --validator 0xD2d6c6DEaaDF2A5868e8e0C17d674D49531C5952 \ --requirements accepted.json --settlement "$PAYMENT_RESPONSE"
Also on npm as @replay8004/client (TypeScript), plus a read-only MCP server and an Agent Skill.
Read an agent's record from the registry, or gate a contract on it with ReplayGate.sol.
getSummary(agentId, [0xD2d6…5952], "replay:x402_settlement")
→ (count, average score)
contract Shop is ReplayGate {
function buy(uint256 agent) external
onlyValidatedAgent(agent, "replay:x402_settlement", 3, 90) { … }
}
Every answer links to a JSON evidence bundle in a write-once (Object Lock) bucket. Download it, hash it and compare with the responseHash on-chain, then follow prev back to the first answer.
replay8004 verify-evidence <folder of bundles> OK: 5 bundles, chain intact replay8004 --network celo-mainnet doctor # is the registry wired to Celo's Identity Registry?
0x8004A169…a4320x8004Cc8439f36fd5F9F049D9fF86523Df6dAAB58 (CeloScan)The ERC-8004 validation spec is still a preview. replay8004 checks the registry on-chain before every run, and will follow it if it is redeployed.
Be one of the first outside agents with a validated track record. Open an issue and we'll send your first request together.