GitXplorerGitXplorer
f

hardhat-foundry-template

public
240 stars
66 forks
3 issues

Commits

List of commits on branch master.
Verified
375dbb706cf678cd602a20fc435a980b5f31fe2a

Merge pull request #2 from samlaf/patch-1

ggakonst committed 3 years ago
Verified
0e5b42a5953a6ad4c0695082d2b0c2c44be16e4a

Fixes bug (assumed imports are done with double quote)

ssamlaf committed 3 years ago
Unverified
a20f2c7e0a81734ad8b103011c39f37df3742412

update README and add comments to hardhat config

ddevanoneth committed 3 years ago
Unverified
812d84e7f762c5ce26216d073cb2a6f0530d4b9a

fix action link in README

ddevanoneth committed 3 years ago
Unverified
6a5a6ae1699658fb31dab380f69598505d4fa40e

fix google action

ddevanoneth committed 3 years ago
Unverified
8c49959ad9159641cc5c3a4e0296efb359f19554

update github actions

ddevanoneth committed 3 years ago

README

The README file for this repository.

Hardhat x Foundry Template

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

Github Actions

Getting Started

  • Use Foundry:
forge install
forge test
  • Use Hardhat:
npm install
npx hardhat test

Features

  • Write / run tests with either Hardhat or Foundry:
forge test
# or
npx hardhat test
  • Use Hardhat's task framework
npx hardhat example
  • Install libraries with Foundry which work with Hardhat.
forge install rari-capital/solmate # Already in this repo, just an example

Notes

Whenever you install new libraries using Foundry, make sure to update your remappings.txt file by running forge remappings > remappings.txt. This is required because we use hardhat-preprocessor and the remappings.txt file to allow Hardhat to resolve libraries you install with Foundry.