This is the fourth part of the Ethernaut challenges walkthrough. In this series, I try to share my experience of learning Solidity via the Ethernaut challenges. You can find the previous part here.

The code solutions could be found here:

https://github.com/aleksandar-had/ethernaut-walkthrough/

however, I suggest trying to solve the challenges first as the posts are structured in a walkthrough fashion (with hints). Of course, if you feel stuck at any moment, look at my code implementations and try again yourself.

Level 11 — Elevator

This level might seem somewhat odd, but the end goal is to make the contract state variable top evaluate to true…


This is the third part of the Ethernaut challenges walkthrough.

As previously mentioned, the solutions could be found here:

https://github.com/aleksandar-had/ethernaut-walkthrough/

however, I suggest trying to solve the challenges first as the posts are structured in a walkthrough fashion (with hints). Of course, if you feel stuck at any moment, look at my interpretations and try again yourself.

Level 8 — Vault

This challenge is a great example that nothing is “hidden” nor “private” on the blockchain. Although both variables, locked and password, are marked as private, their values are in the contract’s state. …


This is the second part of the walkthrough on the Ethernaut challenges. Part [#1] covered some basics (Remix IDE usage, ABIs, and other things) including the solutions to the first 3 levels.

As previously mentioned, the solutions could be found here:

https://github.com/aleksandar-had/ethernaut-walkthrough/

however, I suggest trying to solve the challenges first as the posts are structured in a walkthrough fashion (with hints). Of course, if you feel stuck at any moment, look at my interpretations and try again yourself.

Level 4 — Telephone

It’s clear that to gain ownership of the contract, you have to pass the require statement of the changeOwner function. This…


As someone rather new to the field of smart contracts programming, I thought it might be of help to other beginners to share some of my experiences from different learning resources and how they helped me improve. Beginning with one of the coolest interactive introductions to smart contracts in Solidity — the Ethernaut, built by none other, but the awesome OpenZeppelin team. If you haven’t heard of them, be sure to go and check their work and also pay a visit to the nice Learn section in their documentation. I must point out that this series of posts is aimed…

Aleksandar Hadzhiyski

Electrical engineer turned software engineer. Passionate for blockchain and crypto tech, but then again, who isn’t. Work blog: https://hack.bg/author/aleksandar

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store