aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/controllers/network/enums.js
diff options
context:
space:
mode:
authorPaul Bouchon <mail@bitpshr.net>2019-04-18 01:34:49 +0800
committerWhymarrh Whitby <whymarrh.whitby@gmail.com>2019-04-18 01:34:49 +0800
commit0db0a187c8f30dcf332cf4d41a2f957171b25630 (patch)
treea57dc4e161dcefa8a2a96c9b14c24dbe1635588b /app/scripts/controllers/network/enums.js
parent00133d31b15d070d55dff13f568cf828dad41424 (diff)
downloadtangerine-wallet-browser-0db0a187c8f30dcf332cf4d41a2f957171b25630.tar.gz
tangerine-wallet-browser-0db0a187c8f30dcf332cf4d41a2f957171b25630.tar.zst
tangerine-wallet-browser-0db0a187c8f30dcf332cf4d41a2f957171b25630.zip
feature: add Goerli support (#6459)
Diffstat (limited to 'app/scripts/controllers/network/enums.js')
-rw-r--r--app/scripts/controllers/network/enums.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/scripts/controllers/network/enums.js b/app/scripts/controllers/network/enums.js
index 3190eb37c..2f7025392 100644
--- a/app/scripts/controllers/network/enums.js
+++ b/app/scripts/controllers/network/enums.js
@@ -3,16 +3,19 @@ const RINKEBY = 'rinkeby'
const KOVAN = 'kovan'
const MAINNET = 'mainnet'
const LOCALHOST = 'localhost'
+const GOERLI = 'goerli'
const MAINNET_CODE = 1
const ROPSTEN_CODE = 3
const RINKEYBY_CODE = 4
const KOVAN_CODE = 42
+const GOERLI_CODE = 5
const ROPSTEN_DISPLAY_NAME = 'Ropsten'
const RINKEBY_DISPLAY_NAME = 'Rinkeby'
const KOVAN_DISPLAY_NAME = 'Kovan'
const MAINNET_DISPLAY_NAME = 'Main Ethereum Network'
+const GOERLI_DISPLAY_NAME = 'Goerli'
module.exports = {
ROPSTEN,
@@ -20,12 +23,15 @@ module.exports = {
KOVAN,
MAINNET,
LOCALHOST,
+ GOERLI,
MAINNET_CODE,
ROPSTEN_CODE,
RINKEYBY_CODE,
KOVAN_CODE,
+ GOERLI_CODE,
ROPSTEN_DISPLAY_NAME,
RINKEBY_DISPLAY_NAME,
KOVAN_DISPLAY_NAME,
MAINNET_DISPLAY_NAME,
+ GOERLI_DISPLAY_NAME,
}