- Foundry
- Node v18.14.0
- gsed
- for Mac:
brew install gnu-sed
- for Mac:
For more information on Foundry, please visit https://book.getfoundry.sh/.
To compile the project, run the following command:
make setup
make build
To run tests, execute the following command:
make test
To run tests, execute the following command:
make build-hardhat
make test-hardhat
Solidity files are automatically formatted with Prettier upon git commit. To enable this feature, run the following command:
npm run format
Slither is a Solidity static analysis tool. Slither depends on foundry, so we maintain nightly tags for foundry. Foundry provides persisted artifacts on a monthly basis. We want to switch to the latest nightly version as they become available.