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.
Ethereum¶
Below are the Ethereum networks that Gateway currently supports.
mainnet
(mainnet)¶
Default configuration parameters
chainID
: 1nodeURL
: https://rpc.ankr.com/ethtokenListType
:FILE
tokenListSource
:src/chains/ethereum/erc20_tokens_mainnet.json
nativeCurrencySymbol
: ETHgasPriceRefreshInterval
: 60
You can adjust these parameters by running the Hummingbot command:
gateway config ethereum.networks.mainnet.<parameter>
ropsten
(testnet)¶
Default configuration parameters
chainID
: 3nodeURL
: https://rpc.ankr.com/eth_ropstentokenListType
:FILE
tokenListSource
: Ropsten token listnativeCurrencySymbol
: ETHgasPriceRefreshInterval
: 60
You can adjust these parameters by running the Hummingbot command:
gateway config ethereum.networks.ropsten.<parameter>
kovan
(testnet)¶
Default configuration parameters
chainID
: 42nodeURL
: https://kovan.infura.io/v3/ (adjustnodeURL
to add the RPC URL that includes your Infura API key to use it)tokenListType
: FILEtokenListSource
: Kovan token listnativeCurrencySymbol
: ETHgasPriceRefreshInterval
: 60
You can adjust these parameters by running the Hummingbot command:
gateway config ethereum.networks.kovan.<parameter>
arbitrum_one
(mainnet)¶
Default configuration parameters
chainID
: 42161nodeURL
: https://rpc.ankr.com/arbitrumtokenListType
:FILE
tokenListSource
:src/chains/ethereum/arbitrum_one_tokens.json
nativeCurrencySymbol
: ETHgasPriceRefreshInterval
: 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
: 421611nodeURL
: https://arbitrum-rinkeby.infura.io/v3/ (adjustnodeURL
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
: ETHgasPriceRefreshInterval
: 60
You can adjust these parameters by running the Hummingbot command:
gateway config ethereum.networks.arbitrum_rinkeby.<parameter>
optimism
(mainnet)¶
Default configuration parameters
chainID
: 10nodeURL
: https://rpc.ankr.com/optimismtokenListType
:FILE
tokenListSource
:src/chains/ethereum/optimism_tokens.json
nativeCurrencySymbol
: ETHgasPriceRefreshInterval
: 60
You can adjust these parameters by running the Hummingbot command:
gateway config ethereum.networks.optimism.<parameter>