Compiling
This project uses Hardhat as the Solidity development environment. Run the following to compile the contracts within the contracts directory:
Testing
Tests can be found in the test directory, and can be run with the following:
Running scripts (deploying)
Scripts within the scripts directory can be used to deploy the contracts. For example:
yarn hardhat run scripts/sample-script.js
Exposing Hardhat network for external clients
Run the following to expose an RPC node that can be connected to with MetaMask.
Scripts can also be run against this node with the following:
yarn hardhat run scripts/sample-script.js --network localhost