An open API service indexing awesome lists of open source software.

https://github.com/ausaf007/evm-implementation-in-go

Implementation Of Ethereum Virtual Machine With Limited Instruction Set.
https://github.com/ausaf007/evm-implementation-in-go

ethereum evm evm-bytecode go golang

Last synced: 25 days ago
JSON representation

Implementation Of Ethereum Virtual Machine With Limited Instruction Set.

Awesome Lists containing this project

README

          

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

[![](https://img.shields.io/badge/Built_with-Go-green?style=for-the-badge&logo=Go)](https://go.dev/)

## Prerequisites

Download and install [Golang 1.19](https://go.dev/doc/install) (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!