-
Notifications
You must be signed in to change notification settings - Fork 578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NIP-108 Lightning Gated Content #827
base: master
Are you sure you want to change the base?
NIP-108 Lightning Gated Content #827
Conversation
I very much like this. Both approaches have their pro and cons and come with some overhead. However I want to point out that Zap Gates are easily extensible for more complex setups like fundraisers, subscriptions etc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry if I'm wrong about NIP-04.
Fixed mismatched kinds in documentation Co-authored-by: Asai Toshiya <[email protected]>
NIP-04 takes the user's sk and the gate note creators pk Co-authored-by: Asai Toshiya <[email protected]>
NIP-104 uses the user's sk and the gate note creator's pk Co-authored-by: Asai Toshiya <[email protected]>
NIP-04 takes the users sk and the gated note creator's pk Co-authored-by: Asai Toshiya <[email protected]>
I just took a look at it! Great spec! And you're right, Zap Gates are more extensible, and probably more likely to be adopted. I'd say the main benefit here is simplicity and that you only have to rely on an outside server twice. Once when creating the note and once when purchasing. Once you have the unlock key, it's yours forever since it all stays within the Nostr ecosystem. Granted, this is currently only good for text and small embedded images/files. However, it's feasible that Nostr will implement systems for larger embedded files in the future. I'm a bit of a digital preservationist, maybe there is a way to preserve purchases within Zap Gates? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed g
tag to e
tag
This PR outlines a perspective NIP-108 for lightning-gated content.
A sample client can be found at Nostr Playground
An open-source server and client implementation can be found in the Nostr Playground Repo
Brought to you by the Excalibur Team.