Starter templates for accepting and paying x402 payments with the official SDKs: Express, Hono, Next.js, FastAPI, and Node and Python clients.
- ✓Open-source license (Apache-2.0)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
git clone https://github.com/neuronto/x402-starters my-project && cd my-projectResumen de Templates
# x402 starters
The shortest working way to charge for an HTTP route, and to pay for one, using the official
[x402](https://x402.org) SDKs. Every file here runs as it is; the only thing you must change is
the wallet that gets paid.
x402 revives HTTP `402 Payment Required`. Your server answers an unpaid request with `402` and
machine-readable terms, the client signs a stablecoin payment, and a facilitator verifies the
signature and settles it on-chain. Your server never holds a key and never talks to a chain.
## Pick one
| Folder | Stack | What it is |
|---|---|---|
| [`express`](express) | Node, Express | One paid `GET /premium` route |
| [`hono`](hono) | Node, Hono | The same route on Hono |
| [`next`](next) | Next.js App Router | A paid API route |
| [`fastapi`](fastapi) | Python, FastAPI | The same route in Python |
| [`client`](client) | Node and Python | Paying for a 402 route from a script or an agent |
## Run one in a minute
```bash
cd express
npm install
export MERCHANT=0xYourWalletAddress # where the money goes, on Base
npm start
curl -i localhost:3000/premium # 402 with terms
```
Then pay it with a client from [`client`](client), or point any x402 client at it.
## The facilitator
These starters use `https://pay.neuronto.com` as the facilitator: the service that verifies the payer's
signature and broadcasts the settlement. It is one line in every file, and any x402 facilitator
can take its place:
```js
new HTTPFacilitatorClient({ url: "https://pay.neuronto.com" })
```
Base mainnet (`eip155:8453`) is live there. `GET https://pay.neuronto.com/supported` lists every network,
scheme and version it settles right now; a network that cannot settle disappears from that list
before it starts refusing, so a server that reads `/supported` never advertises a price it
cannot take.
## Testing without spending anything
`https://pay.neuronto.com/echo` is a live merchant that charges $0.001 and **sends it straight back** in the
same request, so a client can be run end to end for the cost of nothing:
```bash
curl -i https://pay.neuronto.com/echo # a real 402, with real terms
```
Point any of the clients in [`client`](client) at that URL. The refund is automatic; the gas is
not yours.
## What you need
- A wallet address to be paid to. Nothing is installed on your side to receive money: payments
arrive as USDC transfers to the address you put in `MERCHANT`.
- For a paying client, a funded key. Never put a real key in a file: every example here reads it
from the environment.
## Licence
Apache-2.0.
Lo que la gente pregunta sobre x402-starters
¿Qué es neuronto/x402-starters?
+
neuronto/x402-starters es templates para el ecosistema de Claude AI. Starter templates for accepting and paying x402 payments with the official SDKs: Express, Hono, Next.js, FastAPI, and Node and Python clients. Tiene 0 estrellas en GitHub y su última actualización registrada es del 2026-09-16.
¿Cómo se instala x402-starters?
+
Puedes instalar x402-starters clonando el repositorio (https://github.com/neuronto/x402-starters) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar neuronto/x402-starters?
+
Nuestro agente de seguridad ha analizado neuronto/x402-starters y le ha asignado un Trust Score de 95/100 (tier: Verified). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene neuronto/x402-starters?
+
neuronto/x402-starters es mantenido por neuronto. La última actividad registrada en GitHub es del 2026-09-16, con 1 issues abiertos.
¿Hay alternativas a x402-starters?
+
Sí. En ClaudeWave puedes explorar templates similares en /categories/templates, ordenados por popularidad o actividad reciente.
Despliega x402-starters en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](https://claudewave.com/repo/neuronto-x402-starters)<a href="https://claudewave.com/repo/neuronto-x402-starters"><img src="https://claudewave.com/api/badge/neuronto-x402-starters" alt="Featured on ClaudeWave: neuronto/x402-starters" width="320" height="64" /></a>Más Templates
CLI tool for configuring and monitoring Claude Code
AWS AI Stack – A ready-to-use, full-stack boilerplate project for building serverless AI applications on AWS
Scaffold production-ready full-stack apps in TypeScript, Rust, Python, Go, and Java with a visual builder and CLI. Choose your frontend, backend, database, auth, AI, payments, and DevOps integrations, all wired together.
A starter kit for animating hand-painted cartoons with Claude: p5.js + p5.brush, the Clawd character, 31 acted emotions and a guide for the model
From Claude Artifact to deployable React app — in seconds!
CLAUDE.md best practices