Skip to content

Repository files navigation

Building the EVM from Scratch

Support this repo

Learn to build a mini Ethereum Virtual Machine from scratch with this open-source educational book. Built with Jupyter Book.

You can read the book here: evm-from-scratch.app

codes

Overview

We'll build the Ethereum Virtual Machine (EVM) from scratch, step-by-step. Each major topic is covered in a separate Jupyter Notebook.

At the end, we'll combine all the building blocks we've created to assemble the mini EVM.

You can view these notebooks directly on GitHub or download the repository to run and experiment with them locally.

Video Series

A video series covering these topics is coming soon and will be uploaded to my (shafu) YouTube channel.

Local Setup

Prerequisites: Python and pip

pip install -U -r requirements.txt
jupyter-book build .

Open _build/html/index.html in your browser to view the book locally.

For detailed instructions, see the Jupyter Book documentation.

Contributing

Contributions are welcome! Please:

Licence

MIT License. See LICENCE file for details.

Maintainers

  • shafu
  • Community contributors

About

The EVM from scratch book

Resources

Stars

165 stars

Watchers

3 watching

Forks

Used by

Contributors

Languages