Skip to content

perp

The Perpetual Protocol connector in Gateway is responsible for all on-chain operations (e.g. fetching prices and creating swap transactions).

It interfaces with the GatewayEVMPerpetual class in the Hummingbot client, which is responsible for interfacing with EVM-based perpetual AMMs.

πŸ“ Connector folder

πŸ“ Config template

ℹ️ Exchange Info

Perpetual Protocol Website | CoinMarketCap | CoinGecko

πŸ•ΈοΈ Supported Chains and Networks

Ethereum

πŸ”‘ Setup

  1. Follow the instructions on Setting up Gateway to install the Gateway Docker container
  2. Run gateway connect perp and follow the prompts to add your wallet private key. Like all API and private keys in Hummingbot, this key is encrypted with your Hummingbot password.
  3. Run create to create a Spot-Perp Arbitrage strategy between Perpetual Protocol and a spot exchange.
  4. Run start to start the strategy, and you're trading!

πŸ“˜ Additional Resources

See Ethereum for more information about the default configuration settings and how to change them.