2018-04-12 23:17:36 +02:00
|
|
|
const ROPSTEN = 'ropsten'
|
|
|
|
const RINKEBY = 'rinkeby'
|
|
|
|
const KOVAN = 'kovan'
|
|
|
|
const MAINNET = 'mainnet'
|
|
|
|
const LOCALHOST = 'localhost'
|
2019-04-17 19:34:49 +02:00
|
|
|
const GOERLI = 'goerli'
|
2018-04-12 23:17:36 +02:00
|
|
|
|
2018-06-23 08:52:45 +02:00
|
|
|
const MAINNET_CODE = 1
|
2018-04-12 23:17:36 +02:00
|
|
|
const ROPSTEN_CODE = 3
|
|
|
|
const RINKEYBY_CODE = 4
|
|
|
|
const KOVAN_CODE = 42
|
2019-04-17 19:34:49 +02:00
|
|
|
const GOERLI_CODE = 5
|
2018-04-12 23:17:36 +02:00
|
|
|
|
|
|
|
const ROPSTEN_DISPLAY_NAME = 'Ropsten'
|
|
|
|
const RINKEBY_DISPLAY_NAME = 'Rinkeby'
|
|
|
|
const KOVAN_DISPLAY_NAME = 'Kovan'
|
|
|
|
const MAINNET_DISPLAY_NAME = 'Main Ethereum Network'
|
2019-04-17 19:34:49 +02:00
|
|
|
const GOERLI_DISPLAY_NAME = 'Goerli'
|
2018-04-12 23:17:36 +02:00
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
ROPSTEN,
|
|
|
|
RINKEBY,
|
|
|
|
KOVAN,
|
|
|
|
MAINNET,
|
|
|
|
LOCALHOST,
|
2019-04-17 19:34:49 +02:00
|
|
|
GOERLI,
|
2018-06-23 08:52:45 +02:00
|
|
|
MAINNET_CODE,
|
2018-04-12 23:17:36 +02:00
|
|
|
ROPSTEN_CODE,
|
|
|
|
RINKEYBY_CODE,
|
|
|
|
KOVAN_CODE,
|
2019-04-17 19:34:49 +02:00
|
|
|
GOERLI_CODE,
|
2018-04-12 23:17:36 +02:00
|
|
|
ROPSTEN_DISPLAY_NAME,
|
|
|
|
RINKEBY_DISPLAY_NAME,
|
|
|
|
KOVAN_DISPLAY_NAME,
|
|
|
|
MAINNET_DISPLAY_NAME,
|
2019-04-17 19:34:49 +02:00
|
|
|
GOERLI_DISPLAY_NAME,
|
2018-04-12 23:17:36 +02:00
|
|
|
}
|