Written to serve as a demo repo for this article in the Foundry book. This repo is a template to use both Hardhat and Foundry together.
To get started:
- Clone this repo.
- Run
npm i && forge install
to install dependencies. - Run
npx hardhat test
to run Hardhat tests. - Run
forge test
to run Foundry tests.
Please note that this is a basic template meant to augment the tutorial. You can check out a more professional template here.