Skip to content

Ethereum and EVM-Based Chains

This page contains notes about connecting Gateway to the Ethereum blockchain and other Ethereum Virtual Machine (EVM)-based blockchains.

All chains on this page use the EVM class defined below.

📁 EVM class folder

Ethereum

📁 Chain folder

📁 Config template

Below are the Ethereum networks that Gateway currently supports.

mainnet (mainnet)

Default configuration parameters

You can adjust these parameters by running the Hummingbot command:

gateway config ethereum.networks.mainnet.<parameter>

ropsten (testnet)

Default configuration parameters

You can adjust these parameters by running the Hummingbot command:

gateway config ethereum.networks.ropsten.<parameter>

kovan (testnet)

Default configuration parameters

  • chainID: 42
  • nodeURL: https://kovan.infura.io/v3/ (adjust nodeURL to add the RPC URL that includes your Infura API key to use it)
  • tokenListType: FILE
  • tokenListSource: Kovan token list
  • nativeCurrencySymbol: ETH
  • gasPriceRefreshInterval: 60

You can adjust these parameters by running the Hummingbot command:

gateway config ethereum.networks.kovan.<parameter>

arbitrum_one (mainnet)

Default configuration parameters

You can adjust these parameters by running the Hummingbot command:

gateway config ethereum.networks.arbitrum_one.<parameter>

arbitrum_rinkeby (testnet)

Default configuration parameters

You can adjust these parameters by running the Hummingbot command:

gateway config ethereum.networks.arbitrum_rinkeby.<parameter>

optimism (mainnet)

Default configuration parameters

You can adjust these parameters by running the Hummingbot command:

gateway config ethereum.networks.optimism.<parameter>

Avalanche

📁 Chain folder

📁 Config template

Below are the Avalanche networks that Gateway currently supports.

avalanche (mainnet)

Default configuration parameters

You can adjust these parameters by running the Hummingbot command:

gateway config avalanche.networks.avalanche.<parameter>

fuji (testnet)

Default configuration parameters

You can adjust these parameters by running the Hummingbot command:

gateway config avalanche.networks.fuji.<parameter>

Polygon

📁 Chain folder

📁 Config template

For more information on the public Polygon RPC endpoints, visit https://docs.polygon.technology/docs/develop/network-details/network/.

Below are the Polygon networks that Gateway currently supports.

mainnet (Polygon mainnet)

Default configuration parameters

You can adjust these parameters by running the Hummingbot command:

gateway config polygon.networks.mainnet.<parameter>

mumbai (testnet)

Default configuration parameters

You can adjust these parameters by running the Hummingbot command:

gateway config polygon.networks.mumbai.<parameter>

Harmony

📁 Chain folder

📁 Config template

Below are the Harmony networks that Gateway currently supports.

mainnet (Harmony mainnet)

Default configuration parameters

  • chainID: 1666600000
  • nodeURL: https://rpc.ankr.com/harmony
  • tokenListType: FILE
  • tokenListSource: 'src/chains/harmony/harmony_tokens_sushiswap.json'
  • nativeCurrencySymbol: ONE
  • gasPriceRefreshInterval: 60

You can adjust these parameters by running the Hummingbot command:

gateway config harmony.networks.mainnet.<parameter>

testnet (Harmony testnet)

Default configuration parameters

  • chainID: 1666700000
  • nodeURL: https://api.s0.b.hmny.io
  • tokenListType: FILE
  • tokenListSource: 'src/chains/harmony/harmony_tokens_sushiswap_testnet.json'
  • nativeCurrencySymbol: ONE
  • gasPriceRefreshInterval: 60

You can adjust these parameters by running the Hummingbot command:

gateway config harmony.networks.testnet.<parameter>