Requests x402 payment integration for capability interactions within Wetware, where the host HTTP server would respond with 402 and payment terms, with settlement via USDC on Base.
Capability interactions can require payment via x402 (HTTP 402 Payment Required). The host HTTP server responds with 402 and payment terms. Settlement via USDC on Base. Ref: https://github.com/coinbase/x402 ## Current Context (2026-03-30) Wetware now has: - **HTTP capability track** (#241-#246, open) — phased implementation of HTTP support including FastCGI mode - **Cell::http type** (#291-#293, shipped) — WASM binaries can declare HTTP path prefixes via cell.capnp - **Wallet capability** (#216, shipped) — Membrane-attenuated signing constraints - **MPP (Machine Payments Protocol)** — launched March 2026 by Stripe/Tempo, live across 50+ services, submitted to IETF as HTTP 402 x402 integration naturally fits the HTTP track. A `Cell::http` binary serving a paid endpoint would: 1. Receive HTTP request via FastCGI on stdin 2. Check for x402 payment header 3. If missing, respond with 402 + payment terms 4. If valid, process the request using granted capabilities 5. Settlement via wallet