5/5
_Follow along with this video:_ --- ### Precompiles One tricky thing that stands out, which we haven't gone over are `precompiles`. So let's quickly detail how they work. `Precompiles` are effectively fixed address contracts that come bundled with the EVM and perform certain tasks. They function similarly to op codes when compiled and are worth keeping an eye out for when decompiling contracts. If you see a hardcoded address in a contract's op codes, they may be working with a precompile. Similarly, if you see STATICCALL being used on a weird address like `0x01`, they may as well being interacting with a precompile. We briefly touch on a couple precompiles such as `ecrecover` and `SHA2-256` in the [Security Course on Cyfrin Updraft](https://updraft.cyfrin.io/courses/security), so definitely check that out. Take a look at precompiles [here on evm.codes](https://www.evm.codes/precompiled) to become more familiar.
A comprehensive guide to precompiles in Ethereum - The lesson covers the basic understanding of precompiles in Ethereum, their uses and implementation. It also covers some of the most common precompiles.
Previous lesson
Previous
Next lesson
Next
Give us feedback
Course Overview
About the course
Assembly
Writing smart contracts using Huff and Yul
Ethereum Virtual Machine OPCodes
Formal verification testing
Smart contract invariant testing
Halmos, Certora, Kontrol
Security researcher
$49,999 - $120,000 (avg. salary)
Smart Contract Auditor
$100,000 - $200,000 (avg. salary)
Guest lecturers:
Josselin Feist
Head of Blockchain at Trail of Bits
Last updated on May 28, 2025
Solidity Developer
Assembly and Formal VerificationDuration: 30min
Duration: 4h 38min
Duration: 3h 57min
Duration: 1h 56min
Course Overview
About the course
Assembly
Writing smart contracts using Huff and Yul
Ethereum Virtual Machine OPCodes
Formal verification testing
Smart contract invariant testing
Halmos, Certora, Kontrol
Security researcher
$49,999 - $120,000 (avg. salary)
Smart Contract Auditor
$100,000 - $200,000 (avg. salary)
Guest lecturers:
Josselin Feist
Head of Blockchain at Trail of Bits
Last updated on May 28, 2025