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.
- Host: GitHub
- URL: https://github.com/ausaf007/evm-implementation-in-go
- Owner: ausaf007
- License: mit
- Created: 2022-11-10T07:31:39.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-10T07:47:21.000Z (over 3 years ago)
- Last Synced: 2025-02-25T05:16:02.820Z (over 1 year ago)
- Topics: ethereum, evm, evm-bytecode, go, golang
- Language: Go
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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://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!