iefan 🕊️ on Nostr: I dedicated nearly half of my weekend to this project, and it's undoubtedly one of ...
I dedicated nearly half of my weekend to this project, and it's undoubtedly one of the most ambitious ones I've taken on so far.
Building regular lightning paywall services is relatively simple—I built one 1.5 years ago that's used by thousands today.
However, building one without any middleman (no centralized server, no LNbits, no personal node, not even a central database) is an extremely difficult challenge.
Here's what to expect:
Seller side: Your content, price, and wallet address are all stored in a shareable QR code, secured by cryptographic encryption and signatures.
Buyer side: When the QR code is scanned, it initiates the payment, and after it's completed, the content is decrypted and displayed.
For Developers: Ideally, you shouldn't even need an API. You should be able to implement this functionality by simply importing a library with a one-liner, like:
generatePaywallQR(contentURL, price, lnAddress)
I'll be working on it this week, and hopefully by next weekend, I'll open it for some beta testing. After that, we can keep improving it based on feedback.
Building regular lightning paywall services is relatively simple—I built one 1.5 years ago that's used by thousands today.
However, building one without any middleman (no centralized server, no LNbits, no personal node, not even a central database) is an extremely difficult challenge.
Here's what to expect:
Seller side: Your content, price, and wallet address are all stored in a shareable QR code, secured by cryptographic encryption and signatures.
Buyer side: When the QR code is scanned, it initiates the payment, and after it's completed, the content is decrypted and displayed.
For Developers: Ideally, you shouldn't even need an API. You should be able to implement this functionality by simply importing a library with a one-liner, like:
generatePaywallQR(contentURL, price, lnAddress)
I'll be working on it this week, and hopefully by next weekend, I'll open it for some beta testing. After that, we can keep improving it based on feedback.
quoting nevent1q…72r3Zapit Development Summary | 80% Complete
I've added a direct LN wallet proxy, eliminating the need for Lnbits.
Additionally, I've implemented the LNURL LUD-10 protocol to package encrypted content, LN address, and a price into a single invoice, eliminating need for a centralized database.
Thanks to Alby's excellent work, I've integrated NWC for recurring payments & subscription based service.
If everything is implemented correctly, you won't even need my API. You can integrate Zapit features into your app using a simple library, no permissions required.
This version of Zapit is a complete rebuild, designed from the ground up with best practices in mind. It's one of my most ambitious projects, and I'm not looking to gain anything from it.
My goal is simply to create something I can be proud of.
I understand that many Nostr users dislike paywalls. I respect that viewpoint, but I also believe that artists in the Bitcoin space deserve to have these option to monetize their work.
I'll release an early version of Zapit soon and will continue to improve it based on user feedback.