From eed6fcfb0f9cefb3c5582cf050f3941c5da17775 Mon Sep 17 00:00:00 2001 From: eggswap <71283074+eggswap@users.noreply.github.com> Date: Wed, 30 Sep 2020 14:01:08 -0400 Subject: [PATCH 1/2] Add Expanse and Ganache chainId's --- src/utils.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils.js b/src/utils.js index 5fb20f9..26fc304 100644 --- a/src/utils.js +++ b/src/utils.js @@ -1,5 +1,6 @@ const KNOWN_CHAINS = new Map([ ['1', 'Mainnet'], + ['2', 'Expanse'], ['3', 'Ropsten'], ['4', 'Rinkeby'], ['5', 'Goerli'], @@ -8,6 +9,7 @@ const KNOWN_CHAINS = new Map([ // but by convention this is the number used // for local chains (ganache, buidler, etc) by default. ['1337', 'Local'], + ['5777', 'Ganache'], ]) export function getNetworkName(chainId) { From fe866cd8f4295640606600c1d930b8d3999f5983 Mon Sep 17 00:00:00 2001 From: eggswap <71283074+eggswap@users.noreply.github.com> Date: Thu, 1 Oct 2020 12:44:28 -0400 Subject: [PATCH 2/2] Add Kovan Chain ID --- src/utils.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils.js b/src/utils.js index 26fc304..1229ab0 100644 --- a/src/utils.js +++ b/src/utils.js @@ -4,6 +4,7 @@ const KNOWN_CHAINS = new Map([ ['3', 'Ropsten'], ['4', 'Rinkeby'], ['5', 'Goerli'], + ['42', 'Kovan'], ['100', 'xDai'], // This chainId is arbitrary and can be changed, // but by convention this is the number used