https://github.com/koshikraj/decentralized-election
Decentralized Election on Ethereum blockchain
https://github.com/koshikraj/decentralized-election
elections ethereum reactjs
Last synced: 7 months ago
JSON representation
Decentralized Election on Ethereum blockchain
- Host: GitHub
- URL: https://github.com/koshikraj/decentralized-election
- Owner: koshikraj
- License: mit
- Created: 2019-11-30T08:23:51.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-09-16T03:25:09.000Z (about 3 years ago)
- Last Synced: 2025-02-28T12:56:28.218Z (8 months ago)
- Topics: elections, ethereum, reactjs
- Language: JavaScript
- Homepage:
- Size: 815 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Decentralized Election
Most existing E-Voting systems are based on centralized servers where the voters must trust the organizing authority for the election process and the integrity of the results. In this use case discussion, we will implements a decentralized trustless voting platform on Ethereum blockchain. The main features of this system include ensuring data integrity and transparency, and enforcing one vote per candidate with ensured privacy.## Quick Start
Install contract framework and private blockchain
Truffle and Ganache can be installed as a node module.
```text
$ npm install -g truffle
``````text
$ npm install -g ganache-cli
```### Launch local blockchain (Ganache)
```text
ganache-cli --seed test
```### Test, compile and deploy the contract
```text
$ truffle test
$ truffle migrate
```### Start the client application
Install the node dependencies.
```text
npm install
```Run the app in the development mode.
```text
npm start
```
Open [http://localhost:8080](http://localhost:800) to view it in the browser.Finally, the build for the production can also be generated
```text
npm build
```