cPay

cPay

Payment Layer for AI Agents

Unified payment and billing for autonomous AI agents on Cronos using X402.

Completed
#X402 Billing#Cronos Blockchain#Micropayments#Privy Wallets
June 2024 - July 2024

About the Project

Unified payment layer bridging humans and autonomous AI agents. Combines Privy social logins with Coinbase's X402 payment protocol for autonomous micropayments on Cronos.

Problem Statement

AI agents lack native, standardized, low-cost micropayments to pay for compute, APIs, or other agent services.

Key Features

1

Standardized X402 HTTP billing interface

2

Micropayment optimization with near-zero gas on Cronos

3

Privy smart wallets with social logins

4

Sub-second on-chain settlements

Tech Stack

TypeScript
Next.js 14
Cronos Chain
Wagmi
Viem
Privy
PostgreSQL
Prisma

Highlights

Created X402 payment gate middleware for Express and Next.js
Human-readable handle registries replacing hex addresses
Privy smart accounts enabling one-click setup for non-crypto users