hackquest logo

Voting flow

On-chain voting contract: owner creates proposals, users vote once each. Transparent, immutable, permissionless. Tracks votes, prevents duplicates. Deploys on Flow EVM Testnet. Open-sou

Videos

Description

The VotingSystem smart contract offers a transparent, immutable, and permissionless on-chain voting solution ideal for decentralized communities, DAOs, or blockchain demos. Deployed on the Flow EVM Testnet, it enables the contract owner to create proposals that users can vote on once each. Votes and proposals are recorded on-chain, ensuring public accessibility and verifiability. The system prevents duplicate voting and allows the owner to close proposals, maintaining clear voting periods. Its architecture includes a Proposal struct capturing descriptions, vote counts, and active status, alongside mappings to track voter participation. The contract emits events for proposal creation, voting, and closure, supporting easy off-chain tracking. Built in Solidity with tools like Remix and Hardhat, it leverages OpenZeppelin optionally for secure access control. Planned upgrades include time-based deadlines, token-weighted voting, role-based permissions, privacy-focused commit-reveal schemes, and decentralized metadata integration via IPFS. Licensed under MIT, the contract encourages community use and contribution, providing a lightweight yet robust foundation for transparent, community-driven decision-making on-chain. Contract Address: 0xf7F4E558180c554522ae3b657C2697aBEf175346 .

Progress During Hackathon

Succesfully Deployed

Tech Stack

Solidity
Team Leader
MMd Arif Hasnat
Sector
Gaming