Skip to content

Ethereum

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

  • chainID: 1
  • nodeURL: https://rpc.ankr.com/eth
  • tokenListType: FILE
  • tokenListSource: src/chains/ethereum/erc20_tokens_mainnet.json
  • nativeCurrencySymbol: ETH
  • gasPriceRefreshInterval: 60

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

  • chainID: 42161
  • nodeURL: https://rpc.ankr.com/arbitrum
  • tokenListType: FILE
  • tokenListSource: src/chains/ethereum/arbitrum_one_tokens.json
  • nativeCurrencySymbol: ETH
  • gasPriceRefreshInterval: 60

You can adjust these parameters by running the Hummingbot command:

gateway config ethereum.networks.arbitrum_one.<parameter>

arbitrum_rinkeby (testnet)

Default configuration parameters

  • chainID: 421611
  • nodeURL: https://arbitrum-rinkeby.infura.io/v3/ (adjust nodeURL to add the RPC URL that includes your Infura API key to use it)
  • tokenListType: FILE
  • tokenListSource: src/chains/ethereum/arbitrum_rinkeby_tokens.json
  • nativeCurrencySymbol: ETH
  • gasPriceRefreshInterval: 60

You can adjust these parameters by running the Hummingbot command:

gateway config ethereum.networks.arbitrum_rinkeby.<parameter>

optimism (mainnet)

Default configuration parameters

  • chainID: 10
  • nodeURL: https://rpc.ankr.com/optimism
  • tokenListType: FILE
  • tokenListSource: src/chains/ethereum/optimism_tokens.json
  • nativeCurrencySymbol: ETH
  • gasPriceRefreshInterval: 60

You can adjust these parameters by running the Hummingbot command:

gateway config ethereum.networks.optimism.<parameter>