Skip to content

bentobox19/ethernaut-foundry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ethernaut-foundry

Writeups

  • Discussion of the solutions at the writeups.md document.

Install forge

Install dependencies

forge install

Run the entire test suit

Preparations

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

Running a single challenge

forge test --match-contract Hello

Add traces

There are different level of verbosities, -vvvvv is the maximum.

forge test --match-contract Hello -vvvvv

Releases

No releases published

Packages

No packages published