Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 621 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 621 Bytes

BlockchainExpert - Decentralized Voting

Getting Started

To test and deploy the smart contract follow the steps below.

  1. Install Node.js
  2. Clone the repository: git clone https://github.com/algoexpert-io/Decentralized-Voting.git
  3. cd Decentralized-Voting
  4. cd backend
  5. npm install
  6. To test the contract run npx hardhat test
  7. To deploy the contract to your localhost network do the following:
    • npx hardhat node
    • npx hardhat run --network localhost ./script/deploy.js

Using the Frontend

  1. cd react_frontend
  2. npm install
  3. npm start