https://github.com/bluealloy/revm
revm
is an Ethereum Virtual Machine (EVM) written in Rust that is focused on speed and simplicity. Importantly Revm is just the execution environment for Ethereum, there is no networking or consensus related work in this repository.
The project has 4 main crates that are used to build the revm. The crates are:
revm
: the main EVM library.
primitives
: primitive data types.
interpreter
: execution loop with instructions.
precompile
: EVM precompiles.
Here is a standard workflow of an execution of a transaction:
https://www.figma.com/file/T5JZBavzbQ5ORGrnFhW99m/Welcome-to-FigJam?type=whiteboard&node-id=48-711&t=fnTCMdBjqlgWt9qE-4