Why Nostr? What is Njump?
2024-10-06 11:39:37

melvincarvalho on Nostr: I believe the way we do paywalls can be improved if you consider how the web was ...

I believe the way we do paywalls can be improved if you consider how the web was designed.

401 = forbidden
402 = payment required
403 = not allowed

Consider that public html is only one form of the web. Think in terms of a unix style permissions system.

The 401 case is that you dont have access.
The 402 case tells you that if you pay you can get access.
The 403 case tells you that your user does not (yet) have access

Can you see what's going on here? It's a progression. It's a workflow.

First you pay. Then the server adds you to the access control, after the payment is verified.

This allows you to send your nostr id over the wire, e.g. with NIP-98. And on the server, there is a small glue file (like an inode in unix) that tells the server who has access. New payee, and new access.

This was built into the web, and I designed it into nostr from day 1. Same system can do much more than paywalls, it's a whole web operating system, that scales massively.

https://www.w3.org/wiki/WebAccessControl
Yesterday, some users were able to test an early version of my lightning paywall service.

I received some great feedback, already implemented a few of the recommendations, working on NWC and shorter URLs.

You can also give it a try. If possible, please share your feedback.

https://zapit-unlock.vercel.app/

Author Public Key
npub1melv683fw6n2mvhl5h6dhqd8mqfv3wmxnz4qph83ua4dk4006ezsrt5c24