This project is a decentralized application (DApp) that utilizes the Ethereum blockchain to implement a voting system. It is implemented using the Solidity programming language to create the necessary smart contracts, and Truffle is used as the development environment.
- Users can create and vote in polls.
- Poll results are stored on the blockchain and cannot be tampered with.
- Only registered users can vote.
- Install Truffle:
npm install -g truffle
- Install the project dependencies:
npm install
- Compile the smart contracts:
truffle compile
- Migrate the contracts to the blockchain:
truffle migrate
To run the DApp, start a local development server: npm run start
Then, open the DApp in your web browser at http://localhost:3000.
To run the test suite, use the following command: truffle test
We welcome contributions to this project! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch for your changes.
- Commit your changes and push to the new branch.
- Create a pull request.
This project is released under the MIT License.
- setup truffle environment
- build the smart contracts (NFT collection and voting system)
- test the smart contracts
- deploy the smart contracts
- front-end using reactjs tailwindcss
- merge the front end with the backend
- test the app
- deploy the app with final result