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

Zapraisers #1688

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions 57.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,20 @@ When an event includes one or more `zap` tags, clients wishing to zap it SHOULD

Clients MAY display the zap split configuration in the note.

### Appendix H: `zapraiser` tag on other events

Any event can include a `zapraiser` tag with the tag's value equal to the total amount of sats the author wishes to fundraise from zaps to its event.

```jsonc
{
"tags": [
[ "zapraiser", "1000" ], // 1000 sats
]
}
```

Clients MAY display fundraising information in any way they see fit.

## Future Work

Zaps can be extended to be more private by encrypting `zap request` notes to the target user, but for simplicity it has been left out of this initial draft.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos
| `tracker` | torrent tracker URL | -- | [35](35.md) |
| `web` | webpage URL | -- | [34](34.md) |
| `zap` | pubkey (hex), relay URL | weight | [57](57.md) |
| `zapraiser` | value in sats | -- | [57](57.md) |

Please update these lists when proposing new NIPs.

Expand Down