This repo contains all the contracts for dEscrow. It uses hardhat to aid in development.
Install all dependencies: npm i.
npx hardhat test.
In order to test the system e2e, a local blockchain must be running.
- Run the local blockchain:
npx hardhat node. - Compile and deploy all contracts to this network:
npx hardhat run --network localhost scripts/deploy-contracts.js.
This will print out the addresses where the contracts where deployed. These values will be used in the frontend.
At this point, you have a local blockchain running on localhost:8545 ready to accept connections.