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,
|
|
|
|
} from '../../../../../app/scripts/controllers/network/enums'
|
|
|
|
|
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,
|
2020-09-10 18:16:00 +02:00
|
|
|
rpcUrl: `https://mainnet.infura.io/v3/${process.env.INFURA_PROJECT_ID}`,
|
2020-10-06 19:57:02 +02:00
|
|
|
chainId: MAINNET_CHAIN_ID,
|
2019-05-09 19:27:14 +02:00
|
|
|
ticker: 'ETH',
|
|
|
|
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,
|
2020-09-10 18:16:00 +02:00
|
|
|
rpcUrl: `https://ropsten.infura.io/v3/${process.env.INFURA_PROJECT_ID}`,
|
2020-10-06 19:57:02 +02:00
|
|
|
chainId: ROPSTEN_CHAIN_ID,
|
2019-05-09 19:27:14 +02:00
|
|
|
ticker: 'ETH',
|
|
|
|
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,
|
2020-09-10 18:16:00 +02:00
|
|
|
rpcUrl: `https://rinkeby.infura.io/v3/${process.env.INFURA_PROJECT_ID}`,
|
2020-10-06 19:57:02 +02:00
|
|
|
chainId: RINKEBY_CHAIN_ID,
|
2019-05-09 19:27:14 +02:00
|
|
|
ticker: 'ETH',
|
|
|
|
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,
|
2020-09-10 18:16:00 +02:00
|
|
|
rpcUrl: `https://goerli.infura.io/v3/${process.env.INFURA_PROJECT_ID}`,
|
2020-10-06 19:57:02 +02:00
|
|
|
chainId: GOERLI_CHAIN_ID,
|
2019-06-17 16:05:47 +02:00
|
|
|
ticker: 'ETH',
|
|
|
|
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,
|
2020-09-10 18:16:00 +02:00
|
|
|
rpcUrl: `https://kovan.infura.io/v3/${process.env.INFURA_PROJECT_ID}`,
|
2020-10-06 19:57:02 +02:00
|
|
|
chainId: KOVAN_CHAIN_ID,
|
2020-01-08 15:56:56 +01:00
|
|
|
ticker: 'ETH',
|
|
|
|
blockExplorerUrl: 'https://etherscan.io',
|
|
|
|
},
|
2019-05-09 19:27:14 +02:00
|
|
|
]
|
|
|
|
|
2020-11-03 00:41:28 +01:00
|
|
|
export { defaultNetworksData }
|