Skip to content

Dhsrthn/merkle-tree

Repository files navigation

MERKLE TREE VOTING

This project is a decentralized web application, that implements secure a secure voting system with the help of Merkle-Trees

...

Pre-requisites to run

Make sure your browser has metamask extension installed, as it will be used to communicate with the blockchain network.

Setup

Blockchain
  1. Fork this repo, clone your fork, and open the terminal in the root directory of the project in your local system.

  2. Install the required dependencies using:

yarn install
  1. Install Ganache globally to run a local blockchain network using:
npm i ganache --global
  1. Run your own local blockchain network using:
ganache 
  1. Deploy the smart contracts using
yarn deploy
  1. Add the local blockchain network to the metamask extension to test it.

  2. Add the first few accounts shown in your screen to your metamask extension for tesing with different accounts.

Now your local blockchain network is up and running in port 8545 (or any other specified port)

Front-end
  1. Navigate to the client directory using:
cd client
  1. Install the required dependencies using:
yarn install
  1. Run the frontend application using:
yarn dev

Now you're frontend application is running locally in port 3000 (or any other specified port)

Demos

The demos directory in the project's root directory, contains the demo for all the concepts, methods and data structures used in this application

Navigate to the Demos directory using:

cd demos

and follow the README file under that directory to test the demos!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •