|
|
|
@ -1,19 +1,15 @@ |
|
|
|
|
import { |
|
|
|
|
GOERLI, |
|
|
|
|
GOERLI_CHAIN_ID, |
|
|
|
|
GOERLI_RPC_URL, |
|
|
|
|
KOVAN, |
|
|
|
|
KOVAN_CHAIN_ID, |
|
|
|
|
KOVAN_RPC_URL, |
|
|
|
|
MAINNET, |
|
|
|
|
MAINNET_CHAIN_ID, |
|
|
|
|
MAINNET_RPC_URL, |
|
|
|
|
RINKEBY, |
|
|
|
|
RINKEBY_CHAIN_ID, |
|
|
|
|
RINKEBY_RPC_URL, |
|
|
|
|
ROPSTEN, |
|
|
|
|
ROPSTEN_CHAIN_ID, |
|
|
|
|
ROPSTEN_RPC_URL, |
|
|
|
|
getRpcUrl, |
|
|
|
|
} from '../../../../shared/constants/network'; |
|
|
|
|
|
|
|
|
|
const defaultNetworksData = [ |
|
|
|
@ -21,7 +17,7 @@ const defaultNetworksData = [ |
|
|
|
|
labelKey: MAINNET, |
|
|
|
|
iconColor: '#29B6AF', |
|
|
|
|
providerType: MAINNET, |
|
|
|
|
rpcUrl: MAINNET_RPC_URL, |
|
|
|
|
rpcUrl: getRpcUrl({ network: MAINNET, excludeProjectId: true }), |
|
|
|
|
chainId: MAINNET_CHAIN_ID, |
|
|
|
|
ticker: 'ETH', |
|
|
|
|
blockExplorerUrl: 'https://etherscan.io', |
|
|
|
@ -30,7 +26,7 @@ const defaultNetworksData = [ |
|
|
|
|
labelKey: ROPSTEN, |
|
|
|
|
iconColor: '#FF4A8D', |
|
|
|
|
providerType: ROPSTEN, |
|
|
|
|
rpcUrl: ROPSTEN_RPC_URL, |
|
|
|
|
rpcUrl: getRpcUrl({ network: ROPSTEN, excludeProjectId: true }), |
|
|
|
|
chainId: ROPSTEN_CHAIN_ID, |
|
|
|
|
ticker: 'ETH', |
|
|
|
|
blockExplorerUrl: 'https://ropsten.etherscan.io', |
|
|
|
@ -39,7 +35,7 @@ const defaultNetworksData = [ |
|
|
|
|
labelKey: RINKEBY, |
|
|
|
|
iconColor: '#F6C343', |
|
|
|
|
providerType: RINKEBY, |
|
|
|
|
rpcUrl: RINKEBY_RPC_URL, |
|
|
|
|
rpcUrl: getRpcUrl({ network: RINKEBY, excludeProjectId: true }), |
|
|
|
|
chainId: RINKEBY_CHAIN_ID, |
|
|
|
|
ticker: 'ETH', |
|
|
|
|
blockExplorerUrl: 'https://rinkeby.etherscan.io', |
|
|
|
@ -48,7 +44,7 @@ const defaultNetworksData = [ |
|
|
|
|
labelKey: GOERLI, |
|
|
|
|
iconColor: '#3099f2', |
|
|
|
|
providerType: GOERLI, |
|
|
|
|
rpcUrl: GOERLI_RPC_URL, |
|
|
|
|
rpcUrl: getRpcUrl({ network: GOERLI, excludeProjectId: true }), |
|
|
|
|
chainId: GOERLI_CHAIN_ID, |
|
|
|
|
ticker: 'ETH', |
|
|
|
|
blockExplorerUrl: 'https://goerli.etherscan.io', |
|
|
|
@ -57,7 +53,7 @@ const defaultNetworksData = [ |
|
|
|
|
labelKey: KOVAN, |
|
|
|
|
iconColor: '#9064FF', |
|
|
|
|
providerType: KOVAN, |
|
|
|
|
rpcUrl: KOVAN_RPC_URL, |
|
|
|
|
rpcUrl: getRpcUrl({ network: KOVAN, excludeProjectId: true }), |
|
|
|
|
chainId: KOVAN_CHAIN_ID, |
|
|
|
|
ticker: 'ETH', |
|
|
|
|
blockExplorerUrl: 'https://kovan.etherscan.io', |
|
|
|
|