Skip to content

Depth-Hoar/escrow-sol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

escrow DAPP

Built using npm 8.1.0 node v16.13.0

  1. The frontend is built using create-react-app To start the frontend run
cd frontend, npm install, npm start
  1. Start a local node Hardhat is a blockchain development toolkit used to compile your solidity files, run tests and run a local blockchain node. Open a new terminal and start the node.
npm install, npx hardhat node
  1. Open a new terminal and deploy the smart contract in the localhost network
npx hardhat run --network localhost scripts/deploy.js

run tests

npx hardhat test test/escrow.js

Helpful hardhat commands

to deploy locally

npx hardhat run --network localhost scripts/deploy.js

example hardhat commands

npx hardhat help
npx hardhat test
GAS_REPORT=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.js