Loktantra is a decentralized, transparent, and tamper-proof digital voting platform built using Blockchain, Web3, and Modern Web Technologies.
The project aims to demonstrate how democratic processes can be secured using smart contracts while maintaining voter privacy and auditability.
Loktantra (ΰ€²ΰ₯ΰ€ΰ€€ΰ€ΰ€€ΰ₯ΰ€°) means Democracy β power to the people.
- π Secure Voting β One person, one vote enforced at the smart contract level
- π Transparency β All votes recorded on a public blockchain
- π‘οΈ Tamper-Proof β Immutable ledger ensures election integrity
- π€ Voter Verification β Off-chain KYC + on-chain voting separation
- π Real-Time Results β Live election results fetched from blockchain
- π Accessibility β Future multilingual support for regional inclusivity
Loktantra follows a 3-layer architecture:
| Layer | Technology | Responsibility |
|---|---|---|
| Frontend | Next.js, TailwindCSS, Ethers.js | UI, Wallet connection, Voting |
| Backend | Node.js, Express, MongoDB | Auth, KYC, Voter verification |
| Blockchain | Solidity, Hardhat, Sepolia | Vote storage, logic, auditability |
Loktantra/
β
βββ client/ # Frontend (Next.js + React)
β βββ src/
β β βββ components/ # Reusable UI components
β β βββ pages/ # Next.js pages (Home, Dashboard, Admin)
β β βββ contracts/ # Contract ABIs
β β βββ utils/ # Helper & Web3 utilities
β βββ package.json
β
βββ server/ # Backend (Node.js + Express)
β βββ src/
β β βββ models/ # MongoDB schemas
β β βββ routes/ # API routes
β β βββ controllers/ # Business logic
β β βββ config/ # DB & environment config
β βββ package.json
β
βββ blockchain/ # Smart Contracts
β βββ contracts/ # Solidity contracts
β βββ scripts/ # Deployment scripts
β βββ hardhat.config.js
β βββ package.json
β
βββ contributors/ # Registered contributors
βββ <your_roll>.txt