cPay
Lets AI agents pay for things over plain HTTP.
x402 on 2 chains
- Pioneered x402 machine commerce standard implementation on Cronos ecosystem
- Gasless transaction relaying via ERC-2771 meta-transactions
# What it is
cPay implements the x402 HTTP payment required standard for autonomous AI agents, enabling software agents to discover, negotiate, and settle micropayments on Cronos and Base without human approval loops.
# Why it exists
Existing payment gateways require human KYC, credit cards, or manual signing, creating an insurmountable bottleneck for autonomous machine-to-machine commerce.
# How it works
HTTP 402 payment headers drive policy-driven auto-authorization; Privy embedded wallets give agents programmatic custody; settlement lands sub-cent on Cronos and Base, with ERC-2771 meta-transactions making agent flows gasless; an Express/Next.js middleware SDK wraps it for developers.
# Details
- HTTP 402 payment header parsing and automated policy-driven authorization
- Privy embedded wallet integration for programmatic agent custody
- Sub-cent transaction settlement on Cronos and Base Layer 2
- Developer SDK with plug-and-play middleware for Express and Next.js
# Built with
TypeScript · AI Agents · x402 Protocol · Cronos · Base · Privy
The essay behind cPay →