Skip to main content

Overview

LeoKit supports cross-chain swaps across 30+ blockchains spanning multiple ecosystems including EVM, UTXO, Cosmos, and other specialized chains.

EVM Chains

EVM (Ethereum Virtual Machine) compatible chains use the same address format and transaction structure.

EVM Chain Features

  • Address Format: 0x-prefixed hexadecimal (42 characters)
  • Token Standard: ERC-20, BEP-20 (same interface)
  • Gas Model: Base fee + priority fee (EIP-1559 on most chains)
  • Transaction Type: Supports both legacy and EIP-1559 transactions
  • Approval Required: Yes, for token swaps (except native asset swaps)

EVM-Specific Notes

  • Ethereum (ETH): Highest security, highest fees, most liquidity
  • Arbitrum (ARB): Layer 2 rollup, low fees, fast finality
  • Avalanche (AVAX): High throughput, subsecond finality
  • Base (BASE): Coinbase Layer 2, growing ecosystem
  • BSC: High speed, low fees, Binance ecosystem
  • Polygon: Low fees, high speed, popular for DeFi
  • Optimism: Layer 2 rollup, optimistic rollup design
  • Fantom: High speed, DeFi focused

UTXO Chains

UTXO (Unspent Transaction Output) chains use Bitcoin-like transaction models.

UTXO Chain Features

  • Transaction Format: PSBT (Partially Signed Bitcoin Transaction) for most
  • Dust Limit: Minimum output thresholds to prevent spam
    • BTC/LTC: 546 satoshis
    • DOGE: 100,000,000 shibes (1 DOGE)
  • Memo Support: OP_RETURN outputs for cross-chain swaps
  • Change Outputs: Automatic change calculation and dust handling

UTXO-Specific Notes

  • Bitcoin (BTC): Most secure, highest liquidity, SegWit native
  • Litecoin (LTC): Faster blocks (2.5 min), SegWit support
  • Dogecoin (DOGE): High transaction volume, meme culture
  • DASH: InstantSend for fast confirmations, raw tx format (not PSBT)
  • Bitcoin Cash (BCH): Larger blocks, lower fees
  • Zcash (ZEC): Privacy features available

Memo Length Limits

Cosmos Chains

Cosmos SDK-based chains use account-based models with IBC (Inter-Blockchain Communication).

Cosmos Chain Features

  • Address Format: Bech32 encoding with chain-specific prefix
    • THOR: thor1...
    • MAYA: maya1...
    • GAIA: cosmos1...
    • KUJI: kujira1...
  • Transaction Type: Cosmos SDK messages (MsgSend, MsgDeposit, etc.)
  • Gas Model: Fixed or simulated gas with buffer (typically 1.3x)
  • Memo Support: Native memo field in transactions

Cosmos-Specific Notes

  • THORChain (THOR): Cross-chain liquidity protocol, uses MsgDeposit for native swaps
  • MAYAChain (MAYA): THORChain fork, 10 decimals for CACAO (not 8!)
  • Cosmos Hub (GAIA): Main Cosmos chain, IBC hub
  • Kujira (KUJI): DeFi platform with native DEX

Other Chains

Specialized chains with unique architectures.

Chain-Specific Details

NEAR Protocol

  • Decimals: 24 (yoctoNEAR)
  • Contract Format: name.factory.bridge.near (can contain hyphens)
  • Token Standard: NEP-141
  • Gas: Fixed 30 TGas for ft_transfer
  • Deposit Requirement: 1 yoctoNEAR for token transfers

Ripple (XRP)

  • Decimals: 6 (drops)
  • Reserve Requirement: Minimum balance required
  • Destination Tags: Supported for exchange deposits

Solana (SOL)

  • Decimals: 9 (lamports)
  • Token Standard: SPL tokens
  • High Performance: Sub-second finality

Tron (TRON)

  • Decimals: 6 (sun)
  • Token Standard: TRC-20
  • Energy System: Alternative to gas fees

Cardano (ADA)

  • Decimals: 6 (lovelace)
  • UTXO Model: Extended UTXO with smart contracts
  • Native Tokens: Multi-asset ledger

Protocol Support Matrix

Different protocols support different blockchain ecosystems.

Chain Selection Guidelines

For Speed

  1. Fastest Finality: Solana, Avalanche, Fantom
  2. Fast Confirmation: NEAR, BSC, Polygon
  3. Standard Speed: Ethereum, Bitcoin

For Low Fees

  1. Lowest Fees: Polygon, BSC, Fantom
  2. Low Fees: Arbitrum, Base, Optimism
  3. Medium Fees: Avalanche, NEAR

For Security

  1. Highest Security: Bitcoin, Ethereum
  2. High Security: Litecoin, Cosmos chains
  3. Growing Security: Layer 2s (Arbitrum, Optimism)

For Liquidity

  1. Highest Liquidity: Ethereum, Bitcoin
  2. High Liquidity: BSC, Polygon, Arbitrum
  3. Growing Liquidity: Base, NEAR, Avalanche

Chain-Specific Limitations

Bitcoin (BTC)

  • Memo length limited to 150 bytes for THORChain swaps
  • SegWit required for optimal fee calculation

Dogecoin (DOGE)

  • Shorter memo limit (80 bytes) may require THORNames
  • Higher dust threshold (1 DOGE)
  • Non-SegWit transaction format

NEAR Protocol

  • Limited token support (requires asset equivalents mapping)
  • 90-minute quote expiration
  • 1 yoctoNEAR deposit required for token transfers

MAYAChain (MAYA)

  • CACAO uses 10 decimals (not 8 like other Cosmos chains)
  • Conflicting tolerance parameters not allowed
  • Router field required in responses

EVM Chains

  • USDT requires allowance reset to 0 before new approval
  • Some tokens may require multiple approval transactions
  • Gas estimation may fail, requiring fallback values

Adding New Chains

To request support for additional chains, please contact support@leofinance.io with:
  • Chain name and ticker symbol
  • Blockchain type (EVM/UTXO/Cosmos/Other)
  • Use case and expected volume
  • Community size and ecosystem maturity