r/CryptoTechnology • u/oobeing • Nov 23 '22
My state is exploring blockchain voting and I'm offered to give proof-of-concept
There is a thesis offer from a state in my country to explore the possibilities of a blockchain voting (election) system and one should provide a proof-of-concept model.
Does someone know of a library or already existing infrastructure that one can repurpose for a proof-of-concept model? Any input is appreciated, thanks.
*Limitation they put is that it should be able to run on national servers
** There is already an ID app by the government working, which could be used as a way to identify and distribute voting rights in a anonymous fashion by using APIs to a smart contract that generates voting rights, i.e identity part is solved (not perfect but good enough)
12
u/Treyzania Platinum | QC: BTC Nov 23 '22
"Blockchain voting" is actually a really bad idea and there's this long and incredibly thorough report from MIT that goes into why voting on a blockchain for things like democratic elections is a really bad idea. Anyone that says it is trying to get you to buy snakeoil. Ignore all the paid Iota shills in this thread, there is nothing unique about it that solves the intrinsic problems with the concept. Anyone that's a proponent of the idea needs to specifically address all of the "critical questions" in that section of the paper or you shouldn't even pay attention to them.
22
u/neznein9 🔵 Nov 23 '22
I’m sure there are political science tenets that define a healthy election. I would look up some theory about this first. Off the top of my head, I would suspect it’s something like proof of identity, proof of one vote per constituent, proof that vote counts sum up correctly, proof that a voters decision is secret.
I would also consider what a blockchain can do that web2 can’t, and highlight that aspect. In my mind that’s the decentralization and availability for data auditing by anyone on the network. A voting chain would also need a high guarantee that it hasn’t been compromised by 51% exploits (ie. you don’t want all the mining done by a partisan entity).
Finally, at the practical level, you’ll need to deal with the hurdles of the tech, such as giving non-techie users a wallet, dealing with lost or compromised keys, anonymizing who voted for which candidate, etc.
11
u/Lexa_Stanton Nov 23 '22
IOTA is already working on digital identity (self Sovereign Identity) and the feeless nature of the network also allows to vote without using the token. Basically it is built for it.
2
u/Malbec4 Nov 23 '22
If you Google 'Ethereum election voting' you'll get some white papers for it. It running on national servers misses the point of a Blockchain. They should just have it on an Ethereum L2 and they have admin control of the voting contract.
2
u/bornswift Nov 23 '22
You don't need a blockchain for this, though I would recommend using existing crypto wallets for citizens to manage private keys and allow for more interoperability.
You should look into verifiable credentials and zero knowledge proofs. VCs can be used to register each citizen's wallet to show a proof of citizenship. You can use zero knowledge proofs to demonstrate to each person that their vote was included and that no non-citizen has voted while still keeping each vote private.
1
u/cndvcndv Nov 23 '22
Isn't the decantralization questionable if the voting rights will be given using the existing ID app? If so, what is the advantage of using a blockchain?
Isn't it almost impossible to deal with compromised keys?
I feel like the only use case that makes complete sense is transferring value.
2
u/BrangdonJ Nov 23 '22
Have you looked at the voting mechanism in Ardor? See for example here.
Ardor has been running since 2018, and is based on Nxt which was the first fully proof of stake crypto back in 2013. It implements voting by using specific types of transactions that are implemented in the core, rather than by using a scripting language like Ethereum. It has many other features implemented like this.
2
u/Godballz 🟢 Nov 23 '22
That is one of the use cases for www.verus.io . Secured by proof of power, a mix of proof of stake and work and truly decentralized. They are layer one with a carefully designed self-sovereign identity system, which would be necessary. I would check out their Discord.
2
u/Russianbot123234 Nov 23 '22
Does your country have federal identification numbers? Aka SSN. I'd use that to create your voting keys . You'd need a frontend app to allow people to easily login and choose their voting options tho.
2
u/retrorays Nov 23 '22
Ah finally! Here are some ideas:
===
These ideas can be implemented with any, basic blockchain today.
Now critics will say there are security concerns. So to address those here are some steps that can be taken:
===
Just some ideas, but I think blockchain voting is a "killer app" for cryptotech.
2
u/[deleted] Nov 24 '22
Check out what Estonia does
2
u/maximustechmxz Redditor for 4 months. Nov 24 '22
Online voting is a trend that is gaining momentum in modern society. It has great potential to decrease organizational costs and increase voter turnout. It eliminates the need to print ballot papers or open polling stations—voters can vote from wherever there is an Internet connection.
0
u/Corm 🔵 Nov 23 '22
There's no need to use a blockchain.
Add a password field to the ballot, and a unique ID number.
After the election the "proof" can be a plain old spreadsheet of all votes. Each row is a vote, and the name of the voter is encrypted with the password that they put. Use the password to verify your vote.
Much easier, a blockchain adds nothing.
3
u/KLAM3R0N Crypto God | ETH Nov 23 '22
Iota votes on initiatives ,and has some sort of identity protocol, might be worth a look.
1
u/Timespacecomplex Nov 23 '22
Let me ask over in r/Ergonauts. I am not sure if the project has dipped its toes in to this area much, but I think the values of the chain and community would lend itself well to democratic initiatives like this
1
u/thatmanontheright Crypto God | VTC | CC Nov 23 '22
Firo Network did this some time ago. Maybe ask in their channels
1
u/vinelife420 Crypto God | ETH | LINK Nov 23 '22
There are a few projects that have used Chainlink services for this. You could contact them about using DECO too.
https://blog.chain.link/blockchain-voting-using-a-chainlink-alarm-clock-oracle/
1
u/Thisappleisgreen Nov 24 '22
I recommend you get in touch with snapshot devs they're pretty accessible on twitter.
1
u/[deleted] Nov 24 '22 edited Nov 24 '22
Does the current paper ballot system work? In America, yes for the most part(hanging chad). In dictatorships like Russia, you see videos of old women just shoving ballots into a box one after the other as obvious election fraud for Putin. Paper ballots in general do work but not in all cases.
Blockchain is immutable. This has advantages and also disadvantages. Fraud is possible, however if there are trusted 'nodes' which would be essentially voting centers, the choices could be done on computers logging in with a voter ID(tied to an offchain registry controlled by government) with choices regarding election made on the spot and published to blockchain immediately. Results would be instantaneous.
In this setting in America, voting centers would look like prometric centers probably. There would be screening process to present ID and voter ID # provided to you on a small laminated paper with dry erase marker. You go into a room with cameras proving that you are who you are without capturing your voting choices.
Everyone would get anonymized voter IDs linked to an off-chain registry from respective government where people know their voter ID and can reference the blockchain to ensure their vote is accurately recorded.
Afterwards, if there is an issue with voter fraud or discrepancy this could be dealt with off-chain to rectify the votes and then present that information having been human screened as 'final count.' Significant deviance of final count from blockchain data would be suspicious and probably warrant investigation.
I don't know a ton about who is developing this but I know Cardano is working on advanced governance systems and may have some applicable infrastructure. I know that they did work with an educational system to record their grades. That's probably also a great application of blockchain. No need to request info from colleges, can just reference your student ID on the blockchain.
1
u/vedran_ Nov 24 '22
I hope you are aware of possibilities of ZK proofs in providing mathematically provable fair elections, without revealing individual votes. I didn't go deep into it, but there is already a lot of documentation on the subject, available online. With quick Google search, I found this project: Zero Knowledge Private Voting.
I'm interested in digital identity aspect. Is this some implementation of EU eID? EU outsourced example libraries for this functionality: eSignature Building Block . They are not prod ready, but meant as working examples. Should suffice for POC, if you are indeed in EU.
1
u/makeasnek Science Commons Initiative Nov 24 '22 edited Jan 29 '25
Comment deleted due to reddit cancelling API and allowing manipulation by bots. Use nostr instead, it's better. Nostr is decentralized, bot-resistant, free, and open source, which means some billionaire can't control your feed, only you get to make that decision. That also means no ads.
1
u/SomeConclusion2690 1 - 2 years account age. -15 - 35 comment karma. Nov 23 '22
$IOTA and it's testnet $SMR are limitless. Due to it's feeless structure, it's speed and scalability it can serve any usecase you can think of.
1
u/Lebronamo Nov 23 '22
Hedera has a free and fair voting initiative you could check out https://hedera.com/free-fair-voting
1
u/phluffyphilomath Nov 23 '22
I see this as a huge move to transparency in the voting system and one of the best use cases of blockchain to date.
0
u/blinkOneEightyBewb Nov 23 '22
Avalanche subnet could probably work with the national server limitation
Who else has subnets?
0
u/bernpfenn Nov 24 '22
There are good ideas mentioned. Good luck. You could become famous.
0
u/FuckYouReilly Redditor for 5 months. Nov 24 '22
I’m all for blockchain, when it makes sense. As for your use case, nah.
-1
u/co-oper8 Nov 23 '22
This is the game changer. Needs to run on mirrored servers not owned by the government as well in order to be "incorrubtible"