Skip to content

Commit 53f4f7e

Browse files
committed
fix chain id for ShimmerEVM
1 parent 1e02e45 commit 53f4f7e

File tree

2 files changed

+7
-13
lines changed

2 files changed

+7
-13
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@iotabots/components",
3-
"version": "0.0.50",
3+
"version": "0.0.51",
44
"private": false,
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/web3/hooks/connectors.tsx

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,28 @@ import { WalletConnectConnector } from '@web3-react/walletconnect-connector'
44

55
const RPC_URLS: { [chainId: number]: string } = {
66
97: 'https://data-seed-prebsc-1-s1.binance.org:8545',
7-
1074: 'https://evm.wasp.sc.iota.org',
8-
1075: 'https://evm.wasp.sc.iota-defi.com/',
9-
1076: 'https://evm.iotabot.strangled.net/',
7+
1071: 'https://json-rpc.evm.testnet.shimmer.network/',
108
31337: 'http://127.0.0.1:8545/'
119
}
1210

1311
export const injected = new InjectedConnector({
14-
supportedChainIds: [97, 1074, 1075, 1076, 31337]
12+
supportedChainIds: [97, 1071, 31337]
1513
})
1614

1715
export const network = new NetworkConnector({
1816
urls: {
1917
97: RPC_URLS[97],
20-
1074: RPC_URLS[1074],
21-
1075: RPC_URLS[1075],
22-
1076: RPC_URLS[1076],
18+
1071: RPC_URLS[1071],
2319
31337: RPC_URLS[31337]
2420
},
2521
defaultChainId: 1
2622
})
2723

2824
export const walletconnect = new WalletConnectConnector({
2925
rpc: {
30-
1: RPC_URLS[1074],
31-
2: RPC_URLS[1075],
32-
3: RPC_URLS[1076],
33-
4: RPC_URLS[97],
34-
5: RPC_URLS[31337]
26+
1: RPC_URLS[1071],
27+
2: RPC_URLS[97],
28+
3: RPC_URLS[31337]
3529
},
3630
qrcode: true
3731
})

0 commit comments

Comments
 (0)