add nip links

This commit is contained in:
landonMutch 2023-03-03 12:39:26 +09:00 committed by GitHub
parent a38ff0b2f3
commit aa293a60d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
69.md
View File

@ -1,6 +1,6 @@
# Poll event # Poll event
A poll note is a nostr event (kind `6969`) for conducting paid polls. A poll presents two or more voting options, which participants my vote on by sending regular zap events which include an additional `poll_option` vote tag. Poll results may be blinded, until after users have voted. Polls may specify a `closed_at` time, after which results should be unblinded, closed to new votes, and the tally considered final. Poll options may be tallied by either satoshi `value` or vote `count`. Polls may additionally specify a `consensus_threshold`. A poll note is a [nostr event](01.md) (kind `6969`) for conducting paid polls. A poll presents two or more voting options, which participants my vote on by sending regular [zap events](57.md) which include an additional `poll_option` vote tag. Poll results may be blinded, until after users have voted. Polls may specify a `closed_at` time, after which results should be unblinded, closed to new votes, and the tally considered final. Poll options may be tallied by either satoshi `value` or vote `count`. Polls may additionally specify a `consensus_threshold`.
## Purpose ## Purpose
@ -43,7 +43,7 @@ A poll event:
## Zap vote format ## Zap vote format
Poll options are voted on by sending zap events (to the original poll event) which include 1 additional `poll_option` tag within their otherwise standard json structure. Poll options are voted on by sending [zap events](57.md) (to the original poll event) which include 1 additional `poll_option` tag within their otherwise standard [json structure](57.md#the-zap-note).
Zap vote events (kind `9734` and `9735`): Zap vote events (kind `9734` and `9735`):
* MUST include exactly 1 `poll_option` tag * MUST include exactly 1 `poll_option` tag