Skip to content

Header only EVM utility functions, types, and interfaces library

License

Notifications You must be signed in to change notification settings

FraktalLabs/evm-cpp-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EVM C++ Utils

readme style standard

EVM utility functions, types, and interfaces library

Header-only C++20 library providing virtual classes for EVM state & accounts. Other types : Bytes ( bytecode ), Address ( 20-byte array ), Block and TX Contexts. Includes utils for parsing bytecode, addresses, and contracts.

Table of Contents

Usage

Add include path to compilation -I./path/to/evm-cpp-utils/include.

Import types and/or utils into your code.

#include <evm-cpp-utils/types.h>
#include <evm-cpp-utils/utils.h>

Use functionality as defined in header files under src/types/ & src/utils/, respectively.

Inherit from virtual classes to modify and/or wrap EVM base implementation.

NOTE: Dependencies must be linked into compilation aswell.

Dependencies

  • intx : 256-bit (32-byte) unsigned integers
  • ethash : Ethereum hash functions

Media

EVM State Chart

Maintainer

Brandon Roberts @b-j-roberts

License

MIT

About

Header only EVM utility functions, types, and interfaces library

Resources

License

Stars

Watchers

Forks