SuraChain — On-Chain Voting Protocol
A censorship-resistant on-chain voting protocol focused on transparent vote execution, single-vote enforcement, and secure contract logic.

Project Summary
SuraChain is an on-chain voting protocol where voting activity is recorded and verified directly on the blockchain. The contract enforces one-address-one-vote and time-bound elections while exposing results through transparent on-chain state.
My Role
Smart Contract Developer: Designed and implemented the voting logic, participation restrictions, election timing, events, and Foundry test suite.
Challenges
The main challenge was enforcing single-vote participation and election deadlines while keeping the contract logic simple, transparent, and gas-conscious.
Solution & Implementation
Implemented address-based vote tracking, deadline enforcement, custom errors, events, and comprehensive unit and edge-case testing with Foundry.
Main Features
- One Address = One Vote
- Double-Voting Prevention
- Time-Bound Elections
- On-Chain Vote Tallying
- Custom Errors & Events
- Foundry Testing