A VAB project
- Overview
- Problem
- Solution
- Technology
- System Architecture
- Contract Code
- Contributing
- Mobile App
- Author
We have come up with a public voting system where the voting could be transparent, secure and trustable.
So our E-voting app is devided into five major component.
- Ethereum running on AWS EC2 instance as pvt block.
- Nodejs Admin app Deployed over Heroku
- Vuejs Based Mobile app which can be installed as Android build
- A mongo as a service for database
- Adhaar Checksum for Adhaar validation (future use India-Stack)
When an Admin registers we do following things
- Create an Account on Ethereum server
- When the response has come from geth we input the user in our Mongo Data base parameters : {"acountAddr","userAdhaar","Username","passKey"}
- Now when Admin has to login he has to enter Adhaar and passkey
- When he is logged in he is taken to a pannel where he can create Ballots
- The Ballot creation need three parameter in the constructor {"Ballot Name","Start Time","Nominee List"}
- After creating the ballot you can select the ballot and upload the Voter List which is string of Adhaar Id
When user opens the mobile app
- He selects the Polls he want to vote for and enters his Adhaar Id
- We Check in the Contract if his Adhaar Id exist or not on Ethereum
- if it exist he is taken to the ballot where here does the voting
Future Architecture Implementation . (Could be more scalable and basic security out of the box from aws)
/**
* ------------Sample APIS-------------------
* http://localhost:3000/api/create-ballot
* http://localhost:3000/api/addparty
* http://localhost:3000/api/parties-list
* http://localhost:3000/api/add-voter
* http://localhost:3000/api/validate-voter
* http://localhost:3000/api/vote
* http://localhost:3000/api/vote-count
* http://localhost:3000/api/validate-adhar
* http://localhost:3000/api/ballot-list
* http://localhost:3000/api/admin-create
* http://localhost:3000/api/admin-login
*
*/
Everything in this world is available online but even now we have to go to a polling center and wait in a queue for 3–4 hours to cast our vote? It’s weird. Isn’t it?
Majority thinks its the security . But what if Blockchain could fundamentally change that?
Using Ethereum as block chain we tried to solve this problem. So we have an App where the govt entity can register themselves .
They get an account and they can create Ballots .
They can upload Voter List for the ballot.
User open's Installs mobile app and use his Adhaar Id for login .
https://github.com/Vishwas1/voting-daap-2017/blob/master/app/contract/Ballot.sol
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
https://github.com/vikramIde/votingapp-mobile
E-Voting © Vishwas1, Released under the MIT License.
Authored and maintained by vikramIde with help from contributors (list).
The Team
vick.Anand · GitHub @rapchik ·
Vishwas.Anand · GitHub @Vishwas1 ·
Harshitha.naidu · GitHub @harshitha ·