Ethernaut Walkthroughs: level up your knowledge of Ethereum smart contract security

Published on Dec 02, 2021

Openzeppelin is well-known for their battle-tested contracts we can build upon in order to create our own ERC-20 or ERC-721 tokens and more.

What they also provide is an excellent security game that teaches your the basics of smart contract security. There is no shortage of hacks resulting in millions of dollars of losses caused by insecure smart contracts. As developers, there's always something we can learn and I found the Ethernaut game to be an excellent introduction for anyone getting started with smart contract development in Solidity.

I've written down my own process and solutions to pass the Ethernaut levels. I am by no means a Solidity expert so take these posts as a starting point or inspiration to learn more about Solidity and do your own research. I suggest you look up other solutions online and compare them in order to make up your own solutions.

Here are the solutions to the levels I was able to understand and pass:

No comments? But that’s like a Gin & Tonic without the ice?

I’ve removed the comments but you can shoot me a message on LinkedIn to keep the conversation going.