Election Based On Blockchain pre-requisites Install node https://nodejs.org/en/download/ Install Ganache https://www.trufflesuite.com/ganache Install truffle https://www.trufflesuite.com/docs/truffle/getting-started/installation ganache should be running before hand to setup project run "npm install" after cloning After changes in contracts you need to migrate contracts as a new copy by runnig "truffle migrate --reset" to compile transaction run "truffle compile" to run tests of contracts run "truffle test" to run project on lite-server, run "npm run dev" Project Tour Initial View Initially both the candidates have Confirm transaction for candidate 1 Now Candidate 1 has 1 vote Once Voted from one account, user cannot vote again, so now we need to import another account After confirmation for candidate 2, now candidate 2 also has one vote