Skip to content

ETCSwap

🛠 Connector Info

  • Exchange Type: Decentralized Exchange (DEX)
  • Market Type: Automatic Market Maker (AMM)
Component Status Notes
2ī¸âƒŖ AMM Connector ✅
3ī¸âƒŖ Range AMM Connector ✅
đŸ•¯ AMM Data Feed ✅

ℹī¸ Exchange Info

🔑 How to Connect

Create a wallet on one of the supported networks below:

Chain Networks
ethereum-classic mainnet

From inside the Hummingbot client, run gateway connect etcswap in order to connect your wallet:

Which chain do you want etcswap to connect to? (ethereum-classic) >>> 
Which network do you want etcswap to connect to? (mainnet) >>>
Enter your ethereum-classic-mainnet private key >>>>

If connection is successful (ethereum-classic-mainnet):

The etcswap connector now uses wallet [pubKey] on ethereum-classic-mainnet

2ī¸âƒŖ AMM Connector

Integration to this DEX's swap pricing and execution endpoints

Endpoints

  • /amm/price
  • /amm/trade
  • /amm/estimateGas

For more info, run Gateway and go to https:localhost:8080 in your browser to see detailed documentation for each endpoint.

3ī¸âƒŖ Range AMM Connector

Integration to this DEX's concentrated liquidity range provision endpoints

Endpoints

  • /amm/liquidity/price
  • /amm/liquidity/add
  • /amm/liquidity/remove
  • /amm/liquidity/position
  • /amm/liquidity/collect_fees

For more info, run Gateway and go to in your browser to see detailed documentation for each endpoint.

đŸ•¯ AMM Data Feed

Data feed of this exchange's real-time prices

Usage

from hummingbot.data_feed.amm_gateway_data_feed import AmmGatewayDataFeed
prices = AmmGatewayDataFeed(
        connector_chain_network="etcswap_ethereum-classic_mainnet",
        trading_pairs={"ETC-USDC", "WETH-DAI"},
        order_amount_in_base=Decimal("1"),
    )