An Ethereum dApp for secure e-voting. Built using Solidity and Truffle Framework.
- Ganache
- MetaMask extension for Chrome
- Connect MetaMask to Ganache:
- Start up Ganache and open a workspace
- Log in to MetaMask
- Create a new
Custom RPC
with the Ganache RPC Server URL:http://localhost:7545/
and connect - Copy the private key for the first account on Ganache by clicking the key icon
- Import Account on MetaMask:
- Select Type as Private Key and paste the private key copied previously
- You should now see the first account on Ganache with it's balance of 100 ETH, on MetaMask
- Fork this repo
git clone https://github.com/your-username/eth-vote
cd eth-vote
npm install -g truffle@5.0.2
npm install
truffle migrate --reset
npm run dev
- Truffle - Development framework for Ethereum DApps
- Solidity - High-level language for implementing Smart Contracts
- Ganache - Personal Ethereum blockchain on your local machine
- MetaMask - Allows the browser to interact with Ethereum blockchain and run DApps on the browser
- web3.js - Library that allows the web app to interact with the Ethereum blockchain