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,
|
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
|
|
|
{
|
2023-06-15 13:38:07 +02:00
|
|
|
labelKey: NETWORK_TYPES.LINEA_GOERLI,
|
2023-06-16 18:35:33 +02:00
|
|
|
iconColor: '#61dfff',
|
2023-06-15 13:38:07 +02:00
|
|
|
providerType: NETWORK_TYPES.LINEA_GOERLI,
|
|
|
|
rpcUrl: getRpcUrl({
|
|
|
|
network: NETWORK_TYPES.LINEA_GOERLI,
|
|
|
|
excludeProjectId: true,
|
|
|
|
}),
|
|
|
|
chainId: CHAIN_IDS.LINEA_GOERLI,
|
|
|
|
ticker: TEST_NETWORK_TICKER_MAP[NETWORK_TYPES.LINEA_GOERLI],
|
|
|
|
blockExplorerUrl: 'https://goerli.lineascan.build',
|
2023-03-21 17:28:38 +01:00
|
|
|
},
|
2023-06-16 18:35:33 +02:00
|
|
|
{
|
|
|
|
labelKey: NETWORK_TYPES.LINEA_MAINNET,
|
|
|
|
iconColor: '#121212',
|
|
|
|
providerType: NETWORK_TYPES.LINEA_MAINNET,
|
|
|
|
rpcUrl: getRpcUrl({
|
|
|
|
network: NETWORK_TYPES.LINEA_MAINNET,
|
|
|
|
excludeProjectId: true,
|
|
|
|
}),
|
|
|
|
chainId: CHAIN_IDS.LINEA_MAINNET,
|
|
|
|
ticker: CURRENCY_SYMBOLS.ETH,
|
|
|
|
blockExplorerUrl: 'https://lineascan.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 };
|