This is a D-App (De-centralised application) on top of Ethereum Blockchain(EVM - Ethereum Virtual Machine) which eases the task of conducting elections 😄
A dapp is a service that enables direct interaction between end users and providers (e.g. connecting buyers and sellers in some marketplace, owners and storers in file storage). Ethereum dapps typically interface users via an HTML/Javascript web application using a Javascript API to communicate with the blockchain.
A smart contract is a computer protocol intended to digitally facilitate, verify, or enforce the negotiation or performance of a contract. Smart contracts allow the performance of credible transactions without third parties. These transactions are trackable and irreversible.
Solidity is a contract-oriented programming language for writing smart contracts. It is used for implementing smart contracts on various blockchain platforms.
- Clone the repository.
- Navigate to the project directory, install the dependencies.
- Install Ganache (which acts as the local blockchain) and truffle framework.
- You can find migrations file within the migrations directory where smart contracts are written.
- Run
truffle migrate reset
each time you have made change. - Remember reads from the blockchain are free while writes cost gas.
- Run
npm run dev
to launch the app.
Make sure Ganache is running.
GNU General Public License v3.0