mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-01-04 13:45:50 -05:00
add nip links
This commit is contained in:
parent
a38ff0b2f3
commit
aa293a60d4
4
69.md
4
69.md
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user