Balancer
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://balancer.fi
- CoinMarketCap: https://coinmarketcap.com/exchanges/balancer/
- CoinGecko: https://www.coingecko.com/en/exchanges/balancer
- Fees: Variable depending on pool
đ How to Connect¶
Create a wallet on one of the supported networks below:
| Chain | Networks |
|---|---|
ethereum |
mainnet |
avalanche |
avalanche |
polygon |
mainnet |
From inside the Hummingbot client, run gateway connect balancer to connect your wallet:
Which chain do you want balancer to connect to? (ethereum) >>>
Which network do you want balancer to connect to? (mainnet, kovan) >>>
Enter your ethereum-mainnet private key >>>>
If the connection is successful:
2ī¸âŖ AMM Connector¶
Integration to this DEX's swap pricing and execution endpoints
- ID:
balancer - Connection Type: REST via Gateway
- API Docs: https://docs.balancer.fi
- Folder: https://github.com/hummingbot/gateway/tree/main/src/connectors/balancer
- Default Configs: https://github.com/hummingbot/gateway/blob/main/src/templates/balancer.yml
Endpoints¶
/amm/price/amm/trade/chain/allowances
For more info, run Gateway and go to https://localhost:8080 in your browser to see detailed documentation for each endpoint.
đ¯ AMM Data Feed¶
Data feed of this exchange's real-time prices
- ID:
balancer_[CHAIN]_[NETWORK] - Connection Type: REST via Gateway
- Folder: https://github.com/hummingbot/hummingbot/blob/master/hummingbot/data_feed/amm_gateway_data_feed.py