OC Vote
What a vote weighs
Edit the coins and the rules and watch the weight move. The real vote-core (opens in a new tab) runs in your browser; nothing leaves this page.
The voter’s coins
Each coin’s value and the block it was confirmed in.
138 d
0 d, out
Blank for none.
Weight69,000,0001 of 2 coins count · 500,000 sats
A day here is 144 blocks, not a calendar day. Real block times drift; the spec counts blocks because every verifier agrees on them.
A secret ballot’s commitment
What a sealed ballot commits to, and its hash.
oc-vote/v0/commit
poll_id: poll-demo
voter: bc1qvoter
option: yes
59b4df1b35b41f4c9da7f335b15f64c09e296f8b314a50966d9e78810697db3cChange the option and the hash changes completely. At the reveal the counter recomputes it and compares, so a voter cannot change their choice after seeing the result.