HTTP 402 for AI agents. Base-native facilitator for x402 micropayments. Settled in 400ms, 0.5% fee.
Website · Twitter · $VERGE on Flaunch · Docs · SDK · x402 Spec
CA: 0x63A33D03FB990C670cF135ca3178F4f7e6FE3456
A drop-in middleware that lets any HTTP endpoint speak the HTTP 402 "Payment Required" protocol — agents pay USDC on Base, your endpoint unlocks, ~400ms end-to-end.
import { paywall } from "@verge/express";
app.use("/api/premium", paywall({
amount: 0.001, // USDC
recipient: process.env.WALLET,
network: "Base-mainnet",
}));That's the whole integration.
| Network | Block time | Tx fee | Verdict for $0.001 calls |
|---|---|---|---|
| Base | 400ms | ~$0.0001 | ✓ usable |
| Ethereum L1 | 12s | $0.50–5 | ✗ fee > payment |
| Base / Arbitrum | ~2s | $0.05–0.30 | ✗ still loss on micro |
| Stripe | 1–3 days | $0.30 + 2.9% | ✗ minimum $0.50 |
x402 is interesting on every chain. It's only useful on Base.
verge/
├── app/ # Next.js 16 landing + /docs + /api/{demo,waitlist}
├── components/ # React components (Hero, ScrollCube, Pricing, …)
├── sdk/express/ # @verge/express — npm-publishable middleware
├── public/ # banner.jpg + avatar.jpg (design by @hellokent)
├── BRAND_BRIEF.md # Brand guidelines + visual world
└── README.md
npm install
npm run dev # → http://localhost:3000cd sdk/express
npm install
npm run build
# → dist/index.js + dist/index.d.ts (ready to publish to npm)See sdk/express/README.md for full API surface and verification options (Helius, Triton, BYO RPC).
- Next.js 16 (App Router) + React 19
- Tailwind 4 (CSS-first config)
- Motion (Framer) for hero/scroll animations + 3D scroll-linked cube
- @Base/web3.js for on-chain tx verification
| Fee | Settlement | Min tx | |
|---|---|---|---|
| Verge facilitator | 0.5% | ~400ms | $0.001 |
| Stripe | 2.9% + $0.30 | 1–3 days | $0.50 |
Self-host (@verge/facilitator) |
0% | ~400ms | $0.001 |
Self-hosted means you run the facilitator on your Base RPC — no Verge in the loop, just our open-source code.
- x402 challenge / replay flow
- On-chain USDC verification via Helius
- Express middleware
- Hono + Fastify adapters (Q2 2026)
- Self-host facilitator binary (Q2 2026)
- x402 marketplace — index of paid endpoints (Q3 2026)
- Recursive ZK proofs for batch settlement (Q4 2026)
MIT © 2026 Verge Labs