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