Skip to content

πŸ§‘β€πŸš€ Web3/Solidity based wargame, played in the Ethereum Virtual Machine

License

Notifications You must be signed in to change notification settings

sripwoud/ethernaut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

41 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

The Ethernaut is a Web3/Solidity based wargame inspired from overthewire.org, played in the Ethereum Virtual Machine. Each level is a smart contract that needs to be 'hacked'.

Getting Started

  1. Install foundry
  2. Clone repository
     git clone -b forge --single-branch [email protected]:r1oga/ethernaut.git
    
  3. Run tests
    • all
      forge test --silent
      
    • specific LevelName:
      forge test --mc LevelName --silent
      

Solutions

See wiki.

Credits

Nicole Zhu.
I couldn't solve a couple of levels myself , so I cheated a bit πŸ˜… (especially for the Vault and Gatekeeper One levels). Her walkthroughs are great teaching material on Solidity. I also reused some diagram images from her posts.

Deconstructing a Solidity Contract β€”Part I: Introduction by Alejandro Santander from OpenZeppelin in collaboration with Leo Arias.