3 releases (1 unstable)
1.0.0-alpha.2 | Dec 6, 2023 |
---|---|
1.0.0-alpha.1 | Nov 25, 2023 |
0.1.0 | Oct 29, 2023 |
#76 in #evm
22 downloads per month
120KB
4K
SLoC
Rust EVM
Rust EVM, also known as SputnikVM, is a flexible Ethereum Virtual Machine interpreter that can be easily customized.
Status
The Rust EVM project has a long history dating back to the initial implementation in 2017 (when it was called SputnikVM). It has gone through multiple rewrites over the years to accommodate for different requirements, when we successfully tested one integrating Geth to sync the mainnet.
The current rewrite is used in production for the Frontier project (the Ethereum-compatibility layer for Polkadot). However, we have not yet fully tested it against Ethereum mainnet. If you have such requirements, PR for fixes are welcomed.
Features
- Standalone - can be launched as an independent process or integrated into other apps.
- Flexible - can be customized and extended to support additional opcodes, additional precompiles, different gasometers or other more exotic use cases.
- Portable - support
no_std
, and can be used in different environments like in WebAssembly. - Fast - we of course try to be fast!
- written in Rust, can be used as a binary, cargo crate or shared library.
Dependencies
Rust EVM requires at least rustc 1.75
.
Documentation
License
Apache 2.0
lib.rs
:
Core layer for EVM.
Dependencies
~1.5–2.7MB
~39K SLoC