Skip to content

Esar1212/Voting-dApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🗳️ Decentralized Voting DApp

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.


🔗 Live Demo

🔴 https://voting-d-app-git-main-shubhradeeps-projects.vercel.app


📸 Recording

Voting.dApp1.1.1.mp4

🧩 Tech Stack

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

🚀 Features

  • 🔐 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 contract require messages on frontend

🧪 How to Run Locally

1. Clone the Repo

git clone https://github.com/your-username/dvoting-dapp.git
cd dvoting-dapp

About

A decentralised voting system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors