The problem with on-chain votes
Most on-chain voting asks you to trust a coordinator, publish your choice, or fund a fresh burner wallet through a privacy coin. Goblett asks for none of that.
How a vote travels
Three phases, fixed at deployment. Nobody, including the person who created the election, can change the voters, candidates or schedule afterwards.
-
01
Register with your wallet
Your browser makes a secret identity and your wallet signs its public commitment. The signature carries no vote, and your wallet never needs gas or to switch networks.
wallet signature → OHTTP → Nostr topic goblett-5042 → relayer → Semaphore group
-
02
Vote from your browser, not your wallet
A zero-knowledge proof says "I hold one of the registered identities" without saying which. It leaves under a throwaway key for any relayer to submit.
Semaphore proof + nullifier → OHTTP → Nostr → any relayer → election contract
-
03
Read the count yourself
The tally is public on Arc by design. Each nullifier can be spent once, so each identity votes once. First past the post or ranked choice.
tally() · winners() · readable by anyone, changeable by no one
Everything an election needs. Nothing that names a voter.
Ranked choice, counted on-chain
Instant runoff runs in the contract, so the winner is the same for everyone who checks.
Add voters by name
Members claim a public username once. You paste names; Goblett resolves the wallets before anything is fixed on-chain.
Proofs made on the voter's device
Ten to thirty seconds in the browser. Every step is shown, so nobody wonders whether it froze.
Costs you can predict
Gas on Arc is paid in USDC, so an election costs the same every time. Whatever the relayers don't use comes back to you.
Built for
- Clubs & societies
- Add members by username. They connect a wallet once to register and never need gas to vote.
- Student government
- Ranked-choice ballots with instant runoff, and a minimum number of registrations before voting opens so no one stands out.
- DAOs
- Whitelist wallet addresses. Members vote without linking their treasury wallet to their choice.
The fine print, up front
Your secret lives in your browser
It's the only way to vote. Back it up from the election page; anyone holding it can vote as you.
The tally is live and public
Counts update as votes land. Who cast them doesn't appear anywhere.
The creator funds the relayers
Gas plus a small bounty per action, in USDC. Whatever is unused returns to the creator after voting ends.
Today's OHTTP relay is ours
Independent relays would remove that last point of trust. It's the next thing on the roadmap.
Open relayer network
Run a relayer. Get paid to carry votes.
Relayers listen on Nostr, check each proof and submit it. The election refunds their gas plus a bounty. A relayer can't change a ballot without breaking its proof, so none has to be trusted.
$ cd relayer $ pip install -r requirements.txt $ python relayer.py listening on goblett-5042 proof ok · vote relayed · gas + bounty refunded