Skip to content

noxx3xxon/evm-by-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EVM BY EXAMPLE

Installation

git clone git@github.com:noxx3xxon/evm-by-example.git
cd evm-by-example
go mod tidy

The repo queries blockchain nodes to simulate examples, it does this via an environment variable ETH_RPC_URL. Use a provider like Alchemy to get a node RPC endpoint.

export ETH_RPC_URL=https://eth-mainnet.alchemyapi.io/v2/[API_KEY]

Structure

This repository extracts sections of the Geth codebase so that they can be run in isolation with print statements to give context. They are designed to be examples that improve our understanding of how the EVM is implemented in an Ethereum Client. The sub folders represent different areas of the EVM that have been isolated.

To run the code associated with a section

go run [SECTION_NAME]/main.go

Each individual section has its own README which will provide more details on what that section covers.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages