Join Nostr
2026-03-11 23:24:52 UTC

TheCryptoDonkey on Nostr: Shipped toll-booth - L402 middleware that turns any HTTP API into a Lightning ...

Shipped toll-booth - L402 middleware that turns any HTTP API into a Lightning paywall.

Five backends (Phoenixd, LND, CLN, LNbits, Alby). Three payment rails (Lightning, Cashu, NWC). Runs on Express, Deno, Bun, and Cloudflare Workers.

Cashu-only mode means you can gate a serverless API behind payments with zero Lightning infrastructure.

Already running in production gating a Valhalla routing engine at routing.trotters.cc.

npm install @thecryptodonkey/toll-booth

https://github.com/TheCryptoDonkey/toll-booth