revm/documentation/src/crates/precompile.md at b7b92aee232558ea48e9580bfac74d442a17babd · bluealloy/revm
The precompile crate contains the implementation of the Ethereum precompile opcodes in the EVM. Precompiles are a shortcut to execute a function implemented by the EVM itself, rather than an actual contract. Precompiled contracts are essentially predefined smart contracts on Ethereum, residing at hardcoded addresses and used for computationally heavy operations that are cheaper when implemented this way. There are 6 precompiles implemented in REVM, and they are: blake2, bn128 curve, identity, secp256k1, modexp, and sha256 and ripemd160 hash functions.
The precompile crate contains the implementation of the Ethereum precompile opcodes in the EVM. Precompiles are a shortcut to execute a function implemented by the EVM itself, rather than an actual contract. Precompiled contracts are essentially predefined smart contracts on Ethereum, residing at hardcoded addresses and used for computationally heavy operations that are cheaper when implemented this way. There are 6 precompiles implemented in REVM, and they are: blake2, bn128 curve, identity, secp256k1, modexp, and sha256 and ripemd160 hash functions. Modules: blake2: Implements the BLAKE2…
saved by
related reading
- How to add a custom precompile contractgithub.com
- EVM Codesevm.codes
- Blake2b F precompile by pdyraga · Pull Request #4 · keep-network/go-ethereumgithub.com
- solidity - Are there any examples of using precompiled contracts? - Ethereum Stack Exchangeethereum.stackexchange.com
- solidity - How to use Ethereum precompile bn256Pairing to check equality on symmetric groups? - Ethereum Stack Exchangeethereum.stackexchange.com
- EVM Codes - Opcodesevm.codes
- REVM Is All You Need. How to build simulated blockchain… | by Solid Quant | Mediummedium.com
- revm/documentation/src/crates/precompile.md at b7b92aee232558ea48e9580bfac74d442a17babd · bluealloy/revm · GitHubgithub.com
- GitHub - foundry-rs/forge-std: A collection of helpful contracts and libraries for use with Forge and Foundrygithub.com
- Introduction to Smart Contracts — Solidity 0.8.38-develop documentationdocs.soliditylang.org
- The Ethereum Virtual Machine — How does it work? | by Luit | MyCrypto | Mediummedium.com
- Understanding Jolt: Clarifications and reflections - a16z cryptoa16zcrypto.com