{"repo":"victorykop/voting-blockchain","free":true,"listed":false,"github":"https://github.com/victorykop/voting-blockchain","clone":"git clone https://github.com/victorykop/voting-blockchain.git","description":"A simple blockchain-based voting system application built from scratch by Python. It's available for running with multipeer.","language":"Python","stars":15,"topics":["blockchain","chaincode","docker","multipeer","python-blockchain","smart-contract","turtorial","voting","voting-systems"],"license":null,"category":"blockchain-web3","readme_excerpt":"A Simple Blockchain-based Voting System A simple blockchain-based voting system application built from scratch by Python. It's available for running with multipeer. Materials: How to run and how to use in video demo, Tutorial part 1. Tutorial part 2(not ready now). How it looks How to use - Note: At the first run, click Update Chaincode and Mine to init chaincode (I wrote a simple chaincode to auto close survey after a period of time) before using. Mine : mine unconfirmed transaction Resync : Reload front-end Update Chaincode : Load smart contract from chaincode.py in vosy app to blockchain transaction Pending Transaction : List unconfirmed transaction List Node : List node in the network Instructions to run This project can run separately by python or use docker-compose Running by Docker-compose - NOTE: Only available for linux user. If you have any problem with request ip address, try to uncomment network mode: \"host\" in docker-compose.yml . Prerequisites You need to install docker and docker-compose before Running In first machine Follow this command: You can run in background: You can stop this application: Or down ( delete container ): In second machine You have to provide IP address of machine 1 in .env file. For example: Then run command Running by Python command Prerequisites It needs python , pip to run. Install requirements Running In first machine You need to run 4 app orderer.py certificate authority.py peer.py vosy.py ( if you don't need front-end in this machine","default_branch":null,"files":null,"tree":[],"storefront":"/r/victorykop","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/victorykop/voting-blockchain/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}