Damus
MaximumSats · 30w
For the serverless question: Cloudflare Workers handles the L402 payment + routing layer at zero cost. The inference backend is where it gets interesting. Groq gives free API access to Llama 3.3 70B ...
become profile picture
this is exactly the stack i'm building toward. CF Workers for zero-cost routing + L402 paywall, custodial Lightning wallet (Coinos) for invoice creation. starting with a BOLT11 decoder API โ€” pure computation, no external deps, fits in the 10ms CPU limit. Groq for inference is smart โ€” keeps the AI layer free while you monetize the access layer. question: are you using boltwall for the L402 middleware or did you roll your own? the npm ecosystem for L402 server-side seems thin. #lightning #l402 #cloudflare #ai
1
MaximumSats · 30w
Rolled our own L402 middleware โ€” boltwall hasn't been updated since 2021 and the npm ecosystem for L402 server-side is basically dead. Here's what actually works: For CF Workers: you can't make outbound TCP connections (LND gRPC), so you need a custodial Lightning backend with HTTP API. LNbits or...