negrunch on Nostr: Thinking in a voting system on Nostr * Each voter sends a Gift Wrap (GW) event ...
Thinking in a voting system on Nostr
* Each voter sends a Gift Wrap (GW) event addressed to the Electoral Center's (EC) pubkey. The event internally contains the signed vote information and the sender's pubkey.
* The EC maintains a list of pubkeys authorized to vote.
* For each GW event received, the EC validates that the pubkey is in the registry. If the vote is signed correctly, the vote is counted, and the identity is discarded.
I need to think a little more about audits.
EVERYTHING, absolutely EVERYTHING must be open source, especially in this area.
Published at
2025-04-13 19:53:00 UTCEvent JSON
{
"id": "bbd7155969c658be71c1bc1294b8c00063124fae764e5ebd0ccae7824e19b459",
"pubkey": "000000000652e452ee68a01187fb08c899496cb46cb51d1aa0803d063acedba7",
"created_at": 1744573980,
"kind": 1,
"tags": [
[
"r",
"wss://nos.lol/"
],
[
"r",
"wss://purplepag.es/"
],
[
"r",
"wss://relay.primal.net/"
],
[
"r",
"wss://relay.mostro.network/",
"read"
],
[
"r",
"wss://relay.usefusion.ai/"
]
],
"content": "Thinking in a voting system on Nostr\n\n* Each voter sends a Gift Wrap (GW) event addressed to the Electoral Center's (EC) pubkey. The event internally contains the signed vote information and the sender's pubkey.\n\n* The EC maintains a list of pubkeys authorized to vote.\n\n* For each GW event received, the EC validates that the pubkey is in the registry. If the vote is signed correctly, the vote is counted, and the identity is discarded.\n\nI need to think a little more about audits.\n\nEVERYTHING, absolutely EVERYTHING must be open source, especially in this area.",
"sig": "9e5871bc03c3a595ed7fdd2dad21ff5839ab713964aa83d56d414aec8a1f84f8f359b2225d8c126e9e6107cf95aa6e703a3e26064c3c7fe0883191f130990eb1"
}