A precompiled contract, or precompile, is a function built into the Ethereum Virtual Machine (EVM) that sits at a fixed, low-numbered address and can be called like an ordinary smart contract. Its logic is not stored as bytecode on the chain but implemented natively in each client, so heavy cryptographic operations run far faster and for less gas than equivalent code written in Solidity. Ethereum's precompiles include ecrecover, which recovers the signer of an ECDSA signature, the SHA-256 and RIPEMD-160 hash functions, modular exponentiation, and addition, multiplication and pairing checks on the BN254 curve that make zk-SNARK verification affordable.
New precompiles are added only through network upgrades. EIP-2537, included in the Pectra upgrade, added operations on the BLS12-381 curve used by the consensus layer. Other EVM chains often add their own precompiles for native features.
Ref 1070001354