A voting dApp hosted on private truffle test network
Vote for a candidate by spending ETH creating a secure transaction voting history and a blockchain.
Spending ETH confirms the initiation of the Election.sol smart contract to run which is written to prevent illegitimate votes such as double voting.
Uses Ganche to generate ETH tokens and MetaMask chrome extention as a wallet to spend ETH in order to vote.
- Implementing filters for security measures to identify the correct people with permissions to vote. For example, any citizen over age 18.
- UI / UX design of the app. Cross platform to Web, iOS, and Android.
- Deploying to Amazon Web Services.
- Connecting to a distributed blockchain ledger platform [Provide Services] (https://provide.services/) or Ethereum Main.
- Scraping or manually entering candidate information to inform voters.
Election.sol Smart contract written in Solidity
Testing by Mocha
npm install
https://truffleframework.com/ganache
https://metamask.io/
3. Import any account key from Ganche to your MetaMask wallet then connect to a custom RPC localhost:7545.
(Note that PORT: 7545 is default)
The Election.sol smart contract only allows one unique account to vote to prevent multiple votes!
https://drive.google.com/open?id=1W89ISSUPkjKADE23FmMD21Nb8GHKIZ1g