Skip to content

Latest commit

 

History

History
58 lines (37 loc) · 1.46 KB

README.md

File metadata and controls

58 lines (37 loc) · 1.46 KB

[TOC]

Sample Hardhat-Foundry Project

this project integrated hardhat and foundry as a template to fastly create a project.

Getting Started

npm install
forge install

Config .env

cp .env.example .env

replace configs in .env file

Run test

  • with foundry
forge test
  • with hardhat
npx hardhat test

Notice

Whenever you install new libraries using Foundry, make sure to update your remappings.txt file by running forge remappings > remappings.txt

Remapping dependencies

forge remappings > remappings.txt

Recommend resource

Hardhat plugins

Template