/ethernaut

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

Primary LanguageSolidityMIT LicenseMIT

The Ethernaut

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 git@github.com: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.