Reckon402

Reckon402

Trust-based pricing infrastructure for AI agent commerce — x402 · ERC-8004 · ENS

reckon402 — demo
$ curl https://agent.reckon402.com/research
HTTP/2 402 Payment Required
x402-version: 2
payment-required: eyJzY2hlbWUiOiJleGFjdCIsIm5ldHdvcmsiOiJiYXNlLXNlcHBv…
$ curl -H "payment-signature: <signed>" \
https://agent.reckon402.com/research
HTTP/2 200 OK  ✓ settled on-chain in 3s · agentId=1 · tier=gold · risk-fee=0% · routed=0.0850 USDC
x-reckon-tx: 0xa1b2c3d4…

Architecture

BuyingAgent ──── PAYMENT-SIGNATURE ──► Agent Worker (Hono + withX402) │ POST /x402/settle │ Facilitator Worker ──► Base Sepolia │ ├─ USDC transferWithAuthorization │ ├─ Splitter.distribute (97/2/1%) │ └─ ReputationRegistry.giveFeedback │ ENS Gateway (CCIP-Read) ◄── next request reads tier │ Reckon402Resolver (ETH Sepolia) ▲ subnames: seller{N}.reckon402-test.eth

Tech Stack

x402 v2
HTTP payment protocol · 402 native
ERC-8004
On-chain agent identity & reputation
ENS · ENSIP-25
CCIP-Read · off-chain resolver · CAIP-2
Cloudflare Workers
Edge-native · zero cold starts
Base Sepolia
USDC · Splitter · ERC-8004 contracts
Hono
Middleware: withX402 · withReputation

Key Features

SellingAgent onboarding in ~60s
One command, five steps: ENS subname registered, Splitter contract deployed, ERC-8004 agentId minted, CCIP-Read resolver wired, live.
🔗
Risk fee drops as trust is earned
Every settled payment writes an ERC-8004 attestation on-chain. Reckon402's risk engine reads it back via ENS CCIP-Read and reduces its routing fee — automatically, from on-chain data, no trusted intermediary.
🔐
Seller sovereignty
ENS subname and ERC-8004 agentId are owned by the seller's wallet. Platform can't revoke your identity or lock your funds.

Smart Contracts

Contract Address
Reckon402Resolver 0x479660B8760b32045FF4b9A64f9Ba2EeF8521f3a
SplitterFactory 0x3bbb50a50eb03f2d578d17f70ebc687b98e21fd7
IdentityRegistry (ERC-8004) 0x8004A818BFB912233c491871b3d84c89A494BD9e
ReputationRegistry (ERC-8004) 0x8004B663056A597Dffe9eCcC1965A193B7388713

npm Packages

npm @reckon402/buyer-sdk
BuyingAgent wallet + automatic x402 payment negotiation
npm install @reckon402/buyer-sdk
npm @reckon402/middleware-hono
Hono middleware: withX402 · withReputation · tier pricing
npm install @reckon402/middleware-hono
npm @reckon402/types
Shared TypeScript types for the full Reckon402 stack
npm install @reckon402/types
npm @reckon402/facilitator-client
Client for the Reckon402 Facilitator Worker (settlement + callbacks)
npm install @reckon402/facilitator-client
Launch App → GitHub → npm →