A fully-functional decentralized voting application built with Solidity, React, Ethers.js, and MetaMask on the Ethereum Sepolia testnet. This project allows users to vote securely and transparently on-chain while ensuring only one vote per person, and owner-only control over poll resets.
🔴 https://voting-d-app-git-main-shubhradeeps-projects.vercel.app
Voting.dApp1.1.1.mp4
| Layer | Tech Used |
|---|---|
| Smart Contract | Solidity, Remix IDE |
| Frontend | React, Vite, Ethers.js |
| Wallet | MetaMask (Web3 wallet) |
| Blockchain | Ethereum (Sepolia Testnet) |
| Hosting | Frontend on Vercel |
| WebSocket Server on Render | |
| Test Tokens | SepoliaETH |
- 🔐 One-vote-per-wallet enforcement using
mapping(address => bool) - 📜 Only owner can reset voting via Solidity
modifier - 🧾 Voting logic stored on-chain (vote count, voter tracking)
- 🧠 Smart contract interaction using
ethers.js - 🦊 MetaMask integration for secure user authentication
- 📈 Real-time candidate listing and vote count display
⚠️ Error handling with smart contractrequiremessages on frontend
git clone https://github.com/your-username/dvoting-dapp.git
cd dvoting-dapp