2020-10-06 19:57:02 +02:00
|
|
|
import {
|
|
|
|
GOERLI,
|
|
|
|
GOERLI_CHAIN_ID,
|
|
|
|
KOVAN,
|
|
|
|
KOVAN_CHAIN_ID,
|
|
|
|
MAINNET,
|
|
|
|
MAINNET_CHAIN_ID,
|
|
|
|
RINKEBY,
|
|
|
|
RINKEBY_CHAIN_ID,
|
|
|
|
ROPSTEN,
|
|
|
|
ROPSTEN_CHAIN_ID,
|
2022-02-10 20:23:52 +01:00
|
|
|
getRpcUrl,
|
2022-04-21 21:09:41 +02:00
|
|
|
ETH_SYMBOL,
|
|
|
|
TEST_NETWORK_TICKER_MAP,
|
2021-04-28 21:53:59 +02:00
|
|
|
} from '../../../../shared/constants/network';
|
2020-10-06 19:57:02 +02:00
|
|
|
|
2019-05-09 19:27:14 +02:00
|
|
|
const defaultNetworksData = [
|
|
|
|
{
|
2020-10-06 19:57:02 +02:00
|
|
|
labelKey: MAINNET,
|
2019-05-09 19:27:14 +02:00
|
|
|
iconColor: '#29B6AF',
|
2020-10-06 19:57:02 +02:00
|
|
|
providerType: MAINNET,
|
2022-02-10 20:23:52 +01:00
|
|
|
rpcUrl: getRpcUrl({ network: MAINNET, excludeProjectId: true }),
|
2020-10-06 19:57:02 +02:00
|
|
|
chainId: MAINNET_CHAIN_ID,
|
2022-04-21 21:09:41 +02:00
|
|
|
ticker: ETH_SYMBOL,
|
2019-05-09 19:27:14 +02:00
|
|
|
blockExplorerUrl: 'https://etherscan.io',
|
|
|
|
},
|
|
|
|
{
|
2020-10-06 19:57:02 +02:00
|
|
|
labelKey: ROPSTEN,
|
2019-05-09 19:27:14 +02:00
|
|
|
iconColor: '#FF4A8D',
|
2020-10-06 19:57:02 +02:00
|
|
|
providerType: ROPSTEN,
|
2022-02-10 20:23:52 +01:00
|
|
|
rpcUrl: getRpcUrl({ network: ROPSTEN, excludeProjectId: true }),
|
2020-10-06 19:57:02 +02:00
|
|
|
chainId: ROPSTEN_CHAIN_ID,
|
2022-04-21 21:09:41 +02:00
|
|
|
ticker: TEST_NETWORK_TICKER_MAP[ROPSTEN],
|
2019-05-09 19:27:14 +02:00
|
|
|
blockExplorerUrl: 'https://ropsten.etherscan.io',
|
|
|
|
},
|
|
|
|
{
|
2020-10-06 19:57:02 +02:00
|
|
|
labelKey: RINKEBY,
|
2019-05-09 19:27:14 +02:00
|
|
|
iconColor: '#F6C343',
|
2020-10-06 19:57:02 +02:00
|
|
|
providerType: RINKEBY,
|
2022-02-10 20:23:52 +01:00
|
|
|
rpcUrl: getRpcUrl({ network: RINKEBY, excludeProjectId: true }),
|
2020-10-06 19:57:02 +02:00
|
|
|
chainId: RINKEBY_CHAIN_ID,
|
2022-04-21 21:09:41 +02:00
|
|
|
ticker: TEST_NETWORK_TICKER_MAP[RINKEBY],
|
2019-05-09 19:27:14 +02:00
|
|
|
blockExplorerUrl: 'https://rinkeby.etherscan.io',
|
|
|
|
},
|
2019-06-17 16:05:47 +02:00
|
|
|
{
|
2020-10-06 19:57:02 +02:00
|
|
|
labelKey: GOERLI,
|
2019-06-17 16:05:47 +02:00
|
|
|
iconColor: '#3099f2',
|
2020-10-06 19:57:02 +02:00
|
|
|
providerType: GOERLI,
|
2022-02-10 20:23:52 +01:00
|
|
|
rpcUrl: getRpcUrl({ network: GOERLI, excludeProjectId: true }),
|
2020-10-06 19:57:02 +02:00
|
|
|
chainId: GOERLI_CHAIN_ID,
|
2022-04-21 21:09:41 +02:00
|
|
|
ticker: TEST_NETWORK_TICKER_MAP[GOERLI],
|
2019-06-17 16:05:47 +02:00
|
|
|
blockExplorerUrl: 'https://goerli.etherscan.io',
|
|
|
|
},
|
2020-01-08 15:56:56 +01:00
|
|
|
{
|
2020-10-06 19:57:02 +02:00
|
|
|
labelKey: KOVAN,
|
2020-01-08 15:56:56 +01:00
|
|
|
iconColor: '#9064FF',
|
2020-10-06 19:57:02 +02:00
|
|
|
providerType: KOVAN,
|
2022-02-10 20:23:52 +01:00
|
|
|
rpcUrl: getRpcUrl({ network: KOVAN, excludeProjectId: true }),
|
2020-10-06 19:57:02 +02:00
|
|
|
chainId: KOVAN_CHAIN_ID,
|
2022-04-21 21:09:41 +02:00
|
|
|
ticker: TEST_NETWORK_TICKER_MAP[KOVAN],
|
2020-12-25 19:51:47 +01:00
|
|
|
blockExplorerUrl: 'https://kovan.etherscan.io',
|
2020-01-08 15:56:56 +01:00
|
|
|
},
|
2021-02-04 19:15:23 +01:00
|
|
|
];
|
2019-05-09 19:27:14 +02:00
|
|
|
|
2021-02-04 19:15:23 +01:00
|
|
|
export { defaultNetworksData };
|