mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-01-06 14:22:09 -05:00
Update 69.md
This commit is contained in:
parent
71cfaae52f
commit
455d2f4d30
25
69.md
25
69.md
|
@ -1,10 +1,12 @@
|
||||||
# Nostr poll event
|
# Poll event
|
||||||
|
|
||||||
## Purpose
|
## Purpose
|
||||||
-define new standardized event kind for voting polls
|
|
||||||
|
- define new standardized event kind for voting polls
|
||||||
|
|
||||||
## Poll format
|
## Poll format
|
||||||
|
|
||||||
|
'''
|
||||||
{
|
{
|
||||||
"id": <32-bytes lowercase hex-encoded sha256 of the the serialized poll event data>
|
"id": <32-bytes lowercase hex-encoded sha256 of the the serialized poll event data>
|
||||||
"pubkey": <32-bytes lowercase hex-encoded public key of the poll event creator>,
|
"pubkey": <32-bytes lowercase hex-encoded public key of the poll event creator>,
|
||||||
|
@ -17,14 +19,15 @@
|
||||||
"content": <arbitrary string>,
|
"content": <arbitrary string>,
|
||||||
"sig": <64-bytes hex of the signature of the sha256 hash of the serialized event data, which is the same as the "id" field>
|
"sig": <64-bytes hex of the signature of the sha256 hash of the serialized event data, which is the same as the "id" field>
|
||||||
}
|
}
|
||||||
|
'''
|
||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
|
|
||||||
-define basic polling features
|
- define basic polling features
|
||||||
-define basic polling format
|
- define basic polling format
|
||||||
-outline polling NIP
|
- outline polling NIP
|
||||||
-publish RFC to nostr dev community
|
- publish RFC to nostr dev community
|
||||||
-implement polls in 1 relay
|
- implement polls in 1 relay
|
||||||
-implement polls in 2 clients
|
- implement polls in 2 clients
|
||||||
-send pull request to nostr-protocol/NIPs
|
- send pull request to nostr-protocol/NIPs
|
||||||
-merge with nostr-protocol/NIPs
|
- merge with nostr-protocol/NIPs
|
||||||
|
|
Loading…
Reference in New Issue
Block a user