A specialized Ethereum Virtual Machine (EVM) implementation tailored for MegaETH specifications, built on top of revm and op-revm.
| 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 |
Install the CLI tool from crates.io:
cargo install mega-evme --lockedThe --locked flag ensures the exact tested dependency versions are used.
Or build from source:
cargo build --release -p mega-evmeThis repository uses git submodules. Clone with submodules:
git clone --recursive https://github.com/megaeth-labs/mega-evm.gitOr if you've already cloned, initialize submodules:
git submodule update --init --recursivecargo buildcargo testMIT OR Apache-2.0