Skip to content

Gateway Connectors

Note

Gateway-V2 takes an exchange-first approach that makes building DEX connectors much easier for developers. There exists an earlier version of Gateway compatible with pre-1.0 Hummingbot releases that has been deprecated and is no longer supported.

What is Gateway-V2?

Hummingbot Gateway-V2, henceforth called Gateway, is API middleware that allows Hummingbot to connect to decentralized exchanges (DEX) on various blockchain protocols.

Gateway lets you create a trading bot that can operate on both DEXs as well as centralized exchanges (CEXs), enabling users to access cross-exchange liquidity provision and arbitrage opportunities, as well as to create their own customized strategies and scripts.

See History for more information about Gateway's history, background, and intended developer experience.

Using Gateway

See Setting up Gateway for instructions on how to launch and use Gateway from the Hummingbot client interface.

See Setting up Gateway - Developers for instructions on how to install Gateway from source so that you can add DEX connectors, configure custom tokens, and perform other developer-oriented tasks.

Supported Decentralized Exchanges

Gateway supports the following types of Automatic Market Maker (AMM) Decentralized Exchanges (DEX):

  • AMM: Automatic Market Maker (AMM) DEXs similar to Uniswap V2
  • Concentrated Liquidity AMM: AMM DEXs that support concentrated liquidity ranges, similar to Uniswap V3
  • Perpetual AMM: AMM DEXs that trade perpetual futures, similar to Perpetual Protocol
  • CLOB: CLOB DEXs similar to Serum

See Exchanges for a list of currently supported venues.

Supported Blockchains

Building Gateway Connectors