- Exchange Type: Decentralized Exchange (DEX)
- Market Type: Automatic Market Maker (AMM)
Component | Status | Notes |
---|---|---|
2️⃣ AMM Connector | ✅ | |
3️⃣ Range AMM Connector | Not built | |
🕯 AMM Data Feed | ✅ |
- Website: https://app.pangolin.exchange
- CoinMarketCap: https://coinmarketcap.com/exchanges/pangolin/
- CoinGecko: https://www.coingecko.com/en/exchanges/pangolin
- Fees:
Create a wallet on one of the supported networks below:
Chain | Networks |
---|---|
avalanche |
avalanche , fuji |
From inside the Hummingbot client, run gateway connect pangolin
in order to connect your wallet:
Which chain do you want pangolin to connect to? (avalanche) >>>
Which network do you want pangolin to connect to? (avalanche, fuji) >>>
Enter your avalanche-avalanche private key >>>>
If connection is successful:
The pangolin connector now uses wallet [pubKey] on avalanche-avalanche
Integration to this DEX's swap pricing and execution endpoints
- ID:
pangolin
- Connection Type: REST via Gateway
- API Docs: https://github.com/pangolindex/pangolin-api
- Folder: https://github.com/hummingbot/gateway/tree/main/src/connectors/pangolin
- Default Configs: https://github.com/hummingbot/gateway/blob/main/src/templates/pangolin.yml
/amm/price
/amm/trade
For more info, run Gateway and go to https:localhost:8080 in your browser to see detailed documentation for each endpoint.
Data feed of this exchange's real-time prices
- ID:
pangolin_[CHAIN]_[NETWORK]
- Connection Type: REST via Gateway
- Folder: https://github.com/hummingbot/hummingbot/blob/master/hummingbot/data_feed/amm_gateway_data_feed.py
from hummingbot.data_feed.amm_gateway_data_feed import AmmGatewayDataFeed
prices = AmmGatewayDataFeed(
connector_chain_network="pangolin_avalanche_avalanche",
trading_pairs={"USDC-WAVAX", "USDT-WAVAX"},
order_amount_in_base=Decimal("1"),
)