/
Launch Hummingbot Miner

Balancer (BETA)


Balancer is an automated portfolio manager, liquidity provider, and price sensor, in other words, a decentralized finance protocol based on Ethereum that allows automatic market making.

NOTE: This connector has undergone code review, internal testing and was shipped during one of our most recent releases. As part of User Acceptance Testing, we encourage users to report any issues with this connector to our Discord server or submit a bug report.

Prerequisites

  • Ethereum wallet (refer to our guide here)
  • Ethereum node (refer to our guide here)
  • Hummingbot Gateway (done after connecting to Balancer)
  • Some ETH in wallet for gas
  • Inventory on both base and quote assets for the connectors

Connecting to Balancer

When creating Hummingbot Gateway, it picks up the Ethereum settings in the global config file which we can set up in the Hummingbot client.

  1. Run the command connect ethereum in the Hummingbot client
  2. Enter your wallet private key
  3. Enter Ethereum node address (starts with https://)
  4. Enter the websocket connection address of your Ethereum node (starts with wss://)

Install Hummingbot Gateway

After adding your Ethereum wallet and node in Hummingbot, follow the guide in the link below on how to install Hummingbot Gateway.

ETH Gas Station (Optional)

Users have the option to use and configure DeFi Pulse Gas Price as the gas estimator.

  1. Sign up for a free account on DeFi Pulse Data
  2. Get your API key - once you log into DeFi Pulse Data, your API key can be found on the right side of the Dashboard. Click the copy button to copy your API Key.

defipulse

  1. From the Hummingbot client, run config ethgasstation_gas_enabled, and enter True
  2. Run config ethgasstation_api_key and enter the DeFi Pulse Data API key
  3. Run config ethgasstation_gas_level and select desired gas level from fast, fastest, safeLow, average.

NOTE: For calculation details on the various gas level, see DeFi Pulse Data API docs.

  1. This step is optional if you want to override the default Gas Station refresh time of 120 seconds. Do this by running the command config ethgasstation_refresh_time.
Edit on GitHub