Skip to content

Commit 13fad41

Browse files
committed
Use default local Ganache network info
1 parent 0497ebc commit 13fad41

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -944,14 +944,14 @@ <h4 class="card-title">
944944
id="addEthereumChain"
945945
disabled
946946
>
947-
Add Localhost 8546
947+
Add Localhost 8545
948948
</button>
949949
<button
950950
class="btn btn-primary btn-lg btn-block mb-3"
951951
id="switchEthereumChain"
952952
disabled
953953
>
954-
Switch to Localhost 8546
954+
Switch to Localhost 8545
955955
</button>
956956
</div>
957957
</div>

src/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -488,10 +488,10 @@ const initialize = async () => {
488488
method: 'wallet_addEthereumChain',
489489
params: [
490490
{
491-
chainId: '0x53a',
492-
rpcUrls: ['http://127.0.0.1:8546'],
493-
chainName: 'Localhost 8546',
494-
nativeCurrency: { name: 'TEST', decimals: 18, symbol: 'TEST' },
491+
chainId: '0x539',
492+
rpcUrls: ['http://127.0.0.1:8545'],
493+
chainName: 'Localhost 8545',
494+
nativeCurrency: { name: 'Ether', decimals: 18, symbol: 'ETH' },
495495
blockExplorerUrls: null,
496496
},
497497
],
@@ -503,7 +503,7 @@ const initialize = async () => {
503503
method: 'wallet_switchEthereumChain',
504504
params: [
505505
{
506-
chainId: '0x53a',
506+
chainId: '0x539',
507507
},
508508
],
509509
});

0 commit comments

Comments
 (0)