This application enables select whitelisted wallet addresses to vote on a proposal.
A user will be able to connect their wallet and place a vote on if their wallet address is whitelisted in the smart contract. Votes will be stored on-chain in an array that can be called through Web3 API.
The voting interface consists of 2 elements:
- React front-end
- For interacting with the voting smart contract (client side)
- Submitting a vote
- Viewing statistics
- Statistics panel (admin side)
- Associate wallet ID with vote and weight
- For interacting with the voting smart contract (client side)
- Smart contract itself
- Verifying eligibility
- Storing votes
- Supplying stats
- Add weighted parameters
- Ending voting session