Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/sripwoud/ethernaut
- Owner: sripwoud
- License: agpl-3.0
- Created: 2020-04-08T10:49:30.000Z (over 4 years ago)
- Default Branch: forge
- Last Pushed: 2024-02-11T17:08:44.000Z (9 months ago)
- Last Synced: 2024-10-04T13:39:50.036Z (about 1 month ago)
- Topics: blockchain, ctf, ethereum, ethernaut, evm, forge, foundry, hack, security, solidity, web3
- Language: Solidity
- Homepage: https://ethernaut.openzeppelin.com/
- Size: 71.3 KB
- Stars: 17
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.