Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 923 Bytes

File metadata and controls

23 lines (15 loc) · 923 Bytes

EVM From Scratch

Welcome to 0xMonsoon's implementation of the Ethereum Virtual Machine in python. Its based on this template.

Note:

  • All the opcodes have been implemented.
  • Gas metering has not been implemented yet. Its a work in progress.
  • The code is poorly documented right now. Working on adding rationale for design choices.

Credits

All the test cases in this repository are made by w1nt3r.eth. This repository is part of the "EVM From Scratch" course (release date TBD).

Implementation inspired by smol-evm and jaglinux.

Commands to run

cd src
python3 evm.py

This will run the Ethereum Virtual Machine and test it against the test cases contained in test/tests.json.