lightning-auth-and-payment
Version:
Lightning Network authentication and payment processing library for modern web applications
15 lines (12 loc) • 362 B
JavaScript
import { withLightning } from 'lightning-auth-and-payment/nextjs';
/** @type {import('next').NextConfig} */
const nextConfig = {
// Zero-config handles everything automatically!
};
// Full Lightning integration (Auth + Payments)
export default withLightning({
database: 'prisma',
storage: 'database',
btcpay: true,
development: true,
})(nextConfig);