#ethereum #virtual-machine #evm #pure #portable #opcode #no-std

no-std evm-core

Portable Ethereum Virtual Machine implementation written in pure Rust

43 releases (breaking)

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.0 Oct 31, 2019

#28 in #opcode

Download history 6084/week @ 2024-07-21 5888/week @ 2024-07-28 5973/week @ 2024-08-04 6108/week @ 2024-08-11 7079/week @ 2024-08-18 6447/week @ 2024-08-25 6043/week @ 2024-09-01 6612/week @ 2024-09-08 6374/week @ 2024-09-15 7289/week @ 2024-09-22 7293/week @ 2024-09-29 6610/week @ 2024-10-06 6983/week @ 2024-10-13 7778/week @ 2024-10-20 7158/week @ 2024-10-27 8006/week @ 2024-11-03

30,257 downloads per month
Used in 41 crates (5 directly)

Apache-2.0

69KB
2K 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

~0.3–1.3MB
~26K SLoC