viem 0.0.1-alpha.24 → 0.0.1-alpha.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (154) hide show
  1. package/contract/package.json +4 -0
  2. package/dist/call-ac509982.d.ts +23 -0
  3. package/dist/{chain-e33d019b.d.ts → chain-c4ccb458.d.ts} +1 -1
  4. package/dist/{chain-afa13f5a.d.ts → chain-f16512e8.d.ts} +20 -1
  5. package/dist/chains.d.ts +20 -8
  6. package/dist/chains.js +46 -46
  7. package/dist/chains.mjs +1 -1
  8. package/dist/{chunk-YQUC52RL.mjs → chunk-2Y3UZMSP.mjs} +77 -84
  9. package/dist/chunk-2Y3UZMSP.mjs.map +1 -0
  10. package/dist/{chunk-A2HXAZXC.js → chunk-CD2XJOBJ.js} +135 -142
  11. package/dist/chunk-CD2XJOBJ.js.map +1 -0
  12. package/dist/{chunk-LQVMDX5I.mjs → chunk-KSAO4Y4Q.mjs} +133 -54
  13. package/dist/chunk-KSAO4Y4Q.mjs.map +1 -0
  14. package/dist/{chunk-3ARWEJ3G.mjs → chunk-LEPQJNVO.mjs} +18 -2
  15. package/dist/chunk-LEPQJNVO.mjs.map +1 -0
  16. package/dist/{chunk-ZYSXBTBB.js → chunk-NUXMGPMK.js} +30 -14
  17. package/dist/chunk-NUXMGPMK.js.map +1 -0
  18. package/dist/{chunk-4D5XG6XB.js → chunk-THMRUG4D.js} +148 -69
  19. package/dist/chunk-THMRUG4D.js.map +1 -0
  20. package/dist/{contract-70f4ddbe.d.ts → contract-9e76e561.d.ts} +44 -31
  21. package/dist/contract.d.ts +123 -0
  22. package/dist/contract.js +53 -0
  23. package/dist/{clients/index.js.map → contract.js.map} +0 -0
  24. package/dist/contract.mjs +53 -0
  25. package/dist/{clients/index.mjs.map → contract.mjs.map} +0 -0
  26. package/dist/{createClient-60e3ab98.d.ts → createClient-68ee4bb4.d.ts} +3 -3
  27. package/dist/{createPublicClient-d3d12dc3.d.ts → createPublicClient-b732194e.d.ts} +3 -3
  28. package/dist/{createTestClient-5f4532c4.d.ts → createTestClient-dedf321e.d.ts} +3 -3
  29. package/dist/{createWalletClient-9ec3df4f.d.ts → createWalletClient-75813d83.d.ts} +3 -3
  30. package/dist/decodeErrorResult-0b934d23.d.ts +16 -0
  31. package/dist/{eip1193-9317a312.d.ts → eip1193-6f9ba163.d.ts} +1 -1
  32. package/dist/ens.d.ts +82 -1
  33. package/dist/ens.js +208 -3
  34. package/dist/ens.js.map +1 -1
  35. package/dist/ens.mjs +209 -4
  36. package/dist/ens.mjs.map +1 -1
  37. package/dist/getAbiItem-c8e6e7d4.d.ts +97 -0
  38. package/dist/index.d.ts +85 -175
  39. package/dist/index.js +237 -279
  40. package/dist/index.js.map +1 -1
  41. package/dist/index.mjs +245 -287
  42. package/dist/index.mjs.map +1 -1
  43. package/dist/public.d.ts +352 -10
  44. package/dist/public.js +3 -4
  45. package/dist/public.mjs +6 -7
  46. package/dist/readContract-4f6e2692.d.ts +10 -0
  47. package/dist/rpc-a5a7f376.d.ts +121 -0
  48. package/dist/{sendTransaction-54a0d509.d.ts → sendTransaction-e713f90c.d.ts} +3 -3
  49. package/dist/test.d.ts +160 -5
  50. package/dist/test.js +222 -18
  51. package/dist/test.js.map +1 -1
  52. package/dist/test.mjs +233 -29
  53. package/dist/test.mjs.map +1 -1
  54. package/dist/transactionReceipt-2a86c7c7.d.ts +26 -0
  55. package/dist/{transactionRequest-bdf57f7d.d.ts → transactionRequest-c7794f5e.d.ts} +1 -1
  56. package/dist/utils/index.d.ts +224 -20
  57. package/dist/utils/index.js +2 -6
  58. package/dist/utils/index.mjs +3 -7
  59. package/dist/wallet.d.ts +41 -7
  60. package/dist/wallet.js +3 -3
  61. package/dist/wallet.mjs +2 -2
  62. package/dist/watchEvent-c346c12d.d.ts +41 -0
  63. package/dist/window.d.ts +2 -2
  64. package/ens/package.json +4 -0
  65. package/package.json +13 -9
  66. package/src/_test/constants.ts +2 -0
  67. package/src/_test/utils.ts +10 -5
  68. package/src/actions/ens/getEnsAddress.bench.ts +26 -0
  69. package/src/actions/ens/getEnsAddress.test.ts +97 -0
  70. package/src/actions/ens/getEnsAddress.ts +122 -0
  71. package/src/actions/ens/getEnsName.bench.ts +30 -0
  72. package/src/actions/ens/getEnsName.test.ts +101 -0
  73. package/src/actions/ens/getEnsName.ts +106 -0
  74. package/src/actions/ens/index.test.ts +12 -0
  75. package/src/actions/ens/index.ts +3 -0
  76. package/src/actions/index.ts +3 -3
  77. package/src/actions/public/createEventFilter.test.ts +36 -4
  78. package/src/actions/public/createEventFilter.ts +27 -10
  79. package/src/actions/public/getFilterChanges.test.ts +198 -4
  80. package/src/actions/public/getFilterLogs.test.ts +195 -2
  81. package/src/actions/public/getLogs.test.ts +201 -2
  82. package/src/actions/public/index.test.ts +0 -1
  83. package/src/actions/public/index.ts +1 -7
  84. package/src/actions/public/multicall.ts +8 -3
  85. package/src/actions/public/simulateContract.ts +1 -4
  86. package/src/actions/public/watchContractEvent.test.ts +4 -4
  87. package/src/actions/{public → wallet}/deployContract.test.ts +1 -2
  88. package/src/actions/{public → wallet}/deployContract.ts +0 -0
  89. package/src/actions/wallet/index.test.ts +1 -0
  90. package/src/actions/wallet/index.ts +6 -0
  91. package/src/chains.test.ts +44 -1517
  92. package/src/clients/transports/webSocket.test.ts +1 -0
  93. package/src/clients/transports/webSocket.ts +1 -0
  94. package/src/contract.test.ts +31 -0
  95. package/src/contract.ts +68 -0
  96. package/src/ens.test.ts +15 -0
  97. package/src/ens.ts +4 -1
  98. package/src/errors/abi.ts +18 -2
  99. package/src/errors/chain.test.ts +46 -0
  100. package/src/errors/chain.ts +33 -0
  101. package/src/errors/contract.ts +2 -2
  102. package/src/errors/index.ts +3 -0
  103. package/src/index.test.ts +0 -147
  104. package/src/index.ts +0 -257
  105. package/src/public.test.ts +36 -0
  106. package/src/public.ts +2 -6
  107. package/src/test.test.ts +38 -0
  108. package/src/test.ts +1 -0
  109. package/src/types/contract.ts +144 -40
  110. package/src/types/index.ts +2 -1
  111. package/src/types/utils.ts +21 -0
  112. package/src/utils/abi/decodeErrorResult.test.ts +1 -1
  113. package/src/utils/abi/decodeEventLog.test.ts +542 -0
  114. package/src/utils/abi/decodeEventLog.ts +107 -0
  115. package/src/utils/abi/decodeFunctionData.test.ts +1 -2
  116. package/src/utils/abi/decodeFunctionData.ts +5 -2
  117. package/src/utils/abi/encodeFunctionData.ts +1 -4
  118. package/src/utils/abi/index.test.ts +1 -0
  119. package/src/utils/abi/index.ts +6 -0
  120. package/src/utils/ens/index.test.ts +1 -0
  121. package/src/utils/ens/index.ts +2 -0
  122. package/src/utils/ens/packetToBytes.test.ts +11 -0
  123. package/src/utils/ens/packetToBytes.ts +29 -0
  124. package/src/utils/index.test.ts +1 -3
  125. package/src/utils/index.ts +3 -2
  126. package/src/utils/rpc.test.ts +1 -0
  127. package/src/utils/rpc.ts +4 -2
  128. package/src/wallet.test.ts +19 -0
  129. package/wallet/package.json +4 -0
  130. package/clients/package.json +0 -4
  131. package/dist/chunk-3ARWEJ3G.mjs.map +0 -1
  132. package/dist/chunk-4D5XG6XB.js.map +0 -1
  133. package/dist/chunk-6QTEW2BE.mjs +0 -260
  134. package/dist/chunk-6QTEW2BE.mjs.map +0 -1
  135. package/dist/chunk-A2HXAZXC.js.map +0 -1
  136. package/dist/chunk-KRPS5CIB.mjs +0 -256
  137. package/dist/chunk-KRPS5CIB.mjs.map +0 -1
  138. package/dist/chunk-LQVMDX5I.mjs.map +0 -1
  139. package/dist/chunk-N3IOPT3R.js +0 -256
  140. package/dist/chunk-N3IOPT3R.js.map +0 -1
  141. package/dist/chunk-YQUC52RL.mjs.map +0 -1
  142. package/dist/chunk-ZSTVHQ6J.js +0 -260
  143. package/dist/chunk-ZSTVHQ6J.js.map +0 -1
  144. package/dist/chunk-ZYSXBTBB.js.map +0 -1
  145. package/dist/clients/index.d.ts +0 -9
  146. package/dist/clients/index.js +0 -24
  147. package/dist/clients/index.mjs +0 -24
  148. package/dist/normalize-ef9240c0.d.ts +0 -33
  149. package/dist/parseGwei-492ab7dd.d.ts +0 -355
  150. package/dist/rpc-26932bae.d.ts +0 -61
  151. package/dist/stopImpersonatingAccount-c1a4b7e5.d.ts +0 -156
  152. package/dist/watchAsset-d59d6e35.d.ts +0 -38
  153. package/dist/watchPendingTransactions-ea21b31d.d.ts +0 -373
  154. package/dist/webSocket-775b4037.d.ts +0 -83
