- Install Foundry and the necessary toolchain
- Fork this repository on GitHub
- Clone the forked repository with git
- Install the Foundry dependencies with
forge installThe exercises are located into the src directory. Every exercise is independent, meaning that you can choose the order of completion of the exercises ; however I tried to globally sort them by ascending difficulty.
To check if your exercise is completed, run the associated test with:
forge test --match-path 'src/XXX/*.sol'
# or, for short
forge t --mp 'src/XXX/*.sol'Example: for the exercise 000:
forge test --match-path 'src/000/*.sol'