1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-27 04:46:10 +01:00
metamask-extension/app/scripts/controllers/network/enums.js

38 lines
753 B
JavaScript
Raw Normal View History

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
const MAINNET_CODE = 1
2018-04-12 23:17:36 +02:00
const ROPSTEN_CODE = 3
2019-09-11 00:51:34 +02:00
const RINKEBY_CODE = 4
2018-04-12 23:17:36 +02:00
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,
MAINNET_CODE,
2018-04-12 23:17:36 +02:00
ROPSTEN_CODE,
2019-09-11 00:51:34 +02:00
RINKEBY_CODE,
2018-04-12 23:17:36 +02:00
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
}