diff --git a/69 b/69 new file mode 100644 index 00000000..183b8f95 --- /dev/null +++ b/69 @@ -0,0 +1,30 @@ +# Nostr 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>, + "created_at": , + "kind": 6969, + "tags": [ + ["e", <32-bytes hex of the id of another event>, ], + ["p", <32-bytes hex of the key>, ], + ], + "content": , + "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 + +-define basic polling features +-define basic polling format +-outline polling NIP +-publish RFC to nostr dev community +-implement polls in 1 relay +-implement polls in 2 clients +-send pull request to nostr-protocol/NIPs +-merge with nostr-protocol/NIPs