@@ -3,1523 +3,50 @@ import { describe, expect, test } from 'vitest'
3
3
  import * as chains from './chains'
4
4
 
5
5
  test('exports chains', () => {
6
- expect(chains).toMatchInlineSnapshot(`
7
- {
8
- "arbitrum": {
9
- "blockExplorers": {
10
- "default": {
11
- "name": "Arbiscan",
12
- "url": "https://arbiscan.io",
13
- },
14
- "etherscan": {
15
- "name": "Arbiscan",
16
- "url": "https://arbiscan.io",
17
- },
18
- },
19
- "contracts": {
20
- "multicall3": {
21
- "address": "0xca11bde05977b3631167028862be2a173976ca11",
22
- "blockCreated": 7654707,
23
- },
24
- },
25
- "id": 42161,
26
- "name": "Arbitrum One",
27
- "nativeCurrency": {
28
- "decimals": 18,
29
- "name": "Ether",
30
- "symbol": "ETH",
31
- },
32
- "network": "arbitrum",
33
- "rpcUrls": {
34
- "alchemy": {
35
- "http": [
36
- "https://arb-mainnet.g.alchemy.com/v2",
37
- ],
38
- "webSocket": [
39
- "wss://arb-mainnet.g.alchemy.com/v2",
40
- ],
41
- },
42
- "default": {
43
- "http": [
44
- "https://arb1.arbitrum.io/rpc",
45
- ],
46
- },
47
- "infura": {
48
- "http": [
49
- "https://arbitrum-mainnet.infura.io/v3",
50
- ],
51
- "webSocket": [
52
- "wss://arbitrum-mainnet.infura.io/ws/v3",
53
- ],
54
- },
55
- "public": {
56
- "http": [
57
- "https://arb1.arbitrum.io/rpc",
58
- ],
59
- },
60
- },
61
- },
62
- "arbitrumGoerli": {
63
- "blockExplorers": {
64
- "default": {
65
- "name": "Arbiscan",
66
- "url": "https://goerli.arbiscan.io/",
67
- },
68
- "etherscan": {
69
- "name": "Arbiscan",
70
- "url": "https://goerli.arbiscan.io/",
71
- },
72
- },
73
- "contracts": {
74
- "multicall3": {
75
- "address": "0xca11bde05977b3631167028862be2a173976ca11",
76
- "blockCreated": 88114,
77
- },
78
- },
79
- "id": 421613,
80
- "name": "Arbitrum Goerli",
81
- "nativeCurrency": {
82
- "decimals": 18,
83
- "name": "Arbitrum Goerli Ether",
84
- "symbol": "ETH",
85
- },
86
- "network": "arbitrum-goerli",
87
- "rpcUrls": {
88
- "alchemy": {
89
- "http": [
90
- "https://arb-goerli.g.alchemy.com/v2",
91
- ],
92
- "webSocket": [
93
- "wss://arb-goerli.g.alchemy.com/v2",
94
- ],
95
- },
96
- "default": {
97
- "http": [
98
- "https://goerli-rollup.arbitrum.io/rpc",
99
- ],
100
- },
101
- "infura": {
102
- "http": [
103
- "https://arbitrum-goerli.infura.io/v3",
104
- ],
105
- "webSocket": [
106
- "wss://arbitrum-goerli.infura.io/ws/v3",
107
- ],
108
- },
109
- "public": {
110
- "http": [
111
- "https://goerli-rollup.arbitrum.io/rpc",
112
- ],
113
- },
114
- },
115
- "testnet": true,
116
- },
117
- "aurora": {
118
- "blockExplorers": {
119
- "default": {
120
- "name": "Aurorascan",
121
- "url": "https://aurorascan.dev",
122
- },
123
- "etherscan": {
124
- "name": "Aurorascan",
125
- "url": "https://aurorascan.dev",
126
- },
127
- },
128
- "id": 1313161554,
129
- "name": "Aurora",
130
- "nativeCurrency": {
131
- "decimals": 18,
132
- "name": "Ether",
133
- "symbol": "ETH",
134
- },
135
- "network": "aurora",
136
- "rpcUrls": {
137
- "default": {
138
- "http": [
139
- "https://mainnet.aurora.dev",
140
- ],
141
- },
142
- "infura": {
143
- "http": [
144
- "https://aurora-mainnet.infura.io/v3",
145
- ],
146
- },
147
- "public": {
148
- "http": [
149
- "https://mainnet.aurora.dev",
150
- ],
151
- },
152
- },
153
- },
154
- "auroraGoerli": {
155
- "blockExplorers": {
156
- "default": {
157
- "name": "Aurorascan",
158
- "url": "https://testnet.aurorascan.dev",
159
- },
160
- "etherscan": {
161
- "name": "Aurorascan",
162
- "url": "https://testnet.aurorascan.dev",
163
- },
164
- },
165
- "id": 1313161555,
166
- "name": "Aurora Testnet",
167
- "nativeCurrency": {
168
- "decimals": 18,
169
- "name": "Ether",
170
- "symbol": "ETH",
171
- },
172
- "network": "aurora-testnet",
173
- "rpcUrls": {
174
- "default": {
175
- "http": [
176
- "https://testnet.aurora.dev",
177
- ],
178
- },
179
- "infura": {
180
- "http": [
181
- "https://aurora-testnet.infura.io/v3",
182
- ],
183
- },
184
- "public": {
185
- "http": [
186
- "https://testnet.aurora.dev",
187
- ],
188
- },
189
- },
190
- "testnet": true,
191
- },
192
- "avalanche": {
193
- "blockExplorers": {
194
- "default": {
195
- "name": "SnowTrace",
196
- "url": "https://snowtrace.io",
197
- },
198
- "etherscan": {
199
- "name": "SnowTrace",
200
- "url": "https://snowtrace.io",
201
- },
202
- },
203
- "contracts": {
204
- "multicall3": {
205
- "address": "0xca11bde05977b3631167028862be2a173976ca11",
206
- "blockCreated": 11907934,
207
- },
208
- },
209
- "id": 43114,
210
- "name": "Avalanche",
211
- "nativeCurrency": {
212
- "decimals": 18,
213
- "name": "Avalanche",
214
- "symbol": "AVAX",
215
- },
216
- "network": "avalanche",
217
- "rpcUrls": {
218
- "default": {
219
- "http": [
220
- "https://api.avax.network/ext/bc/C/rpc",
221
- ],
222
- },
223
- "public": {
224
- "http": [
225
- "https://api.avax.network/ext/bc/C/rpc",
226
- ],
227
- },
228
- },
229
- },
230
- "avalancheFuji": {
231
- "blockExplorers": {
232
- "default": {
233
- "name": "SnowTrace",
234
- "url": "https://testnet.snowtrace.io",
235
- },
236
- "etherscan": {
237
- "name": "SnowTrace",
238
- "url": "https://testnet.snowtrace.io",
239
- },
240
- },
241
- "contracts": {
242
- "multicall3": {
243
- "address": "0xca11bde05977b3631167028862be2a173976ca11",
244
- "blockCreated": 7096959,
245
- },
246
- },
247
- "id": 43113,
248
- "name": "Avalanche Fuji",
249
- "nativeCurrency": {
250
- "decimals": 18,
251
- "name": "Avalanche Fuji",
252
- "symbol": "AVAX",
253
- },
254
- "network": "avalanche-fuji",
255
- "rpcUrls": {
256
- "default": {
257
- "http": [
258
- "https://api.avax-test.network/ext/bc/C/rpc",
259
- ],
260
- },
261
- "public": {
262
- "http": [
263
- "https://api.avax-test.network/ext/bc/C/rpc",
264
- ],
265
- },
266
- },
267
- "testnet": true,
268
- },
269
- "bronos": {
270
- "blockExplorers": {
271
- "default": {
272
- "name": "BronoScan",
273
- "url": "https://broscan.bronos.org",
274
- },
275
- },
276
- "id": 1039,
277
- "name": "Bronos",
278
- "nativeCurrency": {
279
- "decimals": 18,
280
- "name": "BRO",
281
- "symbol": "BRO",
282
- },
283
- "network": "bronos",
284
- "rpcUrls": {
285
- "default": {
286
- "http": [
287
- "https://evm.bronos.org",
288
- ],
289
- },
290
- "public": {
291
- "http": [
292
- "https://evm.bronos.org",
293
- ],
294
- },
295
- },
296
- },
297
- "bronosTestnet": {
298
- "blockExplorers": {
299
- "default": {
300
- "name": "BronoScan",
301
- "url": "https://tbroscan.bronos.org",
302
- },
303
- },
304
- "id": 1038,
305
- "name": "Bronos Testnet",
306
- "nativeCurrency": {
307
- "decimals": 18,
308
- "name": "Bronos Coin",
309
- "symbol": "tBRO",
310
- },
311
- "network": "bronos-testnet",
312
- "rpcUrls": {
313
- "default": {
314
- "http": [
315
- "https://evm-testnet.bronos.org",
316
- ],
317
- },
318
- "public": {
319
- "http": [
320
- "https://evm-testnet.bronos.org",
321
- ],
322
- },
323
- },
324
- "testnet": true,
325
- },
326
- "bsc": {
327
- "blockExplorers": {
328
- "default": {
329
- "name": "BscScan",
330
- "url": "https://bscscan.com",
331
- },
332
- "etherscan": {
333
- "name": "BscScan",
334
- "url": "https://bscscan.com",
335
- },
336
- },
337
- "contracts": {
338
- "multicall3": {
339
- "address": "0xca11bde05977b3631167028862be2a173976ca11",
340
- "blockCreated": 15921452,
341
- },
342
- },
343
- "id": 56,
344
- "name": "BNB Smart Chain",
345
- "nativeCurrency": {
346
- "decimals": 18,
347
- "name": "BNB",
348
- "symbol": "BNB",
349
- },
350
- "network": "bsc",
351
- "rpcUrls": {
352
- "default": {
353
- "http": [
354
- "https://rpc.ankr.com/bsc",
355
- ],
356
- },
357
- "public": {
358
- "http": [
359
- "https://rpc.ankr.com/bsc",
360
- ],
361
- },
362
- },
363
- },
364
- "bscTestnet": {
365
- "blockExplorers": {
366
- "default": {
367
- "name": "BscScan",
368
- "url": "https://testnet.bscscan.com",
369
- },
370
- "etherscan": {
371
- "name": "BscScan",
372
- "url": "https://testnet.bscscan.com",
373
- },
374
- },
375
- "contracts": {
376
- "multicall3": {
377
- "address": "0xca11bde05977b3631167028862be2a173976ca11",
378
- "blockCreated": 17422483,
379
- },
380
- },
381
- "id": 97,
382
- "name": "Binance Smart Chain Testnet",
383
- "nativeCurrency": {
384
- "decimals": 18,
385
- "name": "BNB",
386
- "symbol": "tBNB",
387
- },
388
- "network": "bsc-testnet",
389
- "rpcUrls": {
390
- "default": {
391
- "http": [
392
- "https://bsc-testnet.public.blastapi.io",
393
- ],
394
- },
395
- "public": {
396
- "http": [
397
- "https://bsc-testnet.public.blastapi.io",
398
- ],
399
- },
400
- },
401
- "testnet": true,
402
- },
403
- "canto": {
404
- "blockExplorers": {
405
- "default": {
406
- "name": "Canto EVM Explorer (Blockscout)",
407
- "url": "https://evm.explorer.canto.io",
408
- },
409
- },
410
- "id": 7700,
411
- "name": "Canto",
412
- "nativeCurrency": {
413
- "decimals": 18,
414
- "name": "Canto",
415
- "symbol": "CANTO",
416
- },
417
- "network": "canto",
418
- "rpcUrls": {
419
- "default": {
420
- "http": [
421
- "https://canto.slingshot.finance",
422
- ],
423
- },
424
- "public": {
425
- "http": [
426
- "https://canto.slingshot.finance",
427
- ],
428
- },
429
- },
430
- },
431
- "celo": {
432
- "blockExplorers": {
433
- "default": {
434
- "name": "Celo Explorer",
435
- "url": "https://explorer.celo.org/mainnet",
436
- },
437
- "etherscan": {
438
- "name": "CeloScan",
439
- "url": "https://celoscan.io",
440
- },
441
- },
442
- "contracts": {
443
- "multicall3": {
444
- "address": "0xcA11bde05977b3631167028862bE2a173976CA11",
445
- "blockCreated": 13112599,
446
- },
447
- },
448
- "formatters": {
449
- "block": [Function],
450
- "transaction": [Function],
451
- "transactionReceipt": [Function],
452
- "transactionRequest": [Function],
453
- },
454
- "id": 42220,
455
- "name": "Celo",
456
- "nativeCurrency": {
457
- "decimals": 18,
458
- "name": "CELO",
459
- "symbol": "CELO",
460
- },
461
- "network": "celo",
462
- "rpcUrls": {
463
- "default": {
464
- "http": [
465
- "https://forno.celo.org",
466
- ],
467
- },
468
- "infura": {
469
- "http": [
470
- "https://celo-mainnet.infura.io/v3",
471
- ],
472
- },
473
- "public": {
474
- "http": [
475
- "https://forno.celo.org",
476
- ],
477
- },
478
- },
479
- "testnet": false,
480
- },
481
- "celoAlfajores": {
482
- "blockExplorers": {
483
- "default": {
484
- "name": "Celo Explorer",
485
- "url": "https://explorer.celo.org/alfajores",
486
- },
487
- "etherscan": {
488
- "name": "CeloScan",
489
- "url": "https://alfajores.celoscan.io/",
490
- },
491
- },
492
- "contracts": {
493
- "multicall3": {
494
- "address": "0xcA11bde05977b3631167028862bE2a173976CA11",
495
- "blockCreated": 14569001,
496
- },
497
- },
498
- "formatters": {
499
- "block": [Function],
500
- "transaction": [Function],
501
- "transactionReceipt": [Function],
502
- "transactionRequest": [Function],
503
- },
504
- "id": 44787,
505
- "name": "Alfajores",
506
- "nativeCurrency": {
507
- "decimals": 18,
508
- "name": "CELO",
509
- "symbol": "A-CELO",
510
- },
511
- "network": "celo-alfajores",
512
- "rpcUrls": {
513
- "default": {
514
- "http": [
515
- "https://alfajores-forno.celo-testnet.org",
516
- ],
517
- },
518
- "infura": {
519
- "http": [
520
- "https://celo-alfajores.infura.io/v3",
521
- ],
522
- },
523
- "public": {
524
- "http": [
525
- "https://alfajores-forno.celo-testnet.org",
526
- ],
527
- },
528
- },
529
- "testnet": true,
530
- },
531
- "crossbell": {
532
- "blockExplorers": {
533
- "default": {
534
- "name": "CrossScan",
535
- "url": "https://scan.crossbell.io",
536
- },
537
- },
538
- "contracts": {
539
- "multicall3": {
540
- "address": "0xBB9759009cDaC82774EfC84D94cD9F7440f75Fcf",
541
- "blockCreated": 23499787,
542
- },
543
- },
544
- "id": 3737,
545
- "name": "Crossbell",
546
- "nativeCurrency": {
547
- "decimals": 18,
548
- "name": "CSB",
549
- "symbol": "CSB",
550
- },
551
- "network": "crossbell",
552
- "rpcUrls": {
553
- "default": {
554
- "http": [
555
- "https://rpc.crossbell.io",
556
- ],
557
- },
558
- "public": {
559
- "http": [
560
- "https://rpc.crossbell.io",
561
- ],
562
- },
563
- },
564
- },
565
- "defineChain": [Function],
566
- "evmos": {
567
- "blockExplorers": {
568
- "default": {
569
- "name": "Evmos Block Explorer",
570
- "url": "https://escan.live/",
571
- },
572
- },
573
- "id": 9001,
574
- "name": "Evmos",
575
- "nativeCurrency": {
576
- "decimals": 18,
577
- "name": "Evmos",
578
- "symbol": "EVMOS",
579
- },
580
- "network": "evmos",
581
- "rpcUrls": {
582
- "default": {
583
- "http": [
584
- "https://eth.bd.evmos.org:8545",
585
- ],
586
- },
587
- "public": {
588
- "http": [
589
- "https://eth.bd.evmos.org:8545",
590
- ],
591
- },
592
- },
593
- },
594
- "evmosTestnet": {
595
- "blockExplorers": {
596
- "default": {
597
- "name": "Evmos Testnet Block Explorer",
598
- "url": "https://evm.evmos.dev/",
599
- },
600
- },
601
- "id": 9000,
602
- "name": "Evmos Testnet",
603
- "nativeCurrency": {
604
- "decimals": 18,
605
- "name": "Evmos",
606
- "symbol": "EVMOS",
607
- },
608
- "network": "evmos-testnet",
609
- "rpcUrls": {
610
- "default": {
611
- "http": [
612
- "https://eth.bd.evmos.dev:8545",
613
- ],
614
- },
615
- "public": {
616
- "http": [
617
- "https://eth.bd.evmos.dev:8545",
618
- ],
619
- },
620
- },
621
- },
622
- "fantom": {
623
- "blockExplorers": {
624
- "default": {
625
- "name": "FTMScan",
626
- "url": "https://ftmscan.com",
627
- },
628
- "etherscan": {
629
- "name": "FTMScan",
630
- "url": "https://ftmscan.com",
631
- },
632
- },
633
- "contracts": {
634
- "multicall3": {
635
- "address": "0xca11bde05977b3631167028862be2a173976ca11",
636
- "blockCreated": 33001987,
637
- },
638
- },
639
- "id": 250,
640
- "name": "Fantom",
641
- "nativeCurrency": {
642
- "decimals": 18,
643
- "name": "Fantom",
644
- "symbol": "FTM",
645
- },
646
- "network": "fantom",
647
- "rpcUrls": {
648
- "default": {
649
- "http": [
650
- "https://rpc.ankr.com/fantom",
651
- ],
652
- },
653
- "public": {
654
- "http": [
655
- "https://rpc.ankr.com/fantom",
656
- ],
657
- },
658
- },
659
- },
660
- "fantomTestnet": {
661
- "blockExplorers": {
662
- "default": {
663
- "name": "FTMScan",
664
- "url": "https://testnet.ftmscan.com",
665
- },
666
- "etherscan": {
667
- "name": "FTMScan",
668
- "url": "https://testnet.ftmscan.com",
669
- },
670
- },
671
- "contracts": {
672
- "multicall3": {
673
- "address": "0xca11bde05977b3631167028862be2a173976ca11",
674
- "blockCreated": 8328688,
675
- },
676
- },
677
- "id": 4002,
678
- "name": "Fantom Testnet",
679
- "nativeCurrency": {
680
- "decimals": 18,
681
- "name": "Fantom",
682
- "symbol": "FTM",
683
- },
684
- "network": "fantom-testnet",
685
- "rpcUrls": {
686
- "default": {
687
- "http": [
688
- "https://rpc.testnet.fantom.network",
689
- ],
690
- },
691
- "public": {
692
- "http": [
693
- "https://rpc.testnet.fantom.network",
694
- ],
695
- },
696
- },
697
- },
698
- "filecoin": {
699
- "blockExplorers": {
700
- "default": {
701
- "name": "Filfox",
702
- "url": "https://filfox.info/en",
703
- },
704
- "filscan": {
705
- "name": "Filscan",
706
- "url": "https://filscan.io",
707
- },
708
- "filscout": {
709
- "name": "Filscout",
710
- "url": "https://filscout.io/en",
711
- },
712
- },
713
- "id": 314,
714
- "name": "Filecoin Mainnet",
715
- "nativeCurrency": {
716
- "decimals": 18,
717
- "name": "filecoin",
718
- "symbol": "FIL",
719
- },
720
- "network": "filecoin-mainnet",
721
- "rpcUrls": {
722
- "default": {
723
- "http": [
724
- "https://api.node.glif.io",
725
- ],
726
- },
727
- "public": {
728
- "http": [
729
- "https://api.node.glif.io",
730
- ],
731
- },
732
- },
733
- },
734
- "filecoinTestnet": {
735
- "blockExplorers": {
736
- "default": {
737
- "name": "Filfox",
738
- "url": "https://hyperspace.filfox.info/en",
739
- },
740
- "gilf": {
741
- "name": "Glif",
742
- "url": "https://explorer.glif.io/?network=hyperspace",
743
- },
744
- },
745
- "id": 3141,
746
- "name": "Filecoin Hyperspace",
747
- "nativeCurrency": {
748
- "decimals": 18,
749
- "name": "testnet filecoin",
750
- "symbol": "tFIL",
751
- },
752
- "network": "filecoin-hyperspace",
753
- "rpcUrls": {
754
- "default": {
755
- "http": [
756
- "https://api.hyperspace.node.glif.io/rpc/v1",
757
- ],
758
- },
759
- "public": {
760
- "http": [
761
- "https://api.hyperspace.node.glif.io/rpc/v1",
762
- ],
763
- },
764
- },
765
- },
766
- "foundry": {
767
- "id": 31337,
768
- "name": "Foundry",
769
- "nativeCurrency": {
770
- "decimals": 18,
771
- "name": "Ether",
772
- "symbol": "ETH",
773
- },
774
- "network": "foundry",
775
- "rpcUrls": {
776
- "default": {
777
- "http": [
778
- "http://127.0.0.1:8545",
779
- ],
780
- },
781
- "public": {
782
- "http": [
783
- "http://127.0.0.1:8545",
784
- ],
785
- },
786
- },
787
- },
788
- "gnosis": {
789
- "blockExplorers": {
790
- "default": {
791
- "name": "Gnosis Chain Explorer",
792
- "url": "https://blockscout.com/xdai/mainnet/",
793
- },
794
- "etherscan": {
795
- "name": "Gnosisscan",
796
- "url": "https://gnosisscan.io/",
797
- },
798
- },
799
- "id": 100,
800
- "name": "Gnosis",
801
- "nativeCurrency": {
802
- "decimals": 18,
803
- "name": "Gnosis",
804
- "symbol": "xDAI",
805
- },
806
- "network": "gnosis",
807
- "rpcUrls": {
808
- "default": {
809
- "http": [
810
- "https://rpc.gnosischain.com",
811
- ],
812
- },
813
- "public": {
814
- "http": [
815
- "https://rpc.gnosischain.com",
816
- ],
817
- },
818
- },
819
- },
820
- "gnosisChiado": {
821
- "blockExplorers": {
822
- "default": {
823
- "name": "Blockscout",
824
- "url": "https://blockscout.chiadochain.net",
825
- },
826
- },
827
- "id": 10200,
828
- "name": "Gnosis Chiado",
829
- "nativeCurrency": {
830
- "decimals": 18,
831
- "name": "Gnosis",
832
- "symbol": "xDAI",
833
- },
834
- "network": "chiado",
835
- "rpcUrls": {
836
- "default": {
837
- "http": [
838
- "https://rpc.chiadochain.net",
839
- ],
840
- },
841
- "public": {
842
- "http": [
843
- "https://rpc.chiadochain.net",
844
- ],
845
- },
846
- },
847
- },
848
- "goerli": {
849
- "blockExplorers": {
850
- "default": {
851
- "name": "Etherscan",
852
- "url": "https://goerli.etherscan.io",
853
- },
854
- "etherscan": {
855
- "name": "Etherscan",
856
- "url": "https://goerli.etherscan.io",
857
- },
858
- },
859
- "contracts": {
860
- "ensRegistry": {
861
- "address": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",
862
- },
863
- "multicall3": {
864
- "address": "0xca11bde05977b3631167028862be2a173976ca11",
865
- "blockCreated": 6507670,
866
- },
867
- },
868
- "id": 5,
869
- "name": "Goerli",
870
- "nativeCurrency": {
871
- "decimals": 18,
872
- "name": "Goerli Ether",
873
- "symbol": "ETH",
874
- },
875
- "network": "goerli",
876
- "rpcUrls": {
877
- "alchemy": {
878
- "http": [
879
- "https://eth-goerli.g.alchemy.com/v2",
880
- ],
881
- "webSocket": [
882
- "wss://eth-goerli.g.alchemy.com/v2",
883
- ],
884
- },
885
- "default": {
886
- "http": [
887
- "https://rpc.ankr.com/eth_goerli",
888
- ],
889
- },
890
- "infura": {
891
- "http": [
892
- "https://goerli.infura.io/v3",
893
- ],
894
- "webSocket": [
895
- "wss://goerli.infura.io/ws/v3",
896
- ],
897
- },
898
- "public": {
899
- "http": [
900
- "https://rpc.ankr.com/eth_goerli",
901
- ],
902
- },
903
- },
904
- "testnet": true,
905
- },
906
- "hardhat": {
907
- "id": 31337,
908
- "name": "Hardhat",
909
- "nativeCurrency": {
910
- "decimals": 18,
911
- "name": "Ether",
912
- "symbol": "ETH",
913
- },
914
- "network": "hardhat",
915
- "rpcUrls": {
916
- "default": {
917
- "http": [
918
- "http://127.0.0.1:8545",
919
- ],
920
- },
921
- "public": {
922
- "http": [
923
- "http://127.0.0.1:8545",
924
- ],
925
- },
926
- },
927
- },
928
- "iotex": {
929
- "blockExplorers": {
930
- "default": {
931
- "name": "IoTeXScan",
932
- "url": "https://iotexscan.io",
933
- },
934
- },
935
- "id": 4689,
936
- "name": "IoTeX",
937
- "nativeCurrency": {
938
- "decimals": 18,
939
- "name": "IoTeX",
940
- "symbol": "IOTX",
941
- },
942
- "network": "iotex",
943
- "rpcUrls": {
944
- "default": {
945
- "http": [
946
- "https://babel-api.mainnet.iotex.io",
947
- ],
948
- "webSocket": [
949
- "wss://babel-api.mainnet.iotex.io",
950
- ],
951
- },
952
- "public": {
953
- "http": [
954
- "https://babel-api.mainnet.iotex.io",
955
- ],
956
- "webSocket": [
957
- "wss://babel-api.mainnet.iotex.io",
958
- ],
959
- },
960
- },
961
- },
962
- "iotexTestnet": {
963
- "blockExplorers": {
964
- "default": {
965
- "name": "IoTeXScan",
966
- "url": "https://testnet.iotexscan.io",
967
- },
968
- },
969
- "id": 4690,
970
- "name": "IoTeX Testnet",
971
- "nativeCurrency": {
972
- "decimals": 18,
973
- "name": "IoTeX",
974
- "symbol": "IOTX",
975
- },
976
- "network": "iotex-testnet",
977
- "rpcUrls": {
978
- "default": {
979
- "http": [
980
- "https://babel-api.testnet.iotex.io",
981
- ],
982
- "webSocket": [
983
- "wss://babel-api.testnet.iotex.io",
984
- ],
985
- },
986
- "public": {
987
- "http": [
988
- "https://babel-api.testnet.iotex.io",
989
- ],
990
- "webSocket": [
991
- "wss://babel-api.testnet.iotex.io",
992
- ],
993
- },
994
- },
995
- },
996
- "localhost": {
997
- "id": 1337,
998
- "name": "Localhost",
999
- "nativeCurrency": {
1000
- "decimals": 18,
1001
- "name": "Ether",
1002
- "symbol": "ETH",
1003
- },
1004
- "network": "localhost",
1005
- "rpcUrls": {
1006
- "default": {
1007
- "http": [
1008
- "http://127.0.0.1:8545",
1009
- ],
1010
- },
1011
- "public": {
1012
- "http": [
1013
- "http://127.0.0.1:8545",
1014
- ],
1015
- },
1016
- },
1017
- },
1018
- "mainnet": {
1019
- "blockExplorers": {
1020
- "default": {
1021
- "name": "Etherscan",
1022
- "url": "https://etherscan.io",
1023
- },
1024
- "etherscan": {
1025
- "name": "Etherscan",
1026
- "url": "https://etherscan.io",
1027
- },
1028
- },
1029
- "contracts": {
1030
- "ensRegistry": {
1031
- "address": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",
1032
- },
1033
- "multicall3": {
1034
- "address": "0xca11bde05977b3631167028862be2a173976ca11",
1035
- "blockCreated": 14353601,
1036
- },
1037
- },
1038
- "id": 1,
1039
- "name": "Ethereum",
1040
- "nativeCurrency": {
1041
- "decimals": 18,
1042
- "name": "Ether",
1043
- "symbol": "ETH",
1044
- },
1045
- "network": "homestead",
1046
- "rpcUrls": {
1047
- "alchemy": {
1048
- "http": [
1049
- "https://eth-mainnet.g.alchemy.com/v2",
1050
- ],
1051
- "webSocket": [
1052
- "wss://eth-mainnet.g.alchemy.com/v2",
1053
- ],
1054
- },
1055
- "default": {
1056
- "http": [
1057
- "https://cloudflare-eth.com",
1058
- ],
1059
- },
1060
- "infura": {
1061
- "http": [
1062
- "https://mainnet.infura.io/v3",
1063
- ],
1064
- "webSocket": [
1065
- "wss://mainnet.infura.io/ws/v3",
1066
- ],
1067
- },
1068
- "public": {
1069
- "http": [
1070
- "https://cloudflare-eth.com",
1071
- ],
1072
- },
1073
- },
1074
- },
1075
- "metis": {
1076
- "blockExplorers": {
1077
- "default": {
1078
- "name": "Andromeda Explorer",
1079
- "url": "https://andromeda-explorer.metis.io",
1080
- },
1081
- },
1082
- "id": 1088,
1083
- "name": "Metis",
1084
- "nativeCurrency": {
1085
- "decimals": 18,
1086
- "name": "Metis",
1087
- "symbol": "METIS",
1088
- },
1089
- "network": "andromeda",
1090
- "rpcUrls": {
1091
- "default": {
1092
- "http": [
1093
- "https://andromeda.metis.io/?owner=1088",
1094
- ],
1095
- },
1096
- "public": {
1097
- "http": [
1098
- "https://andromeda.metis.io/?owner=1088",
1099
- ],
1100
- },
1101
- },
1102
- },
1103
- "metisGoerli": {
1104
- "blockExplorers": {
1105
- "default": {
1106
- "name": "Metis Goerli Explorer",
1107
- "url": "https://goerli.explorer.metisdevops.link",
1108
- },
1109
- },
1110
- "id": 599,
1111
- "name": "Metis Goerli",
1112
- "nativeCurrency": {
1113
- "decimals": 18,
1114
- "name": "Metis Goerli",
1115
- "symbol": "METIS",
1116
- },
1117
- "network": "metis-goerli",
1118
- "rpcUrls": {
1119
- "default": {
1120
- "http": [
1121
- "https://goerli.gateway.metisdevops.link",
1122
- ],
1123
- },
1124
- "public": {
1125
- "http": [
1126
- "https://goerli.gateway.metisdevops.link",
1127
- ],
1128
- },
1129
- },
1130
- },
1131
- "optimism": {
1132
- "blockExplorers": {
1133
- "default": {
1134
- "name": "Optimism Explorer",
1135
- "url": "https://explorer.optimism.io",
1136
- },
1137
- "etherscan": {
1138
- "name": "Etherscan",
1139
- "url": "https://optimistic.etherscan.io",
1140
- },
1141
- },
1142
- "contracts": {
1143
- "multicall3": {
1144
- "address": "0xca11bde05977b3631167028862be2a173976ca11",
1145
- "blockCreated": 4286263,
1146
- },
1147
- },
1148
- "id": 10,
1149
- "name": "Optimism",
1150
- "nativeCurrency": {
1151
- "decimals": 18,
1152
- "name": "Ether",
1153
- "symbol": "ETH",
1154
- },
1155
- "network": "optimism",
1156
- "rpcUrls": {
1157
- "alchemy": {
1158
- "http": [
1159
- "https://opt-mainnet.g.alchemy.com/v2",
1160
- ],
1161
- "webSocket": [
1162
- "wss://opt-mainnet.g.alchemy.com/v2",
1163
- ],
1164
- },
1165
- "default": {
1166
- "http": [
1167
- "https://mainnet.optimism.io",
1168
- ],
1169
- },
1170
- "infura": {
1171
- "http": [
1172
- "https://optimism-mainnet.infura.io/v3",
1173
- ],
1174
- "webSocket": [
1175
- "wss://optimism-mainnet.infura.io/ws/v3",
1176
- ],
1177
- },
1178
- "public": {
1179
- "http": [
1180
- "https://mainnet.optimism.io",
1181
- ],
1182
- },
1183
- },
1184
- },
1185
- "optimismGoerli": {
1186
- "blockExplorers": {
1187
- "default": {
1188
- "name": "Etherscan",
1189
- "url": "https://goerli-optimism.etherscan.io",
1190
- },
1191
- "etherscan": {
1192
- "name": "Etherscan",
1193
- "url": "https://goerli-optimism.etherscan.io",
1194
- },
1195
- },
1196
- "contracts": {
1197
- "multicall3": {
1198
- "address": "0xca11bde05977b3631167028862be2a173976ca11",
1199
- "blockCreated": 49461,
1200
- },
1201
- },
1202
- "id": 420,
1203
- "name": "Optimism Goerli",
1204
- "nativeCurrency": {
1205
- "decimals": 18,
1206
- "name": "Goerli Ether",
1207
- "symbol": "ETH",
1208
- },
1209
- "network": "optimism-goerli",
1210
- "rpcUrls": {
1211
- "alchemy": {
1212
- "http": [
1213
- "https://opt-goerli.g.alchemy.com/v2",
1214
- ],
1215
- "webSocket": [
1216
- "wss://opt-goerli.g.alchemy.com/v2",
1217
- ],
1218
- },
1219
- "default": {
1220
- "http": [
1221
- "https://goerli.optimism.io",
1222
- ],
1223
- },
1224
- "infura": {
1225
- "http": [
1226
- "https://optimism-goerli.infura.io/v3",
1227
- ],
1228
- "webSocket": [
1229
- "wss://optimism-goerli.infura.io/ws/v3",
1230
- ],
1231
- },
1232
- "public": {
1233
- "http": [
1234
- "https://goerli.optimism.io",
1235
- ],
1236
- },
1237
- },
1238
- "testnet": true,
1239
- },
1240
- "polygon": {
1241
- "blockExplorers": {
1242
- "default": {
1243
- "name": "PolygonScan",
1244
- "url": "https://polygonscan.com",
1245
- },
1246
- "etherscan": {
1247
- "name": "PolygonScan",
1248
- "url": "https://polygonscan.com",
1249
- },
1250
- },
1251
- "contracts": {
1252
- "multicall3": {
1253
- "address": "0xca11bde05977b3631167028862be2a173976ca11",
1254
- "blockCreated": 25770160,
1255
- },
1256
- },
1257
- "id": 137,
1258
- "name": "Polygon",
1259
- "nativeCurrency": {
1260
- "decimals": 18,
1261
- "name": "MATIC",
1262
- "symbol": "MATIC",
1263
- },
1264
- "network": "matic",
1265
- "rpcUrls": {
1266
- "alchemy": {
1267
- "http": [
1268
- "https://polygon-mainnet.g.alchemy.com/v2",
1269
- ],
1270
- "webSocket": [
1271
- "wss://polygon-mainnet.g.alchemy.com/v2",
1272
- ],
1273
- },
1274
- "default": {
1275
- "http": [
1276
- "https://polygon-rpc.com",
1277
- ],
1278
- },
1279
- "infura": {
1280
- "http": [
1281
- "https://polygon-mainnet.infura.io/v3",
1282
- ],
1283
- "webSocket": [
1284
- "wss://polygon-mainnet.infura.io/ws/v3",
1285
- ],
1286
- },
1287
- "public": {
1288
- "http": [
1289
- "https://polygon-rpc.com",
1290
- ],
1291
- },
1292
- },
1293
- },
1294
- "polygonMumbai": {
1295
- "blockExplorers": {
1296
- "default": {
1297
- "name": "PolygonScan",
1298
- "url": "https://mumbai.polygonscan.com",
1299
- },
1300
- "etherscan": {
1301
- "name": "PolygonScan",
1302
- "url": "https://mumbai.polygonscan.com",
1303
- },
1304
- },
1305
- "contracts": {
1306
- "multicall3": {
1307
- "address": "0xca11bde05977b3631167028862be2a173976ca11",
1308
- "blockCreated": 25770160,
1309
- },
1310
- },
1311
- "id": 80001,
1312
- "name": "Polygon Mumbai",
1313
- "nativeCurrency": {
1314
- "decimals": 18,
1315
- "name": "MATIC",
1316
- "symbol": "MATIC",
1317
- },
1318
- "network": "maticmum",
1319
- "rpcUrls": {
1320
- "alchemy": {
1321
- "http": [
1322
- "https://polygon-mumbai.g.alchemy.com/v2",
1323
- ],
1324
- "webSocket": [
1325
- "wss://polygon-mumbai.g.alchemy.com/v2",
1326
- ],
1327
- },
1328
- "default": {
1329
- "http": [
1330
- "https://matic-mumbai.chainstacklabs.com",
1331
- ],
1332
- },
1333
- "infura": {
1334
- "http": [
1335
- "https://polygon-mumbai.infura.io/v3",
1336
- ],
1337
- "webSocket": [
1338
- "wss://polygon-mumbai.infura.io/ws/v3",
1339
- ],
1340
- },
1341
- "public": {
1342
- "http": [
1343
- "https://matic-mumbai.chainstacklabs.com",
1344
- ],
1345
- },
1346
- },
1347
- "testnet": true,
1348
- },
1349
- "sepolia": {
1350
- "blockExplorers": {
1351
- "default": {
1352
- "name": "Etherscan",
1353
- "url": "https://sepolia.etherscan.io",
1354
- },
1355
- "etherscan": {
1356
- "name": "Etherscan",
1357
- "url": "https://sepolia.etherscan.io",
1358
- },
1359
- },
1360
- "contracts": {
1361
- "multicall3": {
1362
- "address": "0xca11bde05977b3631167028862be2a173976ca11",
1363
- "blockCreated": 6507670,
1364
- },
1365
- },
1366
- "id": 11155111,
1367
- "name": "Sepolia",
1368
- "nativeCurrency": {
1369
- "decimals": 18,
1370
- "name": "Sepolia Ether",
1371
- "symbol": "SEP",
1372
- },
1373
- "network": "sepolia",
1374
- "rpcUrls": {
1375
- "default": {
1376
- "http": [
1377
- "https://rpc.sepolia.org",
1378
- ],
1379
- },
1380
- "infura": {
1381
- "http": [
1382
- "https://sepolia.infura.io/v3",
1383
- ],
1384
- "webSocket": [
1385
- "wss://sepolia.infura.io/ws/v3",
1386
- ],
1387
- },
1388
- "public": {
1389
- "http": [
1390
- "https://rpc.sepolia.org",
1391
- ],
1392
- },
1393
- },
1394
- "testnet": true,
1395
- },
1396
- "taraxa": {
1397
- "blockExplorers": {
1398
- "default": {
1399
- "name": "Taraxa Explorer",
1400
- "url": "https://explorer.mainnet.taraxa.io",
1401
- },
1402
- },
1403
- "id": 841,
1404
- "name": "Taraxa Mainnet",
1405
- "nativeCurrency": {
1406
- "decimals": 18,
1407
- "name": "Tara",
1408
- "symbol": "TARA",
1409
- },
1410
- "network": "taraxa",
1411
- "rpcUrls": {
1412
- "default": {
1413
- "http": [
1414
- "https://rpc.mainnet.taraxa.io",
1415
- ],
1416
- },
1417
- "public": {
1418
- "http": [
1419
- "https://rpc.mainnet.taraxa.io",
1420
- ],
1421
- },
1422
- },
1423
- },
1424
- "taraxaTestnet": {
1425
- "blockExplorers": {
1426
- "default": {
1427
- "name": "Taraxa Explorer",
1428
- "url": "https://explorer.testnet.taraxa.io",
1429
- },
1430
- },
1431
- "id": 842,
1432
- "name": "Taraxa Testnet",
1433
- "nativeCurrency": {
1434
- "decimals": 18,
1435
- "name": "Tara",
1436
- "symbol": "TARA",
1437
- },
1438
- "network": "taraxa-testnet",
1439
- "rpcUrls": {
1440
- "default": {
1441
- "http": [
1442
- "https://rpc.testnet.taraxa.io",
1443
- ],
1444
- },
1445
- "public": {
1446
- "http": [
1447
- "https://rpc.testnet.taraxa.io",
1448
- ],
1449
- },
1450
- },
1451
- "testnet": true,
1452
- },
1453
- "zkSync": {
1454
- "blockExplorers": {
1455
- "default": {
1456
- "name": "zkExplorer",
1457
- "url": "https://explorer.zksync.io",
1458
- },
1459
- },
1460
- "id": 324,
1461
- "name": "zkSync",
1462
- "nativeCurrency": {
1463
- "decimals": 18,
1464
- "name": "Ether",
1465
- "symbol": "ETH",
1466
- },
1467
- "network": "zksync",
1468
- "rpcUrls": {
1469
- "default": {
1470
- "http": [
1471
- "https://zksync2-mainnet.zksync.io",
1472
- ],
1473
- "webSocket": [
1474
- "wss://zksync2-mainnet.zksync.io/ws",
1475
- ],
1476
- },
1477
- "public": {
1478
- "http": [
1479
- "https://zksync2-mainnet.zksync.io",
1480
- ],
1481
- "webSocket": [
1482
- "wss://zksync2-mainnet.zksync.io/ws",
1483
- ],
1484
- },
1485
- },
1486
- },
1487
- "zkSyncTestnet": {
1488
- "blockExplorers": {
1489
- "default": {
1490
- "name": "zkExplorer",
1491
- "url": "https://goerli.explorer.zksync.io",
1492
- },
1493
- },
1494
- "id": 280,
1495
- "name": "zkSync Testnet",
1496
- "nativeCurrency": {
1497
- "decimals": 18,
1498
- "name": "Ether",
1499
- "symbol": "ETH",
1500
- },
1501
- "network": "zksync-testnet",
1502
- "rpcUrls": {
1503
- "default": {
1504
- "http": [
1505
- "https://zksync2-testnet.zksync.dev",
1506
- ],
1507
- "webSocket": [
1508
- "wss://zksync2-testnet.zksync.dev/ws",
1509
- ],
1510
- },
1511
- "public": {
1512
- "http": [
1513
- "https://zksync2-testnet.zksync.dev",
1514
- ],
1515
- "webSocket": [
1516
- "wss://zksync2-testnet.zksync.dev/ws",
1517
- ],
1518
- },
1519
- },
1520
- "testnet": true,
1521
- },
1522
- }
6
+ expect(Object.keys(chains)).toMatchInlineSnapshot(`
7
+ [
8
+ "defineChain",
9
+ "arbitrum",
10
+ "arbitrumGoerli",
11
+ "aurora",
12
+ "auroraGoerli",
13
+ "avalanche",
14
+ "avalancheFuji",
15
+ "bronos",
16
+ "bronosTestnet",
17
+ "bsc",
18
+ "bscTestnet",
19
+ "canto",
20
+ "celo",
21
+ "celoAlfajores",
22
+ "crossbell",
23
+ "evmos",
24
+ "evmosTestnet",
25
+ "fantom",
26
+ "fantomTestnet",
27
+ "filecoin",
28
+ "filecoinTestnet",
29
+ "foundry",
30
+ "goerli",
31
+ "gnosis",
32
+ "gnosisChiado",
33
+ "hardhat",
34
+ "iotex",
35
+ "iotexTestnet",
36
+ "localhost",
37
+ "mainnet",
38
+ "metis",
39
+ "metisGoerli",
40
+ "optimism",
41
+ "optimismGoerli",
42
+ "polygon",
43
+ "polygonMumbai",
44
+ "sepolia",
45
+ "taraxa",
46
+ "taraxaTestnet",
47
+ "zkSync",
48
+ "zkSyncTestnet",
49
+ ]
1523
50
  `)
1524
51
  })
1525
52