Skip to content

megaeth-labs/mega-evm

Repository files navigation

MegaETH EVM

A specialized Ethereum Virtual Machine (EVM) implementation tailored for MegaETH specifications, built on top of revm and op-revm.

Crates

Crate Description
mega-evm Core EVM implementation with MegaETH specs (EQUIVALENCE through REX4)
mega-system-contracts Solidity system contracts with Rust bindings
mega-evme CLI tool for EVM execution (run, tx, replay)
mega-t8n Standalone state transition (t8n) tool
state-test Ethereum state test runner

Installation

Install the CLI tool from crates.io:

cargo install mega-evme --locked

The --locked flag ensures the exact tested dependency versions are used.

Or build from source:

cargo build --release -p mega-evme

Development

This repository uses git submodules. Clone with submodules:

git clone --recursive https://github.com/megaeth-labs/mega-evm.git

Or if you've already cloned, initialize submodules:

git submodule update --init --recursive

Building

cargo build

Testing

cargo test

Documentation

License

MIT OR Apache-2.0

About

The encapsulation of revm tailored for MegaETH.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages