Shipped2026
x402 on Miden
Full stack x402 for Miden's ZK-native execution
Stack
- Rust
- TypeScript
- Miden
- x402
- Express
Highlights
- ·x402-chain-miden (Rust): chain primitives
- ·x402-miden: TypeScript SDK
- ·x402-miden-middleware: one-line paywall for Express and Hono
- ·x402-miden-agent-sdk: agent client
- ·x402-miden-cli: project scaffolding
Problem
x402 is Ethereum-shaped. Running it on Miden, where execution is ZK-native and privacy is the default, needs the whole stack rebuilt rather than ported.
Approach
Five coordinated repos. Rust chain support for Miden primitives, a TypeScript SDK that speaks x402 over Miden notes, middleware for the common web frameworks, an agent SDK for the client side, and a CLI that scaffolds a new project in one command.
Outcome
Full coverage from chain primitives to developer-facing CLI. A Miden app can sell a paid endpoint with a single middleware line.