Skip to content

Protocols

Yurii Khiznichenko edited this page May 6, 2022 · 1 revision

AtomicDEX supported protocols

Coins config file: https://github.com/KomodoPlatform/coins/blob/master/coins

Mobile repo has a copy of coins config file in assets/coins_init_mm2.json, air_dex repo - in assets/config/coins.json

UTXO

'Usual' coins, like BTC, BCH, DOGE etc. UTXO coins have protocol.type == 'UTXO' in coins config file

  1. Do not share addresses with other coins.
  2. Tx fees are paid in coin itself.
  3. Use electrum RPC for activation.
  4. Tx history is fetching using my_tx_history RPC.

KMD and 'Smart chains'

KMD and all 'Smart chain' coins have protocol.type == 'UTXO' in config

  1. All 'Smart chain' coins have same address as KMD (and therefore same address book contact entry).
  2. Tx fees are paid in coin itself (KMD for KMD tx, MCL for MCL etc).
  3. Use electrum RPC for activation.
  4. Tx history is fetching using my_tx_history RPC.
  5. All 'Smart chain' coins (but not KMD itself) should have 'Smart chain' label in lists.

ETH and ERC20 tokens

Including all other protocols based on ERC20, like BEP20, PLG20 etc. All these protocols tokens have protocol.type == 'ERC20' in config.

  1. All ERC20 tokens have same address as ETH (all BEP20 tokens - same address as BNB etc).
  2. Tx fees for ERC20 tokens are paid in ETH (gas fee). Tx fee for ETH is paid in ETH as well. BEP20 fees are paid in BNB, PLG20 fees - in MATIC etc.
  3. Use enable RPC for activation.
  4. Transaction history for ETH and ERC20 tokens is fetching from the komodo.live:3334/api endpoint.
  5. All ERC20 tokens (but not ETH itself) should have 'ERC-20' (or 'BEP-20', 'PLG-20' etc) label in lists.
  6. You must have ETH on your balance in order to buy ETH (or any ERC20 token). BNB for BEP20, MATIC for PLG20 etc.

QTUM and QRC20 tokens

QTUM have protocol.type == 'QTUM' in config QRC20 tokens have protocol.type == 'QRC20' in config

  1. QTUM and all QRC20 tokens have the same address.
  2. Tx fees for QTUM and QRC20 tokens are paid in QTUM.
  3. Use electrum RPC for activation.
  4. Tx history is fetching using my_tx_history RPC.
  5. All QRC20 tokens (but not QTUM itself) should have 'QRC-20' label in lists.
  6. You can buy QTUM even if you have zero QTUM balance
  7. You must have QTUM on your balance in order to buy any QRC20 token
Clone this wiki locally