bluealloy/revm
소개
Rust로 구현한 이더리움 가상 머신입니다.
비즈니스 및 금융측정된 스타 증가
- in 24h
- +1
- in 7 days
- +4
- in 15 days
- +5
- in 1 month
- +12
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalRevm
Revm is a highly efficient and stable implementation of the Ethereum Virtual Machine (EVM) written in Rust.

Known for its robustness, it stands as one of the most popular libraries and a critical component of the Ethereum ecosystem. Revm plays a crucial role across various projects, being widely utilized by almost all tooling and block builders. It is integrated into Reth, multiple Layer 2 variants and other clients and serving as a standard for zkVMs.
Revm offers two primary applications: firstly, it functions as an executor where users can set up block info and process mainnet transactions; secondly, it acts as a framework that facilitates the extension and support of different EVM variants such as Optimism.
How to use:
Here is a straightforward example of using the Execution API: It allows us to create an Ethereum Virtual Machine (EVM) and execute transactions. Additionally, it can be utilized to generate traces with the inspector or more complex examples of foundry cheatcodes.
let mut evm = Context::mainnet().with_block(block).build_mainnet();
let out = evm.transact(tx);
// or you can use powerful inspection tool to trace it
let mut evm = evm.with_inspector(tracer);
let out = evm.inspect_tx(tx);
The EVM Framework API is somewhat complex to use, but this document provides a detailed explanation. It enables users to extend logic, incorporate various context types, and offers built-in support for inspection. For a practical example, you can refer to Optimism.
Users:
As previously noted, there are several groups of projects that utilize this technology:
- Major block builders.
- Clients: Reth, Helios, Trin,..
- Tooling: Foundry, Hardhat,..
- L2s: Optimism, Coinbase, Scroll,..
- zkVM: Risc0, Succinct, Boundless..
The full list of projects that use Revm is available in the awesome-revm section of the book.
How to, dev section
The book and Architecture and API page is the best starting resource.
Some quick links can be found here. Some point to code documentation or the book. Code docs are there to explain usage of a particular part of the code where the book is to get more of an overview of the architecture or how components/projects fit together.
- How to build and use revm
- Architecture overview
- Structure of the project (list of crates and their versions)
- How to use Revm Framework (MyEvm example)
- Release procedure and changelogs explanation
- How to use revme (Revm binary with few commands)
- How to run Ethereum tests
- If there is more need for explanations please open a PR request.
Supported Rust Versions (MSRV)
Revm always aims to stay up-to-date with the latest stable Rust release.
The Minimum Supported Rust Version (MSRV) may be updated at any time, so we can take advantage of new features and improvements in Rust.
Community:
For questions please open a github issue or join the public telegram group
License
Revm is licensed under MIT License.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in these crates by you, shall be licensed as above, without any additional terms or conditions.
Security
For any security questions or findings, please reach out to me directly via email at [email protected] or contact me on Keybase under the username @draganrakita.
관련 프로젝트 살펴보기
불러오는 중…