Built using npm 8.1.0 node v16.13.0
- The frontend is built using
create-react-app
To start the frontend run
cd frontend, npm install, npm start
- 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
- 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
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