Accept Lightning Payments

0•

Sets up backend infrastructure to accept Bitcoin Lightning payments using Nostr Wallet Connect without running a dedicated node.

Accept Lightning Payments equips Claude Code with the architecture, code patterns, and security best practices to integrate Bitcoin Lightning Network payments into any application via Nostr Wallet Connect (NWC). It generates framework-agnostic HTTP endpoints for creating BOLT11 invoices and verifying settlements across Vercel Functions, Cloudflare Workers, or custom Node.js backends. By isolating the payment logic behind a provider interface using the Alby SDK and enforcing receive-only connection strings, developers can accept Bitcoin payments instantly without managing proprietary payment processors, running complex node infrastructure, or exposing wallet secrets.

Características Principales

01Decoupled payment provider interface using @getalby/sdk to keep backends wallet-agnostic
020 GitHub stars
03Framework-agnostic HTTP API contracts for invoice creation and payment settlement checks
04Seamless deployment recipes for Vercel Functions, Cloudflare Workers, Hono, and Node.js
05Built-in security guidelines covering server-side verification, idempotent fulfillment, and CORS
06Secure integration via Nostr Wallet Connect (NWC) using receive-only credentials

Casos de Uso

01Deploying lightweight, serverless payment endpoints on Cloudflare Workers or Vercel Functions
02Integrating a Bitcoin Lightning checkout flow into digital stores without custodial processors
03Adding pay-per-use satoshi micropayments or tips to a web application or API