From 13fad41b4c2ab0490afa1d29fd00e006b0dc03e4 Mon Sep 17 00:00:00 2001 From: duckception Date: Wed, 16 Aug 2023 18:10:05 +0200 Subject: [PATCH] Use default local Ganache network info --- src/index.html | 4 ++-- src/index.js | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/index.html b/src/index.html index 92b38b25..6a7da330 100644 --- a/src/index.html +++ b/src/index.html @@ -944,14 +944,14 @@

id="addEthereumChain" disabled > - Add Localhost 8546 + Add Localhost 8545 diff --git a/src/index.js b/src/index.js index 640cddee..23a0541f 100644 --- a/src/index.js +++ b/src/index.js @@ -488,10 +488,10 @@ const initialize = async () => { method: 'wallet_addEthereumChain', params: [ { - chainId: '0x53a', - rpcUrls: ['http://127.0.0.1:8546'], - chainName: 'Localhost 8546', - nativeCurrency: { name: 'TEST', decimals: 18, symbol: 'TEST' }, + chainId: '0x539', + rpcUrls: ['http://127.0.0.1:8545'], + chainName: 'Localhost 8545', + nativeCurrency: { name: 'Ether', decimals: 18, symbol: 'ETH' }, blockExplorerUrls: null, }, ], @@ -503,7 +503,7 @@ const initialize = async () => { method: 'wallet_switchEthereumChain', params: [ { - chainId: '0x53a', + chainId: '0x539', }, ], });