-
Install Foundry tools
-
Install Just
-
Install project dependencies
just deps
- Config environment variables
cp .env.sample .env
Fill vars in the .env
file with your own values
- Build and test contracts
just
- Run tests
just test # run all tests
# or run specific tests
just test-unit
just test-inegration
- Install dependencies
Dependencies are managed using yarn. To install new dependencies, run:
yarn add <package-name>
- Deploy to local fork
just deploy-local
- Deploy to local fork of non-mainnet chain
CHAIN=holesky just deploy-local
Whenever you install new libraries using yarn, make sure to update your
remappings.txt
.