Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sripwoud/ethernaut

πŸ§‘β€πŸš€ Web3/Solidity based wargame, played in the Ethereum Virtual Machine
https://github.com/sripwoud/ethernaut

blockchain ctf ethereum ethernaut evm forge foundry hack security solidity web3

Last synced: 25 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# [The Ethernaut](https://ethernaut.openzeppelin.com/)
> The Ethernaut is a Web3/Solidity based wargame inspired from [overthewire.org](https://overthewire.org/wargames/), played in the Ethereum Virtual Machine. Each level is a smart contract that needs to be 'hacked'.

## Getting Started
1. Install [foundry](https://book.getfoundry.sh/getting-started/installation)
2. Clone repository
```commandline
git clone -b forge --single-branch [email protected]:r1oga/ethernaut.git
```
3. Run tests
- all
```commandline
forge test --silent
```
- specific `LevelName`:
```commandline
forge test --mc LevelName --silent
```

## Solutions
See [wiki](https://github.com/r1oga/ethernaut/wiki).

## Credits
[Nicole Zhu](https://medium.com/@nicolezhu).
I couldn't solve a couple of levels myself , so I cheated a bit πŸ˜… (especially for the [Vault](https://github.com/r1oga/ethernaut/wiki/08.-Vault) and [Gatekeeper One](https://github.com/r1oga/ethernaut/wiki/13.-GatekeeperOne) 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](https://blog.openzeppelin.com/deconstructing-a-solidity-contract-part-i-introduction-832efd2d7737/) by Alejandro Santander from OpenZeppelin in collaboration with Leo Arias.