/mewo-contracts-exercises

Smart contract exercises for Solidity beginners

Primary LanguageSolidity

Smart contract exercises for Mewo Informatique School

General instructions

  1. Install Foundry and the necessary toolchain
  2. Fork this repository on GitHub
  3. Clone the forked repository with git
  4. Install the Foundry dependencies with
forge install

Exercises

The 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'