- 1. Introduction
- 2. Voting on Truffle
- 2.1. Setup the contract and html file
- 2.2. Compile, deploy and interact with the contract through truffle console
- 2.3. Javascript Setup with web3.js
- 2.4. Implement the Display Vote Count function
- 2.5. Implement the Vote for Candidate function
- 2.6. Handling Metamask Conflict
- 2.7. Truffle course summary
- 3. Tokens
- 4. Contract Implementation
- 4.1. Truffle webpack box setup
- 4.2. Declare Solidity constructor and contract variables
- 4.3. Solidity token buy function implementation
- 4.4. Vote for Candidate function implementation
- 4.5. Voter Details lookup function implementation
- 4.6. Deploy and interact with the contract through truffle console
- 5. Frontend
- 6. Testnet Deploy
- 7. Testing
- 8. Conclusion