Template repository for getting started quickly with Hardhat and Foundry in one project
Follow https://book.getfoundry.sh/getting-started/installation
- Install the submodule dependencies:
forge install- Install NPM packages:
npm installnpm run buildnpm run compileThe unit tests are written in Solidity and Foundry.
- Run all tests:
npm run test- Get a gas report:
npm run test:gasGet a test coverage report:
npm run coverageDelete the build artifacts and cache directories:
npm run clean