Skip to content

NEAR

This page contains notes about connecting Gateway to the Near Protocol.

Near Protocol

📁 Chain folder

📁 Config template

Below are the Near Protocol networks that Gateway currently supports.

mainnet (near mainnet)

Default configuration parameters

  • chainID: 0
  • nodeURL: https://rpc.mainnet.near.org
  • tokenListType: FILE
  • tokenListSource: src/chains/near/near_tokens.json
  • nativeCurrencySymbol: NEAR
  • gasPriceRefreshInterval: 60

You can adjust these parameters by running the Hummingbot command:

gateway config near.networks.mainnet.<parameter>

testnet (near testnet)

Default configuration parameters

  • chainID: 0
  • nodeURL: https://rpc.testnet.near.org
  • tokenListType: FILE
  • tokenListSource: src/chains/near/near_testnet_tokens.json
  • nativeCurrencySymbol: NEAR
  • gasPriceRefreshInterval: 60

You can adjust these parameters by running the Hummingbot command:

gateway config near.networks.testnet.<parameter>