Overview
The ERC20 extension bridges Ethereum’s de facto token interface into the native Cosmos token model. This allows existing DeFi contracts and tooling to interoperate with Cosmos-native assets seamlessly. Each native Cosmos denomination registered as a token pair gets a dynamically assigned ERC-20 address. Standard ERC-20 methods (balanceOf, transfer, approve, transferFrom, allowance) work as expected.
Address: Dynamic per token pair
Standard ERC-20 Interface
| Method | Description |
|---|---|
name() | Token name |
symbol() | Token symbol |
decimals() | Token decimal precision |
totalSupply() | Total circulating supply |
balanceOf(address) | Account balance |
transfer(address, uint256) | Transfer tokens |
approve(address, uint256) | Approve spender |
transferFrom(address, address, uint256) | Transfer from approved allowance |
allowance(address, address) | Check approval amount |
How It Works
Native Cosmos tokens are registered as token pairs linking a Cosmos denomination to an ERC-20-compatible address. When you interact with the ERC-20 interface, the extension translates operations to the underlyingx/bank module, so balances remain consistent across both interfaces.
For exact signatures, events, and dynamic address behavior, see Precompile ABI Reference.