Skip to content

Uniswap

Uniswap is a protocol on Ethereum for swapping ERC20 tokens. Unlike most exchanges, which are designed to take fees, Uniswap is designed to function as a public good — a tool for the community to trade tokens without platform fees or middlemen.

Source: https://docs.uniswap.org/protocol/V2/introduction

Warning

Currently, Uniswap could not be used on Binary Installers since it would need a gateway connection for it to work. It can only be used when running Hummingbot from source or with Docker.

Prerequisites

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

Connecting to Uniswap

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.


Last update: 2021-09-27
Back to top