Smart Contract based voting system which let voters elect candidates in an election. This is the upcoming way of casting vote where all votes will be stored in the blockchain, which makes the system tamper proof and fully transparent. Voting tokens are issued to everybody who is eligible to vote and let them vote. Technology Stack - Solidity, Truffle, Ganache, NodeJs, Bootstrap.
- Install MetaMask browser extension.
- Make sure that the Ethereum account which you've been assigned is imported into MetaMask.
- Visit cast vote page and caste your vote.
-
Install truffle npm install -g truffle
-
Install Ganache and metamask from web browser after installing set it up.
-
Clone the gitHub repository git clone "https://github.com/Anshul758/Ethereum_Evoting"
-
Now open the project in your vs code and open ganache also side by side
-
Now open terminal in your vs code and run this command truffle migrate --reset (this command will upload the smart contract from your local ethereum network to blockchain.
-
Finally run npm run dev command and you're good to go.