NIP-108 Lightning Gated Content#827
NIP-108 Lightning Gated Content#827CoachChuckFF wants to merge 6 commits intonostr-protocol:masterfrom
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. |
AsaiToshiya
left a comment
There was a problem hiding this comment.
Sorry if I'm wrong about NIP-04.
Fixed mismatched kinds in documentation Co-authored-by: Asai Toshiya <to.asai.60@gmail.com>
NIP-04 takes the user's sk and the gate note creators pk Co-authored-by: Asai Toshiya <to.asai.60@gmail.com>
NIP-104 uses the user's sk and the gate note creator's pk Co-authored-by: Asai Toshiya <to.asai.60@gmail.com>
NIP-04 takes the users sk and the gated note creator's pk Co-authored-by: Asai Toshiya <to.asai.60@gmail.com>
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? |
|
@staab this PR can be closed. Fanfares isn't using it nor advocating for it anymore. |
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.