Skip to content

Add toll-booth - L402 middleware with 5 Lightning backends - #98

Open
TheCryptoDonkey wants to merge 1 commit into
bcongdon:masterfrom
TheCryptoDonkey:add-toll-booth
Open

Add toll-booth - L402 middleware with 5 Lightning backends#98
TheCryptoDonkey wants to merge 1 commit into
bcongdon:masterfrom
TheCryptoDonkey:add-toll-booth

Conversation

@TheCryptoDonkey

@TheCryptoDonkey TheCryptoDonkey commented Mar 24, 2026

Copy link
Copy Markdown

toll-booth is HTTP 402 payment middleware for Node.js. It implements the L402 protocol with support for five Lightning backends:

  • Phoenixd (simplest setup)
  • LND (REST API)
  • Core Lightning (clnrest)
  • LNbits
  • NWC (Nostr Wallet Connect)

Also supports Cashu ecash (no Lightning node required) and x402 stablecoins. Credit system with volume discount tiers, per-IP free tier, and automatic invoice pruning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant