29 breaking releases

new 0.42.0 Jan 14, 2025
0.41.0 Nov 1, 2023
0.40.0 Oct 5, 2023
0.39.0 May 22, 2023
0.14.1 Oct 31, 2019

#135 in Magic Beans

Download history 7746/week @ 2024-09-26 6428/week @ 2024-10-03 7081/week @ 2024-10-10 7392/week @ 2024-10-17 7542/week @ 2024-10-24 7739/week @ 2024-10-31 7654/week @ 2024-11-07 8432/week @ 2024-11-14 8548/week @ 2024-11-21 7389/week @ 2024-11-28 8231/week @ 2024-12-05 8380/week @ 2024-12-12 3706/week @ 2024-12-19 1550/week @ 2024-12-26 5162/week @ 2025-01-02 7699/week @ 2025-01-09

19,476 downloads per month
Used in 39 crates (5 directly)

Apache-2.0

115KB
3K SLoC

Rust EVM

Build Status License

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

Dependencies

~1.6–2.9MB
~44K SLoC