Devpost HackHarvard 2018 Submission
Decentralized voting application using Ethereum. Also allows you to donate Ether to your favorite candidates and view their total campaign funds, allowing transparency throughout the election.
Install these prerequisites to follow along with the tutorial. See free video tutorial or a full explanation of each prerequisite.
- NPM: https://nodejs.org
- Truffle: https://github.com/trufflesuite/truffle
- Ganache: http://truffleframework.com/ganache/
- Metamask: https://metamask.io/
git clone https://github.com/kev5/dVote.git
$ cd dVote
$ npm install
Open the Ganache GUI client that you downloaded and installed. This will start your local blockchain instance.
For macOS-
$ truffle migrate --reset
For Windows-
$ truffle develop
You must migrate the smart contract each time you restart ganache.
- Connect metamask to your local Etherum blockchain provided by Ganache.
- Import any one of the 10 accounts provided by Ganache.
Open a new shell and run the following command-
$ npm run dev
Visit this URL in your browser: http://localhost:3000
- Homepage
- Ganache users