
Public Feedback & Survey System on-chain
Why Choose This Project?
Feedback systems today are often centralized, prone to tampering, and lack anonymity. Public surveys and opinion polls require transparency to build trust in democratic, educational, or product-based ecosystems.
This On-Chain Survey System stores surveys and votes securely on a blockchain using smart contracts — ensuring transparency, anonymity, and immutability. It’s ideal for institutions, public forums, or open-source product feedback systems.
What You Get
-
Full Source Code (Frontend + Backend + Smart Contracts)
-
Web3-enabled frontend with wallet login
-
Smart contracts for poll creation, voting, and results tracking
-
Clean and modern dashboard UI
-
Option for anonymous or token-gated voting
-
Complete setup guide + documentation
Built With Modern Tech Stack
Layer | Technologies Used |
---|---|
Frontend | HTML5, CSS3, Bootstrap 5, JavaScript, Web3.js |
Backend | Node.js (Express) / Optional Spring Boot |
Blockchain | Solidity (Ethereum), Hardhat or Truffle |
Wallet | MetaMask, WalletConnect |
Database (Optional) | MongoDB / MySQL (for off-chain storage) |
Security | Reentrancy Guard, Access Control, IPFS (for results or questions) |
Market-Ready Features
Public & Private Surveys
-
Admins create open or restricted surveys
-
Option to target token holders or open to all
Custom Questions
-
Supports MCQ, yes/no, or rating scale
-
Questions stored on-chain or via IPFS hash
Voter Anonymity
-
Votes are anonymized while still verifiable
-
Prevents multiple votes from the same address
Immutable Results
-
Voting data written permanently on-chain
-
Cannot be altered by admin or users
Real-Time Stats
-
Votes update in real-time via smart contract calls
-
Graphs and percentages visible on frontend
Wallet Authentication
-
No signup needed — use wallet for identity
-
Wallet address stored temporarily in session
Survey Archive
-
Browse completed surveys with final vote breakdown
-
Timestamp and survey data stored immutably
Security Features
-
Smart contracts protected by role modifiers
-
Rate limits or cooldown between votes
-
Optional CAPTCHA for bot prevention
Working Flow
-
Admin Logs In via Wallet
Admin creates survey and defines question options -
Survey Goes Live
Public users see new surveys on dashboard -
User Connects Wallet
Verifies eligibility (open/public/token-gated) -
User Casts Vote
Vote written directly to smart contract -
Real-Time Result Updates
Smart contract updates frontend UI with vote stats -
Survey Closes Automatically
After deadline, results are locked -
Results Archived
Immutable record stored permanently