From e06b6af56f78254d1a0f6907d92ae3bcc3a98d7b Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Mon, 12 Jul 2021 14:42:46 +0200 Subject: [PATCH] add Polygon Mumbai as supported chainId --- app.config.js | 2 +- src/utils/web3.ts | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app.config.js b/app.config.js index dbbe2d1ee..64c5373a0 100644 --- a/app.config.js +++ b/app.config.js @@ -8,7 +8,7 @@ module.exports = { chainIds: [1, 137], // List of all supported chainIds. Used to populate the Chains user preferences list. - chainIdsSupported: [1, 3, 4, 137, 1287, 56], + chainIdsSupported: [1, 3, 4, 137, 80001, 1287, 56], rbacUrl: process.env.GATSBY_RBAC_URL, diff --git a/src/utils/web3.ts b/src/utils/web3.ts index 06cc93216..5dd428f9b 100644 --- a/src/utils/web3.ts +++ b/src/utils/web3.ts @@ -41,6 +41,9 @@ export function getNetworkDisplayName( case 137: displayName = 'Polygon' break + case 80001: + displayName = 'Polygon Mumbai' + break case 8996: displayName = 'Development' break