Skip to content

Repository files navigation

Hardhat x Foundry Template

Template repository for getting started quickly with Hardhat and Foundry in one project

Requirments

Installation

Follow https://book.getfoundry.sh/getting-started/installation

  • Install the submodule dependencies:
forge install
  • Install NPM packages:
npm install

Build or Compile

npm run build

Or

npm run compile

Test

The unit tests are written in Solidity and Foundry.

  • Run all tests:
npm run test
  • Get a gas report:
npm run test:gas

Coverage

Get a test coverage report:

npm run coverage

Clean

Delete the build artifacts and cache directories:

npm run clean

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages