Available Precompiles
Configuration
Precompiled contracts provide direct, gas-efficient access to native Cosmos SDK functionality from within the EVM. Build powerful hybrid applications that leverage the best of both worlds. This page provides an overview of the available precompiled contracts, each with detailed documentation on its usage, Solidity interface, and ABI.Genesis Configuration
Precompiles must be enabled in the genesis file to be available on the network. Theactive_static_precompiles parameter controls which precompiles are activated at network launch.
For complete genesis configuration including EVM and fee market parameters, see the Node Configuration reference.
v0.5.0 Breaking Changes
Interface Requirements
Before (v0.4.x):Required Interfaces
The following keeper interfaces are defined inprecompiles/common/interfaces.go:
BankKeeper: Account balances, token transfers, metadataStakingKeeper: Validator operations, delegations, bond denomDistributionKeeper: Reward withdrawals and distributionSlashingKeeper: Validator slashing informationTransferKeeper: IBC transfer operationsChannelKeeper: IBC channel and connection queriesERC20Keeper: Token pair mappings and conversions
Migration Example
Custom Precompile Migration:Integration Guide
Activation
Precompiles must be explicitly activated via theactive_static_precompiles parameter: