Gateway
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 Chains¶
Building Gateway Connectors¶
- Setup: Install and configure Gateway from a developer's standpoint
- Testing: How to test Gateway connectors
- Gateway API Interfaces: API interfaces for different DEX types supported by Gateway
- Building Gateway Connectors: Step-by-step guide to adding DEX connectors to Gateway
- Running AMM-ARB with Gateway: Developer-oriented tutorial that shows you how to test out the
amm-arb
strategy with Gateway