Small boilerplate repository for developing on Foundry.
It will compile and test your contracts under src
on save. Happy coding!
Can be used via docker-compose:
docker-compose up
You can set environment variables and flags with an .env
file
FOUNDRY_FLAGS="--fork-url https://eth-mainnet.alchemyapi.io/v2/QfzWQxGrh8ORZGyXbpg0I8hsVDnT_yTq"
If you have nodemon already installed as a global:
nodemon <--args>
To reenable deleted git submodules, use this example:
git submodule add --force https://github.com/foundry-rs/forge-std lib/forge-std
This will redownload and link github submodules