2020-10-06 19:57:02 +02:00
|
|
|
import {
|
2022-02-10 20:23:52 +01:00
|
|
|
getRpcUrl,
|
2022-04-21 21:09:41 +02:00
|
|
|
TEST_NETWORK_TICKER_MAP,
|
2022-09-14 16:55:31 +02:00
|
|
|
CURRENCY_SYMBOLS,
|
|
|
|
CHAIN_IDS,
|
|
|
|
NETWORK_TYPES,
|
2023-03-21 17:28:38 +01:00
|
|
|
LINEA_TESTNET_RPC_URL,
|
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 = [
|
|
|
|
{
|
2022-09-14 16:55:31 +02:00
|
|
|
labelKey: NETWORK_TYPES.MAINNET,
|
2019-05-09 19:27:14 +02:00
|
|
|
iconColor: '#29B6AF',
|
2022-09-14 16:55:31 +02:00
|
|
|
providerType: NETWORK_TYPES.MAINNET,
|
|
|
|
rpcUrl: getRpcUrl({
|
|
|
|
network: NETWORK_TYPES.MAINNET,
|
|
|
|
excludeProjectId: true,
|
|
|
|
}),
|
|
|
|
chainId: CHAIN_IDS.MAINNET,
|
|
|
|
ticker: CURRENCY_SYMBOLS.ETH,
|
2019-05-09 19:27:14 +02:00
|
|
|
blockExplorerUrl: 'https://etherscan.io',
|
|
|
|
},
|
2019-06-17 16:05:47 +02:00
|
|
|
{
|
2022-09-14 16:55:31 +02:00
|
|
|
labelKey: NETWORK_TYPES.GOERLI,
|
2019-06-17 16:05:47 +02:00
|
|
|
iconColor: '#3099f2',
|
2022-09-14 16:55:31 +02:00
|
|
|
providerType: NETWORK_TYPES.GOERLI,
|
|
|
|
rpcUrl: getRpcUrl({
|
|
|
|
network: NETWORK_TYPES.GOERLI,
|
|
|
|
excludeProjectId: true,
|
|
|
|
}),
|
|
|
|
chainId: CHAIN_IDS.GOERLI,
|
|
|
|
ticker: TEST_NETWORK_TICKER_MAP[NETWORK_TYPES.GOERLI],
|
2019-06-17 16:05:47 +02:00
|
|
|
blockExplorerUrl: 'https://goerli.etherscan.io',
|
|
|
|
},
|
2022-09-14 20:26:45 +02:00
|
|
|
{
|
|
|
|
labelKey: NETWORK_TYPES.SEPOLIA,
|
|
|
|
iconColor: '#CFB5F0',
|
|
|
|
providerType: NETWORK_TYPES.SEPOLIA,
|
|
|
|
rpcUrl: getRpcUrl({
|
|
|
|
network: NETWORK_TYPES.SEPOLIA,
|
|
|
|
excludeProjectId: true,
|
|
|
|
}),
|
|
|
|
chainId: CHAIN_IDS.SEPOLIA,
|
|
|
|
ticker: TEST_NETWORK_TICKER_MAP[NETWORK_TYPES.SEPOLIA],
|
|
|
|
blockExplorerUrl: 'https://sepolia.etherscan.io',
|
|
|
|
},
|
2023-03-21 17:28:38 +01:00
|
|
|
{
|
|
|
|
labelKey: NETWORK_TYPES.LINEA_TESTNET,
|
|
|
|
iconColor: '#234FD5',
|
|
|
|
providerType: NETWORK_TYPES.LINEA_TESTNET,
|
|
|
|
rpcUrl: LINEA_TESTNET_RPC_URL,
|
|
|
|
chainId: CHAIN_IDS.LINEA_TESTNET,
|
|
|
|
ticker: TEST_NETWORK_TICKER_MAP[NETWORK_TYPES.LINEA_TESTNET],
|
|
|
|
blockExplorerUrl: 'https://explorer.goerli.linea.build',
|
|
|
|
},
|
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 };
|