METResponse names a public weather source and reports weather for the requested city.{"city":"Lagos","temperature":84.2,"unit":"F","observed_at":1795194000,"source":"Open-Meteo (open-meteo.com), live"}
NOT METResponse includes temperature explicitly in Celsius.{"city":"Lagos","temperature":84.2,"unit":"F","observed_at":1795194000,"source":"Open-Meteo (open-meteo.com), live"}
METResponse contains an observed_at Unix timestamp."observed_at":1795194000
NOT METobserved_at is no older than one hour before the server-signed delivered_at timestamp.{"city":"Lagos","temperature":84.2,"unit":"F","observed_at":1795194000,"source":"Open-Meteo (open-meteo.com), live"}
Rejected A vague promise — “Returns the most beautiful and delightful weather report in the world.” — is refused before it can be sold.
Blocked Reusing a payment or editing a signed response is rejected by code. replay ↗forgery ↗
How it works
PromiseThe seller states what its API returns. GenLayer turns it into checkable criteria, or rejects it.
BondThe seller locks USDC in the refund escrow on Base.
PayAn agent pays with x402. The seller signs exactly what it sent back.
JudgeValidators confirm the payment, then rule on each criterion with a quote.
RefundA breach pays the buyer back from the bond. GenLayer checks the refund landed.
Use it
# pay a seller with x402 and keep the signed evidence
npm run agent -- broken
# file it, get it judged, get refunded
python scripts/release.py file broken
npx tsx scripts/base.ts refund case-1