Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.

bentobox19/ethernaut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

149 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Foundry port of https://github.com/OpenZeppelin/ethernaut

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors