Skip to content

gonzs/voting-dapp

Repository files navigation

Voting Decentralized Application

Environment Setup

1. Dependencies

1.1 Install Nodejs and npm

$ npm install -g truffle

$ npm install -g ganache-cli

2. Ganache desktop application

Install Ganache

3. MetaMask chrome extension

Install MetaMask

Run Application

Build blockchain network

$ ganache-cli

Keep the session running

Deploy the smart contract

$ truffle migrate --reset

Start dev server

$ npm run dev

Ganache Configuration

Config host address

MetaMask Configuration

Config network

Import account using the private key provided when the blockchain network is built

DEMO

Releases

No releases published

Packages

No packages published

Languages