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.
Critical: Understanding Token Decimals in PrecompilesAll Cosmos EVM precompile contracts use the native chain’s decimal precision, not Ethereum’s standard 18 decimals (wei).Why this matters:
Cosmos chains typically use 6 decimals, while Ethereum uses 18
Passing values while assuming conventional Ethereum exponents could cause significant miscalculations
Example: On a 6-decimal chain, passing 1000000000000000000 (1 token in wei) will be interpreted as 1 trillion tokens
Before using any precompile:
Check your chain’s native token decimal precision
Convert amounts to match the native token’s format