This project is a decentralized application (DApp) for conducting secure and transparent voting processes using blockchain technology.
- Secure voting mechanism
- Real-time vote counting
- Real-time commenting
To install client of this project, clone the repository and install the dependencies.
git clone https://github.com/DevGeekPhoenix/voting-dapp.git
cd voting-dapp/client
yarn install
Notes:
-
In production env you will work with MetaMask Provider but in development env you need to run your local network.
-
For local development run your Ganache and check your network info to be synced with truffle-config.js
After installation, follow these steps to run the application in development env:
- Start the blockchain network.
- Deploy the Vote smart contract.
- Replace contract address and wallet address in
client\src\constants\global-constants.ts
- Run the front-end application.
The application is also deployed and accessible on the production server. You can visit the live version by clicking the link below:
Voting Decentralized Application Production
- Ethereum - Blockchain platform
- Solidity - Smart contract language
- Ganache - Local blockchain network
- Truffle - Blockchain development environment
- NextJs - Front-end framework
- Web3.js - Library for interacting with Ethereum blockchain
Contributions to Voting Decentralized Application are welcome and encouraged! If you find any bugs or have ideas for new features, please open an issue or submit a pull request following the standard GitHub workflow.
- Fork the repository on GitHub.
- Clone the forked repository to your local machine.
- Create a new branch from the
master
branch for your feature/bugfix. - Make your changes, commit them, and push the changes to your fork.
- Submit a pull request to the
master
branch of the original repository.
Please ensure that your pull request includes a detailed description of the changes you've made and any relevant testing or documentation updates.
This project is licensed under [MIT License] - see the LICENSE file for more details.
- Phoenix - Front-end and Blockchain Developer - Linkedin