28 breaking releases

0.41.0 Nov 1, 2023
0.39.0 May 22, 2023
0.37.0 Nov 14, 2022
0.35.0 Apr 1, 2022
0.14.1 Oct 31, 2019

#2 in #sputnik-vm

Download history 6084/week @ 2024-07-26 6041/week @ 2024-08-02 5783/week @ 2024-08-09 6946/week @ 2024-08-16 6947/week @ 2024-08-23 5964/week @ 2024-08-30 6512/week @ 2024-09-06 5918/week @ 2024-09-13 7570/week @ 2024-09-20 7470/week @ 2024-09-27 6599/week @ 2024-10-04 6838/week @ 2024-10-11 7574/week @ 2024-10-18 7284/week @ 2024-10-25 8091/week @ 2024-11-01 6195/week @ 2024-11-08

30,377 downloads per month
Used in 39 crates (5 directly)

Apache-2.0

110KB
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–3MB
~45K SLoC