Explore the series

Building an EVM from scratch part 1 - the execution context

Building an EVM from scratch part 2 - branching instructions

Building an EVM from scratch part 3 - calldata and the function dispatcher

🟨⬜⬜⬜⬜⬜⬜⬜⬜⬜ 6/142 instructions implemented

Github branch: smol-evm/evm-from-scratch-pt1


Introduction

I greatly enjoyed reading Cupid’s Playdate with the EVM but I felt like getting even more hands-on. Let’s try building an EVM interpreter from scratch, using nothing but the yellow paper!

In this part, we’re going to build: