Skip to main content
Gateway is DEX middleware that enables Hummingbot API to trade on decentralized exchanges. It provides a standardized interface to swap tokens, provide liquidity, and interact with DeFi protocols across multiple blockchains.

What is Gateway?

Gateway is a separate service that:
  • Connects to blockchain RPCs (Ethereum, Solana, etc.)
  • Manages wallet keys and transaction signing
  • Provides unified API for different DEX protocols
  • Handles gas estimation and transaction submission

Supported Protocols

AMM Swaps

CLMM (Concentrated Liquidity)

Supported Chains

How Hummingbot API Uses Gateway

Swaps

Execute token swaps via the /gateway/swaps endpoints:

Liquidity Provision

Manage CLMM positions via /gateway/clmm endpoints:

Setup

1. Configure Gateway

Gateway requires RPC endpoints and wallet configuration:

2. Add Wallets

Add wallet credentials via Condor or API: Telegram:
API:

3. Verify Connection

Check Gateway status:

Gateway vs CEX Connectors

Resources

Gateway GitHub

Gateway source code

Gateway Docs

Full Gateway documentation