Skip to content
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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

CoachChuckFF
Copy link

@CoachChuckFF CoachChuckFF commented Oct 17, 2023

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.

108.md Outdated Show resolved Hide resolved
108.md Outdated Show resolved Hide resolved
@Egge21M
Copy link
Contributor

Egge21M commented Oct 19, 2023

I very much like this.
This solves the same problem as #542

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.

Copy link
Collaborator

@AsaiToshiya AsaiToshiya left a 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.

108.md Outdated Show resolved Hide resolved
108.md Outdated Show resolved Hide resolved
108.md Outdated Show resolved Hide resolved
CoachChuckFF and others added 4 commits October 19, 2023 09:31
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]>
@CoachChuckFF
Copy link
Author

I very much like this. This solves the same problem as #542

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.

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?

108.md Outdated Show resolved Hide resolved
Copy link
Author

@CoachChuckFF CoachChuckFF left a 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants