{"id":23087544,"url":"https://github.com/whitehatboy005/blockchain-based-voting-system","last_synced_at":"2025-04-30T19:48:36.702Z","repository":{"id":261210141,"uuid":"883610875","full_name":"whitehatboy005/Blockchain-Based-Voting-System","owner":"whitehatboy005","description":"This project is a Blockchain-based Voting System application built using Python and Tkinter. It uses blockchain technology to ensure the integrity and transparency of the voting process by securely recording each vote in a tamper-proof ledger.","archived":false,"fork":false,"pushed_at":"2025-02-10T13:19:38.000Z","size":20,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T19:23:15.664Z","etag":null,"topics":["blockchain","blockchain-technology","gui","hash","python3","voting"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/whitehatboy005.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-05T09:17:50.000Z","updated_at":"2025-03-17T14:59:09.000Z","dependencies_parsed_at":"2024-12-27T12:33:42.650Z","dependency_job_id":null,"html_url":"https://github.com/whitehatboy005/Blockchain-Based-Voting-System","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"bc87946777d248bf681234d4d8d2c597ce0a3793"},"previous_names":["whitehatboy005/blockchain-based-voting-system"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitehatboy005%2FBlockchain-Based-Voting-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitehatboy005%2FBlockchain-Based-Voting-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitehatboy005%2FBlockchain-Based-Voting-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitehatboy005%2FBlockchain-Based-Voting-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whitehatboy005","download_url":"https://codeload.github.com/whitehatboy005/Blockchain-Based-Voting-System/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251774163,"owners_count":21641719,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blockchain","blockchain-technology","gui","hash","python3","voting"],"created_at":"2024-12-16T19:58:35.495Z","updated_at":"2025-04-30T19:48:36.696Z","avatar_url":"https://github.com/whitehatboy005.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🔐 Blockchain-based Voting System\n[![License](https://img.shields.io/github/license/whitehatboy005/Blockchain-Based-Voting-System)](LICENSE.md)\n\nThis project is a Blockchain-based Voting System application built using Python and Tkinter. It uses blockchain technology to ensure the integrity and transparency of the voting process by securely recording each vote in a tamper-proof ledger.\n\n## 📌 Features\n\n1. **Blockchain Integration**  \n   - Each vote is added as a block to the blockchain, containing a timestamp, candidate choice, and hash of the previous block.\n   - Blockchain ensures that once recorded, a vote cannot be altered, providing transparency and immutability.\n\n2. **Voter Registration**  \n   - Unique voter IDs are hashed and stored to securely register voters and prevent duplicate votes.\n   - Voter information is securely loaded from a `voter_data.json` file.\n\n3. **Vote Casting**  \n   - Users enter their Voter ID and select a candidate from predefined options.\n   - The system verifies the voter's registration and voting status before allowing a vote to be cast.\n\n4. **Results Display**  \n   - After voting, results show the number of votes each candidate received.\n   - Results update in real-time as votes are cast.\n\n5. **Blockchain Viewing**  \n   - View the blockchain to display each block's details, such as index, timestamp, data (candidate choice), and hash.\n   - This transparency enhances trust in the voting process.\n\n6. **Educational Section**  \n   - A simple explanation of blockchain technology and its application in this system is provided.\n\n## How to Use\n\n1. **Setup**  \n   - Ensure Python is installed along with required dependencies.\n   - Run the main script to start the application.\n\n2. **Cast Vote**  \n   - Enter a valid Voter ID and choose a candidate to cast a vote.\n   - Each voter can vote only once.\n\n3. **View Results and Blockchain**  \n   - Click on \"Show Results\" to view the voting outcomes.\n   - Click on \"View Blockchain\" to see the chain of blocks and verify each recorded vote.\n\n## Usage\n\nThis application serves as a prototype for secure, transparent voting systems. It highlights how blockchain technology can be leveraged to securely manage sensitive data and provide transparent voting records.\n\n## ✖️ Disclaimer\n\nThis application is a demonstration and should not be used in real elections without further security and scalability considerations.\n# Registration page\n![Screenshot 2024-11-05 150655](https://github.com/user-attachments/assets/c30216c1-5b63-4712-8f11-95951123b17f)\n#\n# Voting Page\n![Screenshot 2024-11-05 150715](https://github.com/user-attachments/assets/ae10e167-0a3a-4099-85c1-06173735854b)\n#\n## ⚙️ Installation\n## Clone the Repository\n```bash\ngit clone https://github.com/whitehatboy005/Blockchain-Based-Voting-System\ncd Blockchain-Based-Voting-System\n```\n## Install Dependencies\n```bash\npip install -r requirements.txt\n```\n## Register the voter ID\n```bash\npython registration.py\n```\n## Run the Voting Program\n```bash\npython voter.py\n```\n#\n## 📝 License\n\nThis project is licensed under the terms of the [MIT license](LICENSE.md).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhitehatboy005%2Fblockchain-based-voting-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhitehatboy005%2Fblockchain-based-voting-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhitehatboy005%2Fblockchain-based-voting-system/lists"}