Verifiable payment dispute arbiter running on EigenCloud for the x402r refundable payments protocol.
When agents transact via x402r (HTTP 402 + escrow + refunds), disputes need a trusted resolver. This arbiter runs in a TEE on EigenCompute and uses EigenAI for deterministic, verifiable rulings — no hidden bias, fully auditable.
- Watch for
RefundRequestedevents on-chain (x402r contracts) - Fetch evidence from
RefundRequestEvidencecontract (IPFS CIDs) - Decide using EigenAI with a fixed seed (deterministic inference)
- Commit decision hash on-chain (prompt hash + seed + response hash)
- Execute decision via x402r SDK (approve/deny refund)
Anyone can replay the same prompt + seed on EigenAI and verify the ruling matches the on-chain commitment.
EigenCloud TEE
├── Arbiter Server (TypeScript)
│ ├── Event watcher (x402r contracts)
│ ├── Evidence collector (on-chain + IPFS)
│ ├── EigenAI client (wallet-signed grant auth)
│ └── On-chain executor (@x402r/arbiter SDK)
│
├── EigenAI (deterministic LLM inference, seed-locked)
└── TEE wallet (auto-generated by KMS)
On-chain (Base Sepolia)
├── RefundRequest (dispute lifecycle)
├── RefundRequestEvidence (IPFS CIDs)
└── PaymentOperator (escrow + refund execution)
npm install
cp .env.example .env
npm run devnpx ts-node src/verify-eigenai.ts# Deploy to EigenCompute TEE
ecloud compute app deployecloud compute app info # App details
ecloud compute app logs # View logs
ecloud compute app stop # Stop app
ecloud compute app terminate # Terminate appMIT