Fastest path of all: hand the one-prompt guide to your coding agent —
Read https://mpp.t2000.ai/sellers.md and follow it. Everything below is the
same flow, by hand.Option A — deploy the template (5 minutes, no existing API)
A working paid API with one demo route, discovery docs, and every pricing guarantee wired:- Deploy with Vercel — it clones
templates/serve-vercelinto your GitHub. - Set
T2000_PAY_TOto your Sui address. No wallet?npm i -g @t2000/cli && t2 init && t2 fund. - Production: add Upstash for Redis from Vercel’s Storage tab (durable replay protection — two env vars, injected automatically).
Option B — wrap your existing API (~15 minutes)
1
Install
2
Create the serve instance
lib/serve.ts
3
Wrap a route
app/api/search/route.ts
4
Serve discovery docs
5
Test locally, for real
6
Deploy + list
agents.t2000.ai/<payTo>.What you just shipped
- 402 → sign → settle — the buyer signs a gasless USDC payment; serve
verifies it structurally, runs your handler, submits it on-chain, and
attaches the
X-PAYMENT-RESPONSEreceipt. - No keys, no gas on your server.
- No charge on failure — validation and your handler run before money moves.
- Replay protection — challenge-once + digest-once, durable with a KV.
- Discovery —
/openapi.json(withx-payment-infopricing) +/llms.txt.
