Skip to content

Implementation of the Ethereum Virtual Machine in python.

Notifications You must be signed in to change notification settings

0xmonsoon/evm-from-scratch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Implementation of the Ethereum Virtual Machine in python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%