discovered 03 Aug 2026
ln-paywall
→ View on GitHubln-paywall is a Go middleware designed for monetizing APIs through per-request payments using Bitcoin's Lightning Network, facilitating near-instant microtransactions with minimal fees. The tool allows integration with common web frameworks and enables the generation of Lightning invoices for the first request, rejecting subsequent requests until payment is confirmed. Key features include compatibility with various HTTP handlers and a client package for seamless consumption of LN-paywalled APIs.