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
- Host: GitHub
- URL: https://github.com/parv3213/election-dapp
- Owner: parv3213
- Created: 2020-07-20T14:38:11.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-21T15:10:13.000Z (over 5 years ago)
- Last Synced: 2025-02-22T19:49:11.728Z (about 1 year ago)
- Topics: chai-test, dapp, election-dapp, ethereum, ganache, metamask, reactjs, smart-contracts, solidity, testing, truffle
- Language: JavaScript
- Homepage:
- Size: 2.54 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Election DApp 🏛
#### Simple election decentralized app to vote between two candidates
### 
#### 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 ❤️