Vote on Flow
A simple decentralized voting system smart contract built with Solidity. It allows an admin to create proposals, users to vote once per proposal, and anyone to view results on-chain.
视频
描述
Simple Voting System on Flow EVM
This Solidity smart contract enables a basic yet functional voting system deployed on the Flow EVM Testnet. The contract allows an admin (the deployer) to create proposals, while users can cast votes for these proposals — each address being allowed to vote only once per proposal. It tracks votes using structs and mappings, and logs activity through events. Access control is enforced with an onlyOwner modifier to ensure only the admin can add proposals. Users can easily view the vote counts for all proposals.
This project is ideal for learning key blockchain concepts such as state management, access control, event logging, and deploying contracts to a testnet environment.
Deployed Contract: 0x037DeEB2A441A978bfb7A36417B232EbC1fC6fD1
本次黑客松进展
🚀 Progress During Hackathon During the hackathon, the Simple Voting System project was developed and deployed on the Flow EVM Testnet. Key milestones achieved include: Contract Development Designed a VotingSystem smart contract with Proposal structs, mappings to track votes, and events for logging actions. Implemented access control to restrict proposal creation to the admin. Added functions to create proposals, vote, and view results. Testing & Verification Tested voting logic to ensure one vote per address per proposal. Verified correct vote counts and event emissions. Deployment Deployed the smart contract on Flow EVM Testnet. Successfully interacted with the contract using Remix IDE and MetaMask. Learning & Documentation Gained hands-on experience with Flow EVM, Solidity structs, mappings, and event logging. Documented the project with features, usage instructions, and network details for easy reference. Outcome: A minimal but functional voting system ready for demonstration, showcasing key blockchain concepts and real-world usability.
技术栈
融资状态
As of now, the Simple Voting System project is in the early prototype stage and has not received external funding. All development, deployment, and testing have been self-funded or completed using personal resources. Future Plans for Fundraising: Explore seed funding or grants for expanding the platform. Engage with hackathon sponsors or blockchain-focused accelerators to support further development. Potentially launch a token-based incentive system to encourage community participation and voting engagement. Current Status: Self-funded / Prototype ready for demonstration.