flâneur — a map of the web's best reading

revm/documentation/src/crates/precompile.md at b7b92aee232558ea48e9580bfac74d442a17babd · bluealloy/revm

github.com · 532 words · saved by 1 readers

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.

Explore this link on the map →

saved by

related reading