- Porting in foundry-rs of the solutions for The Ethernaut CTF.
- Discussion of the solutions at the writeups.md document.
- Follow the instructions to install Foundry.
forge install
Create an .env
file. You can copy the sample .env-sample
:
export RPC_URL=https://eth-holesky.g.alchemy.com/v2/9yUn7YrS814EkZ-2xI0Ex0VFHcPAUmRw
export BLOCK_NUMBER=2000000
Then you just do
forge test
forge test --match-contract Hello
There are different level of verbosities, -vvvvv
is the maximum.
forge test --match-contract Hello -vvvvv