How ambalavanan-m/e-voting-using-blockchain works
This is a browser-based e-voting simulation. The documented user journey begins with language and jurisdiction selection, proceeds through citizen login and simulated identity checks, then reaches a wallet-connected voting interface for casting and checking results. The README also describes bilingual UI, visual identity confirmation, contract-address setup, and live result visualization. Most HTML pages were not sampled, so links between stages below rely on README descriptions; the sampled notification utility has no indexed references to other files.
Main entry points: voting.html Voting Interface · index.html Language and Jurisdiction · blockchaincontract.html Contract Setup · login.html Citizen Login
Components 15
Entry and Setup
- Language and Jurisdiction
index.html - Contract Setup
blockchaincontract.html
Identity Verification
- Citizen Login
login.html - OTP Check
otp.html - Aadhaar Check
aadhaar.html - Aadhaar Confirmation
aadhaar-image.html - Voter ID Confirmation
voter-id-image.html - Voter ID Number
voter-id-number.html
Voting and Results
- Voting Interface
voting.html - Live Results
voting.html
Shared UI
- Toast Notifications
notifications.js - Responsive Styling
style.css
Other components
- Citizen
- MetaMask Wallet
- Voting Contract
Connections 13
- Citizen → Language and Jurisdiction: starts at
README.md - Language and Jurisdiction → Citizen Login: continues to
README.md - Citizen Login → OTP Check: begins authentication
README.md - OTP Check → Aadhaar Check: continues verification
README.md - Aadhaar Check → Aadhaar Confirmation: confirms identity
README.md - Aadhaar Confirmation → Voter ID Confirmation: shows identity documents
README.md - Citizen → Contract Setup: provides address
README.md - Contract Setup → Voting Contract: configures address
README.md - Citizen → Voting Interface: casts vote
README.md - Voting Interface → MetaMask Wallet: connects wallet
README.md - Voting Interface → Voting Contract: casts and verifies votes
README.md - Voting Contract → Live Results: supplies vote counts
README.md - Voting Interface → Live Results: visualizes results
README.md