An open API service indexing awesome lists of open source software.

https://github.com/parv3213/election-dapp

Simple election decentralized app to vote between two candidates
https://github.com/parv3213/election-dapp

chai-test dapp election-dapp ethereum ganache metamask reactjs smart-contracts solidity testing truffle

Last synced: 5 months ago
JSON representation

Simple election decentralized app to vote between two candidates

Awesome Lists containing this project

README

          

# Election DApp 🏛

#### Simple election decentralized app to vote between two candidates

### ![GIF](Election-gif.gif)

#### To use:

- Pre-Install truffle, ganache, metamask: browser extension, node
- Clone this repository
- Open this folder in terminal
- Type "npm i" (It will take some time)
- Now type "npm start"
Done!

#### Contract rules

- There are two candidates, "Candidate 1" and "Candidate 2"
- Vote can be casted to only above candidates
- Vote can be casted only once. (This is why the transaction fails when "Account 8" tries to vote twice)

###### \*used solidity compiler version 0.5.0

#### For any queries reach me at parv3213@gmail.com ❤️