Sushiswap
Note
This connector is available in Gateway Legacy (v2.2). For installation instructions, refer to the Installation Guide.
đ Connector Info¶
- 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 | â |
âšī¸ Exchange Info¶
- Website: https://www.sushi.com/
- CoinMarketCap: https://coinmarketcap.com/exchanges/sushiswap/
- CoinGecko: https://www.coingecko.com/en/exchanges/sushiswap
- Fees: https://docs.sushiswap.fi/products/limit-order#is-there-any-transaction-fee
đ How to Connect¶
Create a wallet on one of the supported networks below:
| Chain | Networks |
|---|---|
ethereum |mainnet,arbitrum_onegoerli` |
|
avalanche |avalanche,fuji` |
|
binance smart chain |mainnet,testnet` |
|
harmony |mainnet` |
|
polygon |mainnet,mumbai` |
From inside the Hummingbot client, run gateway connect sushiswap in order to connect your wallet:
Which chain do you want sushiswap to connect to? (ethereum, binance-smart-chain, polygon) >>>
Which network do you want sushiswap to connect to? (mainnet, mumbai) >>>
Enter your polygon-mainnet private key >>>>
If connection is successful (polygon-mainnet):
2ī¸âŖ AMM Connector¶
Integration to this DEX's swap pricing and execution endpoints
- ID:
sushiswap - Connection Type: REST via Gateway
- API Docs: https://docs.sushi.com/
- Folder: https://github.com/hummingbot/gateway/tree/main/src/connectors/sushiswap
- Default Configs: https://github.com/hummingbot/gateway/blob/main/src/templates/sushiswap.yml
Endpoints¶
/amm/price/amm/trade
For more info, run Gateway and go to
đ¯ AMM Data Feed¶
Data feed of this exchange's real-time prices
- ID:
sushiswap_[CHAIN]_[NETWORK] - Connection Type: REST via Gateway
- Folder: https://github.com/hummingbot/hummingbot/blob/master/hummingbot/data_feed/amm_gateway_data_feed.py