-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Neha_Kumari711 edited this page Mar 19, 2026
·
5 revisions
┌──────────────────────────────────────────────────────────────────┐
│ Rachax402 — Confirmed Production Metrics │
├────────────────────────────────┬─────────────────────────────────┤
│ ERC-8004 on-chain discovery │ ~2.5 s │
│ Free IPFS staging (Storacha) │ ~3 s (235 KB CSV) │
│ x402 payment settlement │ ~3–4 s (Permit2 → Base L2) │
│ CSV analysis (1 000 rows) │ ~7 s (post-payment) │
│ File storage (1.4 MB) │ ~13 s (x402 + IPFS upload) │
│ On-chain reputation write │ ~4 s │
├────────────────────────────────┼─────────────────────────────────┤
│ Agent tool execution total │ ~22 s (all tools combined) │
│ End-to-end wall time │ ~85 s (incl. LLM reasoning) │
│ USDC per CSV analysis │ $0.01 │
│ USDC per file upload │ $0.10 │
│ Payment method │ Permit2 + EIP-1271 (gasless) │
└──────────────────────────────────────────────────────────────────┘┌─────────────────────────────────────────────────────────────────┐
│ onchain-agent (Next.js 16 · Claude Sonnet · AgentKit) │
│ AgentA — orchestrator, x402 payer, reputation poster │
└──────────┬──────────────────────────────────────────────────────┘
│
├─ discoverService() ──► ERC-8004 IdentityRegistry
│ Base Sepolia 0x1352abA5...
│ → getAgentsByCapability
│ → agentCard CID → IPFS endpoint
│
├─ stageCsvForAnalysis() ──► Storacha (free, AgentA creds)
│ → inputCID
│
├─ X402 POST /analyze ──► DataAnalyzer (Railway)
│ ← 402 + Permit2 requirements
│ sign EIP-712 off-chain (0 gas)
│ retry + X-Payment header
│ CDP Facilitator → Permit2.permitWitnessTransferFrom()
│ → 0.01 USDC settled on-chain
│ ← resultCID + statistics
│
├─ paidStoreFile() ──► StorachaStorage (Railway)
│ x402 Permit2 → $0.10 USDC → IPFS CID
│
└─ postReputation() ──► ERC-8004 ReputationRegistry
5/5 rating + proof CID on-chain
| Service | Host | Endpoint | Price |
|---|---|---|---|
| DataAnalyzer | Railway | POST /analyze |
$0.01 USDC |
| StorachaStorage | Railway | POST /upload |
$0.10 USDC |
| StorachaStorage | Railway | GET /retrieve |
$0.005 USDC |
| ERC-8004 Identity | Base Sepolia | 0x1352abA587fFbbC398d7ecAEA31e2948D3aFE4Fb |
Deployed Contract on Base Sepolia |
| ERC-8004 Reputation | Base Sepolia | 0x3FdD300147940a35F32AdF6De36b3358DA682B5c |
Deployed Contract on Base Sepolia |