This project implements a decentralized voting system using blockchain technology. The smart contract is built with Solidity, and the frontend is developed using ReactJs with Web3.js integration. The combination of Ganache and MetaMask is used for local development and testing.
- Security: Ensures secure and transparent voting.
- Prevention of Double Voting: Smart contract prevents double voting.
- Integrity: Ensures the integrity of the entire voting process.
- contracts: Contains Solidity smart contract files.
- website: Houses the ReactJs frontend application.
- Clone the repository:
git clone https://github.com/phucthuan1st/THDTVoting
- Install dependencies:
cd decentralized-voting-system/website
npm install
-
Start Ganache and create a new workspace.
-
Configure MetaMask to connect to your local Ganache network.
-
Compile and deploy the smart contract:
truffle compile truffle migrate
-
Run the ReactJs frontend:
cd website npm start
-
Access the application at
http://localhost:3000
in your web browser.
- Nguyen Phuc Thuan phucthuan1st@gmail.com
- Tran Nam Tuan tntuan110322@gmail.com
- Nguyen Ta Huy Hoang nthh01082002@gmail.com
- Nguyen Tien Dat khachviptochau2256@gmail.com
This project is licensed under the MIT License - see the LICENSE file for details.