Update 69.md

This commit is contained in:
landonMutch 2023-02-27 12:12:09 +09:00 committed by GitHub
parent 71cfaae52f
commit 455d2f4d30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

5
69.md
View File

@ -1,10 +1,12 @@
# Nostr poll event
# Poll event
## Purpose
- define new standardized event kind for voting polls
## Poll format
'''
{
"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>,
@ -17,6 +19,7 @@
"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>
}
'''
## TODO