pull down to refresh

A complete implementation of the Lightning Network HTTP 402 Payment Required protocol for Next.js applications. This package provides server utilities and authentication functions to protect API routes with Lightning Network micropayments.

Features

🔒 API Route Protection: Secure your API endpoints with L402 authentication ⚡ Lightning Network Integration: Connect to your Lightning node using REST API 🔑 Macaroon Caveats: Support for time-based, path-based, and other access restrictions 🚀 Next.js Integration: Seamless integration with Next.js API routes 🧩 Flexible API: Multiple ways to implement authentication in your application
Sounds like ai crap, but it might have some utility