electora-vote / electora-app

Decentralized Voting Application - leveraging the power of zk-proofs, conditions based decryption, and decentralized storage
https://app.electora.eu/
8 stars 2 forks source link

Voters need to be logged in #66

Open theref opened 1 year ago

theref commented 1 year ago

Because some of the functionality will be moved server side (eg storage), voters need to be authenticated in order to use the server functions.

Sign in With Ethereum is already a well adopted standard - https://github.com/spruceid/siwe And here is the relevant EIP https://eips.ethereum.org/EIPS/eip-4361

Another alternative is to use https://web3auth.io/index.html which provides Wallet As A Service and would therefore be useable for old school Web2 people

KPrasch commented 1 year ago

For clarity, Which functionality is being relocated "server side" ?

theref commented 1 year ago

Storage of encrypted votes. So encrypt client side, then send to the server and store on arweave

KPrasch commented 1 year ago

I've asked this before, but in the interest of filling out this issue, what are the most compelling reasons to perform storage uploads on a centralized backend vs. locally (or in browser)?

theref commented 1 year ago

It means the voter doesn't have to pay, that's covered by us. Which also removes the need for them to have a wallet & funds etc