Skip to content

Latest commit

 

History

History
53 lines (42 loc) · 1.23 KB

README.md

File metadata and controls

53 lines (42 loc) · 1.23 KB

Ethereum Virtual Machine

Implementation Of Ethereum Virtual Machine With Limited Instruction Set.

Table of Contents

About The Project

Implementation of Ethereum Virtual Machine in Golang, with the following instructions supported:

  • PUSH1/PUSH2/PUSH3/PUSH32
  • MSTORE/MSTORE8
  • ADD/MUL/SDIV/EXP

Tech Stack

Prerequisites

Download and install Golang 1.19 (or higher).

How To Use?

  1. Navigate to evm-implementation-in-go/:
    cd /path/to/folder/evm-implementation-in-go/
    
  2. Get dependencies:
    go mod tidy
    
  3. Run the app:
    go run main.go 
    # use "--verbose" flag to get additional logs
    go run main.go --verbose 
    
  4. CD into evm/ to run tests:
    cd evm/
    go test
    

Thank you!