https://github.com/bnb-chain/revm

https://github.com/bnb-chain/revm

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    3 of 138 committers (2.2%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.2%) to scientific vocabulary

Keywords from Contributors

optimism sequences l2-scaling ovm rollup commitments cryptography pairings autograder shellcodes
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: bnb-chain
  • License: mit
  • Language: Rust
  • Default Branch: main
  • Size: 43.3 MB
Statistics
  • Stars: 14
  • Watchers: 7
  • Forks: 9
  • Open Issues: 10
  • Releases: 0
Created over 2 years ago · Last pushed 10 months ago
Metadata Files
Readme Changelog License

README.md

Revm

CI License crates.io Chat

Revm is a highly efficient and stable implementation of the Ethereum Virtual Machine (EVM) written in Rust.

banner

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 op-revm.

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 example of foundry cheatcodes.

```rust,ignore let mut evm = Context::mainnet().withblock(block).buildmainnet(); let out = evm.transact(tx);

// or you can use powerful inspection tool to trace it let mut evm = evm.withinspector(tracer); let out = evm.inspecttx(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 the op-revm crate.

Users:

As previously noted, there are several groups of projects that utilize this technology:

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.

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

Licence

Revm is licensed under MIT Licence.

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.

If gmp feature flag is used, GPL code gets compiled, if enabled please make sure to follow this license.

Security

For any security questions or findings, please reach out to me directly via email at dragan0rakita@gmail.com or contact me on Keybase under the username @draganrakita.

Owner

  • Name: bnb-chain
  • Login: bnb-chain
  • Kind: organization

For BNB Chain: BNB Smart Chain, BNB Beacon Chain

GitHub Events

Total
  • Create event: 21
  • Issues event: 3
  • Release event: 3
  • Watch event: 5
  • Delete event: 8
  • Issue comment event: 15
  • Push event: 29
  • Pull request review comment event: 2
  • Pull request review event: 12
  • Pull request event: 26
  • Fork event: 2
Last Year
  • Create event: 21
  • Issues event: 3
  • Release event: 3
  • Watch event: 5
  • Delete event: 8
  • Issue comment event: 15
  • Push event: 29
  • Pull request review comment event: 2
  • Pull request review event: 12
  • Pull request event: 26
  • Fork event: 2

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 1,405
  • Total Committers: 138
  • Avg Commits per committer: 10.181
  • Development Distribution Score (DDS): 0.616
Past Year
  • Commits: 173
  • Committers: 32
  • Avg Commits per committer: 5.406
  • Development Distribution Score (DDS): 0.624
Top Committers
Name Email Commits
rakita r****a 540
dependabot[bot] 4****] 248
DaniPopes 5****s 110
Matthias Seitz m****z@o****e 63
Wodann W****n 29
Dan Cline 6****d 28
Roman Krasiuk r****k@g****m 28
Oliver Nordbjerg hi@n****e 24
Iaroslav Mazur i****r@p****e 18
refcell.eth a****7@g****m 15
github-actions[bot] 4****] 14
Alexey Shekhirin a****n@g****m 12
evalir hi@e****v 10
Justin Traglia 9****a 9
clabby b****n@c****y 8
Georgios Konstantopoulos me@g****m 8
yutianwu w****t@g****m 7
Arsenii Kulikov k****r@g****m 7
Lorenzo Feroleto 6****o 6
Roshan l****7@g****m 6
lazymio m****o@l****o 5
yjh y****4@g****m 5
hack3r-0m 5****m 5
Waylon Jepsen 5****n 5
Brian Bland b****d@g****m 5
Nicolas Gotchac n****c@g****m 5
dylanhuang j****9@g****m 4
tesseract 1****t 4
jpgonzalezra j****a@g****m 4
gd 9****0 4
and 108 more...

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 2
  • Total pull requests: 166
  • Average time to close issues: 7 months
  • Average time to close pull requests: 17 days
  • Total issue authors: 2
  • Total pull request authors: 10
  • Average comments per issue: 0.5
  • Average comments per pull request: 0.93
  • Merged pull requests: 63
  • Bot issues: 0
  • Bot pull requests: 77
Past Year
  • Issues: 1
  • Pull requests: 40
  • Average time to close issues: N/A
  • Average time to close pull requests: 8 days
  • Issue authors: 1
  • Pull request authors: 8
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.7
  • Merged pull requests: 20
  • Bot issues: 0
  • Bot pull requests: 10
Top Authors
Issue Authors
  • greyireland (1)
  • lwz23 (1)
Pull Request Authors
  • dependabot[bot] (74)
  • pythonberg1997 (24)
  • yutianwu (22)
  • j75689 (18)
  • forcodedancing (13)
  • Pythonberg1997 (7)
  • github-actions[bot] (3)
  • unclezoro (2)
  • ZhAnGeek (2)
  • jhgdike (1)
Top Labels
Issue Labels
Pull Request Labels
dependencies (74)

Dependencies

.github/workflows/book.yml actions
  • Swatinem/rust-cache v2 composite
  • actions/checkout v4 composite
  • actions/deploy-pages v2 composite
  • actions/upload-artifact v3 composite
  • dtolnay/rust-toolchain nightly composite
.github/workflows/cachegrind.yml actions
  • ATiltedTree/setup-rust v1 composite
  • actions/checkout v2 composite
.github/workflows/ci.yml actions
  • Swatinem/rust-cache v2 composite
  • actions/checkout v4 composite
  • dtolnay/rust-toolchain master composite
  • dtolnay/rust-toolchain stable composite
.github/workflows/ethereum-tests.yml actions
  • Swatinem/rust-cache v2 composite
  • actions/checkout v4 composite
  • dtolnay/rust-toolchain stable composite
.github/workflows/release-plz.yml actions
  • MarcoIeni/release-plz-action v0.5 composite
  • actions/checkout v4 composite
  • dtolnay/rust-toolchain stable composite
Cargo.lock cargo
  • 380 dependencies
crates/primitives/Cargo.toml cargo
crates/precompile/Cargo.toml cargo
  • criterion 0.5 development
  • aurora-engine-modexp 1.0
  • bn 0.6
  • c-kzg 1.0.0
  • k256 0.13.3
  • once_cell 1.19
  • revm-primitives 3.1.0
  • ripemd 0.1
  • secp256k1 0.28.2
  • sha2 0.10
Cargo.toml cargo
bins/revm-test/Cargo.toml cargo
bins/revme/Cargo.toml cargo
crates/interpreter/Cargo.toml cargo
crates/revm/Cargo.toml cargo
  • anyhow 1.0.81 development
  • criterion 0.5 development
  • ethers-contract 2.0.14 development
  • indicatif 0.17 development
  • auto_impl 1.2
  • cfg-if 1.0
  • dyn-clone 1.0
  • ethers-core 2.0
  • ethers-providers 2.0
  • revm-interpreter 3.4.0
  • revm-precompile 5.1.0
  • serde 1.0
  • serde_json 1.0
  • tokio 1.36