Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 349 Bytes

File metadata and controls

22 lines (14 loc) · 349 Bytes

Commands to Run VoteChain Locally

# 1. Install dependencies
npm install

# 2. Compile smart contracts
npx hardhat compile

# 3. Start local Hardhat blockchain
npx hardhat node

➡️ In a new terminal tab:

# 4. Deploy contracts to the local network
npx hardhat run scripts/deploy.js --network localhost