@hybrd/utils 0.7.6 → 1.0.1

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 (52) hide show
  1. package/.cache/tsbuildinfo.json +1 -0
  2. package/.turbo/turbo-build.log +5 -0
  3. package/.turbo/turbo-lint$colon$fix.log +6 -0
  4. package/.turbo/turbo-lint.log +6 -0
  5. package/.turbo/turbo-typecheck.log +5 -0
  6. package/dist/index.d.ts +10 -3130
  7. package/dist/index.d.ts.map +1 -0
  8. package/dist/index.js +9 -2291
  9. package/dist/lib/array.d.ts +25 -0
  10. package/dist/lib/array.d.ts.map +1 -0
  11. package/dist/lib/array.js +32 -0
  12. package/dist/lib/cloudflare.d.ts +22 -0
  13. package/dist/lib/cloudflare.d.ts.map +1 -0
  14. package/dist/lib/cloudflare.js +53 -0
  15. package/dist/lib/date.d.ts +17 -0
  16. package/dist/lib/date.d.ts.map +1 -0
  17. package/dist/lib/date.js +37 -0
  18. package/dist/lib/markdown.d.ts +7 -0
  19. package/dist/lib/markdown.d.ts.map +1 -0
  20. package/dist/lib/markdown.js +11 -0
  21. package/dist/lib/object.d.ts +15 -0
  22. package/dist/lib/object.d.ts.map +1 -0
  23. package/dist/lib/object.js +42 -0
  24. package/dist/lib/storage.d.ts +24 -0
  25. package/dist/lib/storage.d.ts.map +1 -0
  26. package/dist/lib/storage.js +50 -0
  27. package/dist/lib/string.d.ts +11 -0
  28. package/dist/lib/string.d.ts.map +1 -0
  29. package/dist/lib/string.js +12 -0
  30. package/dist/lib/urls.d.ts +28 -0
  31. package/dist/lib/urls.d.ts.map +1 -0
  32. package/dist/lib/urls.js +36 -0
  33. package/dist/lib/uuid.d.ts +2 -0
  34. package/dist/lib/uuid.d.ts.map +1 -0
  35. package/dist/lib/uuid.js +6 -0
  36. package/package.json +20 -51
  37. package/src/index.ts +9 -0
  38. package/src/lib/array.ts +35 -0
  39. package/src/lib/cloudflare.ts +74 -0
  40. package/src/lib/date.ts +40 -0
  41. package/src/lib/markdown.ts +12 -0
  42. package/src/lib/object.ts +54 -0
  43. package/src/lib/storage.ts +64 -0
  44. package/src/lib/string.ts +12 -0
  45. package/src/lib/urls.ts +39 -0
  46. package/src/lib/uuid.ts +7 -0
  47. package/tsconfig.json +9 -0
  48. package/LICENSE.md +0 -21
  49. package/README.md +0 -21
  50. package/dist/index.cjs +0 -2321
  51. package/dist/index.cjs.map +0 -1
  52. package/dist/index.js.map +0 -1
package/dist/index.js CHANGED
@@ -1,2291 +1,9 @@
1
- var __defProp = Object.defineProperty;
2
- var __export = (target, all) => {
3
- for (var name in all)
4
- __defProp(target, name, { get: all[name], enumerable: true });
5
- };
6
-
7
- // src/basisPoints.ts
8
- function bipsToPercent(bp) {
9
- if (typeof bp !== "number")
10
- return null;
11
- return parseInt(bp.toString()) / 100;
12
- }
13
- function percentToBips(percent) {
14
- return percent * 100;
15
- }
16
- function bipsToDecimal(bp) {
17
- if (typeof bp !== "number")
18
- return 0;
19
- return parseInt(bp.toString()) / 1e4;
20
- }
21
-
22
- // ../../node_modules/wagmi/dist/chains.js
23
- var chains_exports = {};
24
- __export(chains_exports, {
25
- arbitrum: () => arbitrum,
26
- arbitrumGoerli: () => arbitrumGoerli,
27
- aurora: () => aurora,
28
- auroraTestnet: () => auroraTestnet,
29
- avalanche: () => avalanche,
30
- avalancheFuji: () => avalancheFuji,
31
- baseGoerli: () => baseGoerli,
32
- boba: () => boba,
33
- bronos: () => bronos,
34
- bronosTestnet: () => bronosTestnet,
35
- bsc: () => bsc,
36
- bscTestnet: () => bscTestnet,
37
- canto: () => canto,
38
- celo: () => celo,
39
- celoAlfajores: () => celoAlfajores,
40
- cronos: () => cronos,
41
- crossbell: () => crossbell,
42
- dfk: () => dfk,
43
- dogechain: () => dogechain,
44
- evmos: () => evmos,
45
- evmosTestnet: () => evmosTestnet,
46
- fantom: () => fantom,
47
- fantomTestnet: () => fantomTestnet,
48
- filecoin: () => filecoin,
49
- filecoinCalibration: () => filecoinCalibration,
50
- filecoinHyperspace: () => filecoinHyperspace,
51
- flare: () => flare,
52
- flareTestnet: () => flareTestnet,
53
- foundry: () => foundry,
54
- gnosis: () => gnosis,
55
- gnosisChiado: () => gnosisChiado,
56
- goerli: () => goerli,
57
- hardhat: () => hardhat,
58
- harmonyOne: () => harmonyOne,
59
- iotex: () => iotex,
60
- iotexTestnet: () => iotexTestnet,
61
- klaytn: () => klaytn,
62
- localhost: () => localhost,
63
- mainnet: () => mainnet,
64
- metis: () => metis,
65
- metisGoerli: () => metisGoerli,
66
- moonbaseAlpha: () => moonbaseAlpha,
67
- moonbeam: () => moonbeam,
68
- moonriver: () => moonriver,
69
- nexi: () => nexi,
70
- okc: () => okc,
71
- optimism: () => optimism,
72
- optimismGoerli: () => optimismGoerli,
73
- polygon: () => polygon,
74
- polygonMumbai: () => polygonMumbai,
75
- polygonZkEvm: () => polygonZkEvm,
76
- polygonZkEvmTestnet: () => polygonZkEvmTestnet,
77
- scrollTestnet: () => scrollTestnet,
78
- sepolia: () => sepolia,
79
- shardeumSphinx: () => shardeumSphinx,
80
- skaleBlockBrawlers: () => skaleBlockBrawlers,
81
- skaleCalypso: () => skaleCalypso,
82
- skaleCalypsoTestnet: () => skaleCalypsoTestnet,
83
- skaleChaosTestnet: () => skaleChaosTestnet,
84
- skaleCryptoBlades: () => skaleCryptoBlades,
85
- skaleCryptoColosseum: () => skaleCryptoColosseum,
86
- skaleEuropa: () => skaleEuropa,
87
- skaleEuropaTestnet: () => skaleEuropaTestnet,
88
- skaleExorde: () => skaleExorde,
89
- skaleHumanProtocol: () => skaleHumanProtocol,
90
- skaleNebula: () => skaleNebula,
91
- skaleNebulaTestnet: () => skaleNebulaTestnet,
92
- skaleRazor: () => skaleRazor,
93
- skaleTitan: () => skaleTitan,
94
- skaleTitanTestnet: () => skaleTitanTestnet,
95
- songbird: () => songbird,
96
- songbirdTestnet: () => songbirdTestnet,
97
- taraxa: () => taraxa,
98
- taraxaTestnet: () => taraxaTestnet,
99
- telos: () => telos,
100
- telosTestnet: () => telosTestnet,
101
- wanchain: () => wanchain,
102
- wanchainTestnet: () => wanchainTestnet,
103
- xdc: () => xdc,
104
- xdcTestnet: () => xdcTestnet,
105
- zhejiang: () => zhejiang,
106
- zkSync: () => zkSync,
107
- zkSyncTestnet: () => zkSyncTestnet
108
- });
109
-
110
- // ../../node_modules/@wagmi/core/node_modules/@wagmi/chains/dist/index.mjs
111
- var arbitrum = {
112
- id: 42161,
113
- name: "Arbitrum One",
114
- network: "arbitrum",
115
- nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
116
- rpcUrls: {
117
- alchemy: {
118
- http: ["https://arb-mainnet.g.alchemy.com/v2"],
119
- webSocket: ["wss://arb-mainnet.g.alchemy.com/v2"]
120
- },
121
- infura: {
122
- http: ["https://arbitrum-mainnet.infura.io/v3"],
123
- webSocket: ["wss://arbitrum-mainnet.infura.io/ws/v3"]
124
- },
125
- default: {
126
- http: ["https://arb1.arbitrum.io/rpc"]
127
- },
128
- public: {
129
- http: ["https://arb1.arbitrum.io/rpc"]
130
- }
131
- },
132
- blockExplorers: {
133
- etherscan: { name: "Arbiscan", url: "https://arbiscan.io" },
134
- default: { name: "Arbiscan", url: "https://arbiscan.io" }
135
- },
136
- contracts: {
137
- multicall3: {
138
- address: "0xca11bde05977b3631167028862be2a173976ca11",
139
- blockCreated: 7654707
140
- }
141
- }
142
- };
143
- var arbitrumGoerli = {
144
- id: 421613,
145
- name: "Arbitrum Goerli",
146
- network: "arbitrum-goerli",
147
- nativeCurrency: {
148
- name: "Arbitrum Goerli Ether",
149
- symbol: "ETH",
150
- decimals: 18
151
- },
152
- rpcUrls: {
153
- alchemy: {
154
- http: ["https://arb-goerli.g.alchemy.com/v2"],
155
- webSocket: ["wss://arb-goerli.g.alchemy.com/v2"]
156
- },
157
- infura: {
158
- http: ["https://arbitrum-goerli.infura.io/v3"],
159
- webSocket: ["wss://arbitrum-goerli.infura.io/ws/v3"]
160
- },
161
- default: {
162
- http: ["https://goerli-rollup.arbitrum.io/rpc"]
163
- },
164
- public: {
165
- http: ["https://goerli-rollup.arbitrum.io/rpc"]
166
- }
167
- },
168
- blockExplorers: {
169
- etherscan: { name: "Arbiscan", url: "https://goerli.arbiscan.io/" },
170
- default: { name: "Arbiscan", url: "https://goerli.arbiscan.io/" }
171
- },
172
- contracts: {
173
- multicall3: {
174
- address: "0xca11bde05977b3631167028862be2a173976ca11",
175
- blockCreated: 88114
176
- }
177
- },
178
- testnet: true
179
- };
180
- var aurora = {
181
- id: 1313161554,
182
- name: "Aurora",
183
- network: "aurora",
184
- nativeCurrency: {
185
- decimals: 18,
186
- name: "Ether",
187
- symbol: "ETH"
188
- },
189
- rpcUrls: {
190
- infura: { http: ["https://aurora-mainnet.infura.io/v3"] },
191
- default: { http: ["https://mainnet.aurora.dev"] },
192
- public: { http: ["https://mainnet.aurora.dev"] }
193
- },
194
- blockExplorers: {
195
- etherscan: { name: "Aurorascan", url: "https://aurorascan.dev" },
196
- default: { name: "Aurorascan", url: "https://aurorascan.dev" }
197
- }
198
- };
199
- var auroraTestnet = {
200
- id: 1313161555,
201
- name: "Aurora Testnet",
202
- network: "aurora-testnet",
203
- nativeCurrency: {
204
- decimals: 18,
205
- name: "Ether",
206
- symbol: "ETH"
207
- },
208
- rpcUrls: {
209
- infura: { http: ["https://aurora-testnet.infura.io/v3"] },
210
- default: { http: ["https://testnet.aurora.dev"] },
211
- public: { http: ["https://testnet.aurora.dev"] }
212
- },
213
- blockExplorers: {
214
- etherscan: { name: "Aurorascan", url: "https://testnet.aurorascan.dev" },
215
- default: { name: "Aurorascan", url: "https://testnet.aurorascan.dev" }
216
- },
217
- testnet: true
218
- };
219
- var avalanche = {
220
- id: 43114,
221
- name: "Avalanche",
222
- network: "avalanche",
223
- nativeCurrency: {
224
- decimals: 18,
225
- name: "Avalanche",
226
- symbol: "AVAX"
227
- },
228
- rpcUrls: {
229
- default: { http: ["https://api.avax.network/ext/bc/C/rpc"] },
230
- public: { http: ["https://api.avax.network/ext/bc/C/rpc"] }
231
- },
232
- blockExplorers: {
233
- etherscan: { name: "SnowTrace", url: "https://snowtrace.io" },
234
- default: { name: "SnowTrace", url: "https://snowtrace.io" }
235
- },
236
- contracts: {
237
- multicall3: {
238
- address: "0xca11bde05977b3631167028862be2a173976ca11",
239
- blockCreated: 11907934
240
- }
241
- }
242
- };
243
- var avalancheFuji = {
244
- id: 43113,
245
- name: "Avalanche Fuji",
246
- network: "avalanche-fuji",
247
- nativeCurrency: {
248
- decimals: 18,
249
- name: "Avalanche Fuji",
250
- symbol: "AVAX"
251
- },
252
- rpcUrls: {
253
- default: { http: ["https://api.avax-test.network/ext/bc/C/rpc"] },
254
- public: { http: ["https://api.avax-test.network/ext/bc/C/rpc"] }
255
- },
256
- blockExplorers: {
257
- etherscan: { name: "SnowTrace", url: "https://testnet.snowtrace.io" },
258
- default: { name: "SnowTrace", url: "https://testnet.snowtrace.io" }
259
- },
260
- contracts: {
261
- multicall3: {
262
- address: "0xca11bde05977b3631167028862be2a173976ca11",
263
- blockCreated: 7096959
264
- }
265
- },
266
- testnet: true
267
- };
268
- var baseGoerli = {
269
- id: 84531,
270
- network: "base-goerli",
271
- name: "Base Goerli",
272
- nativeCurrency: { name: "Base Goerli", symbol: "ETH", decimals: 18 },
273
- rpcUrls: {
274
- default: {
275
- http: ["https://goerli.base.org"]
276
- },
277
- public: {
278
- http: ["https://goerli.base.org"]
279
- }
280
- },
281
- blockExplorers: {
282
- etherscan: {
283
- name: "Basescan",
284
- url: "https://goerli.basescan.org"
285
- },
286
- default: {
287
- name: "Basescan",
288
- url: "https://goerli.basescan.org"
289
- }
290
- },
291
- testnet: true
292
- };
293
- var boba = {
294
- id: 288,
295
- name: "Boba Network",
296
- network: "boba",
297
- nativeCurrency: {
298
- decimals: 18,
299
- name: "Boba",
300
- symbol: "BOBA"
301
- },
302
- rpcUrls: {
303
- default: { http: ["https://mainnet.boba.network"] },
304
- public: { http: ["https://mainnet.boba.network"] }
305
- },
306
- blockExplorers: {
307
- etherscan: { name: "BOBAScan", url: "https://bobascan.com" },
308
- default: { name: "BOBAScan", url: "https://bobascan.com" }
309
- },
310
- contracts: {
311
- multicall3: {
312
- address: "0xca11bde05977b3631167028862be2a173976ca11",
313
- blockCreated: 446859
314
- }
315
- }
316
- };
317
- var bronos = {
318
- id: 1039,
319
- name: "Bronos",
320
- network: "bronos",
321
- nativeCurrency: {
322
- decimals: 18,
323
- name: "BRO",
324
- symbol: "BRO"
325
- },
326
- rpcUrls: {
327
- default: { http: ["https://evm.bronos.org"] },
328
- public: { http: ["https://evm.bronos.org"] }
329
- },
330
- blockExplorers: {
331
- default: { name: "BronoScan", url: "https://broscan.bronos.org" }
332
- }
333
- };
334
- var bronosTestnet = {
335
- id: 1038,
336
- name: "Bronos Testnet",
337
- network: "bronos-testnet",
338
- nativeCurrency: {
339
- decimals: 18,
340
- name: "Bronos Coin",
341
- symbol: "tBRO"
342
- },
343
- rpcUrls: {
344
- default: { http: ["https://evm-testnet.bronos.org"] },
345
- public: { http: ["https://evm-testnet.bronos.org"] }
346
- },
347
- blockExplorers: {
348
- default: { name: "BronoScan", url: "https://tbroscan.bronos.org" }
349
- },
350
- testnet: true
351
- };
352
- var bsc = {
353
- id: 56,
354
- name: "BNB Smart Chain",
355
- network: "bsc",
356
- nativeCurrency: {
357
- decimals: 18,
358
- name: "BNB",
359
- symbol: "BNB"
360
- },
361
- rpcUrls: {
362
- default: { http: ["https://rpc.ankr.com/bsc"] },
363
- public: { http: ["https://rpc.ankr.com/bsc"] }
364
- },
365
- blockExplorers: {
366
- etherscan: { name: "BscScan", url: "https://bscscan.com" },
367
- default: { name: "BscScan", url: "https://bscscan.com" }
368
- },
369
- contracts: {
370
- multicall3: {
371
- address: "0xca11bde05977b3631167028862be2a173976ca11",
372
- blockCreated: 15921452
373
- }
374
- }
375
- };
376
- var bscTestnet = {
377
- id: 97,
378
- name: "Binance Smart Chain Testnet",
379
- network: "bsc-testnet",
380
- nativeCurrency: {
381
- decimals: 18,
382
- name: "BNB",
383
- symbol: "tBNB"
384
- },
385
- rpcUrls: {
386
- default: { http: ["https://data-seed-prebsc-1-s1.binance.org:8545"] },
387
- public: { http: ["https://data-seed-prebsc-1-s1.binance.org:8545"] }
388
- },
389
- blockExplorers: {
390
- etherscan: { name: "BscScan", url: "https://testnet.bscscan.com" },
391
- default: { name: "BscScan", url: "https://testnet.bscscan.com" }
392
- },
393
- contracts: {
394
- multicall3: {
395
- address: "0xca11bde05977b3631167028862be2a173976ca11",
396
- blockCreated: 17422483
397
- }
398
- },
399
- testnet: true
400
- };
401
- var canto = {
402
- id: 7700,
403
- name: "Canto",
404
- network: "canto",
405
- nativeCurrency: {
406
- decimals: 18,
407
- name: "Canto",
408
- symbol: "CANTO"
409
- },
410
- rpcUrls: {
411
- default: { http: ["https://canto.slingshot.finance"] },
412
- public: { http: ["https://canto.slingshot.finance"] }
413
- },
414
- blockExplorers: {
415
- default: {
416
- name: "Canto EVM Explorer (Blockscout)",
417
- url: "https://evm.explorer.canto.io"
418
- }
419
- }
420
- };
421
- var celo = {
422
- id: 42220,
423
- name: "Celo",
424
- network: "celo",
425
- nativeCurrency: {
426
- decimals: 18,
427
- name: "CELO",
428
- symbol: "CELO"
429
- },
430
- rpcUrls: {
431
- default: { http: ["https://forno.celo.org"] },
432
- infura: {
433
- http: ["https://celo-mainnet.infura.io/v3"]
434
- },
435
- public: {
436
- http: ["https://forno.celo.org"]
437
- }
438
- },
439
- blockExplorers: {
440
- default: {
441
- name: "Celo Explorer",
442
- url: "https://explorer.celo.org/mainnet"
443
- },
444
- etherscan: { name: "CeloScan", url: "https://celoscan.io" }
445
- },
446
- contracts: {
447
- multicall3: {
448
- address: "0xcA11bde05977b3631167028862bE2a173976CA11",
449
- blockCreated: 13112599
450
- }
451
- },
452
- testnet: false
453
- };
454
- var celoAlfajores = {
455
- id: 44787,
456
- name: "Alfajores",
457
- network: "celo-alfajores",
458
- nativeCurrency: {
459
- decimals: 18,
460
- name: "CELO",
461
- symbol: "A-CELO"
462
- },
463
- rpcUrls: {
464
- default: {
465
- http: ["https://alfajores-forno.celo-testnet.org"]
466
- },
467
- infura: {
468
- http: ["https://celo-alfajores.infura.io/v3"]
469
- },
470
- public: {
471
- http: ["https://alfajores-forno.celo-testnet.org"]
472
- }
473
- },
474
- blockExplorers: {
475
- default: {
476
- name: "Celo Explorer",
477
- url: "https://explorer.celo.org/alfajores"
478
- },
479
- etherscan: { name: "CeloScan", url: "https://alfajores.celoscan.io/" }
480
- },
481
- contracts: {
482
- multicall3: {
483
- address: "0xcA11bde05977b3631167028862bE2a173976CA11",
484
- blockCreated: 14569001
485
- }
486
- },
487
- testnet: true
488
- };
489
- var cronos = {
490
- id: 25,
491
- name: "Cronos",
492
- network: "cronos",
493
- nativeCurrency: {
494
- decimals: 18,
495
- name: "Cronos",
496
- symbol: "CRO"
497
- },
498
- rpcUrls: {
499
- default: { http: ["https://node.croswap.com/rpc"] },
500
- public: { http: ["https://node.croswap.com/rpc"] }
501
- },
502
- blockExplorers: {
503
- etherscan: { name: "CronosScan", url: "https://cronoscan.com" },
504
- default: { name: "CronosScan", url: "https://cronoscan.com" }
505
- },
506
- contracts: {
507
- multicall3: {
508
- address: "0xcA11bde05977b3631167028862bE2a173976CA11",
509
- blockCreated: 1963112
510
- }
511
- }
512
- };
513
- var crossbell = {
514
- id: 3737,
515
- network: "crossbell",
516
- name: "Crossbell",
517
- nativeCurrency: {
518
- decimals: 18,
519
- name: "CSB",
520
- symbol: "CSB"
521
- },
522
- rpcUrls: {
523
- default: {
524
- http: ["https://rpc.crossbell.io"]
525
- },
526
- public: {
527
- http: ["https://rpc.crossbell.io"]
528
- }
529
- },
530
- blockExplorers: {
531
- default: { name: "CrossScan", url: "https://scan.crossbell.io" }
532
- },
533
- contracts: {
534
- multicall3: {
535
- address: "0xBB9759009cDaC82774EfC84D94cD9F7440f75Fcf",
536
- blockCreated: 23499787
537
- }
538
- }
539
- };
540
- var dfk = {
541
- id: 53935,
542
- name: "DFK Chain",
543
- network: "dfk",
544
- nativeCurrency: {
545
- decimals: 18,
546
- name: "Jewel",
547
- symbol: "JEWEL"
548
- },
549
- rpcUrls: {
550
- default: {
551
- http: ["https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"]
552
- },
553
- public: {
554
- http: ["https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"]
555
- }
556
- },
557
- blockExplorers: {
558
- etherscan: {
559
- name: "DFKSubnetScan",
560
- url: "https://subnets.avax.network/defi-kingdoms"
561
- },
562
- default: {
563
- name: "DFKSubnetScan",
564
- url: "https://subnets.avax.network/defi-kingdoms"
565
- }
566
- }
567
- };
568
- var dogechain = {
569
- id: 2e3,
570
- name: "Dogechain",
571
- network: "dogechain",
572
- nativeCurrency: {
573
- decimals: 18,
574
- name: "Dogechain",
575
- symbol: "DC"
576
- },
577
- rpcUrls: {
578
- default: { http: ["https://rpc.dogechain.dog"] },
579
- public: { http: ["https://rpc.dogechain.dog"] }
580
- },
581
- blockExplorers: {
582
- etherscan: {
583
- name: "DogeChainExplorer",
584
- url: "https://explorer.dogechain.dog"
585
- },
586
- default: {
587
- name: "DogeChainExplorer",
588
- url: "https://explorer.dogechain.dog"
589
- }
590
- }
591
- };
592
- var evmos = {
593
- id: 9001,
594
- name: "Evmos",
595
- network: "evmos",
596
- nativeCurrency: {
597
- decimals: 18,
598
- name: "Evmos",
599
- symbol: "EVMOS"
600
- },
601
- rpcUrls: {
602
- default: { http: ["https://eth.bd.evmos.org:8545"] },
603
- public: { http: ["https://eth.bd.evmos.org:8545"] }
604
- },
605
- blockExplorers: {
606
- default: { name: "Evmos Block Explorer", url: "https://escan.live/" }
607
- }
608
- };
609
- var evmosTestnet = {
610
- id: 9e3,
611
- name: "Evmos Testnet",
612
- network: "evmos-testnet",
613
- nativeCurrency: {
614
- decimals: 18,
615
- name: "Evmos",
616
- symbol: "EVMOS"
617
- },
618
- rpcUrls: {
619
- default: { http: ["https://eth.bd.evmos.dev:8545"] },
620
- public: { http: ["https://eth.bd.evmos.dev:8545"] }
621
- },
622
- blockExplorers: {
623
- default: {
624
- name: "Evmos Testnet Block Explorer",
625
- url: "https://evm.evmos.dev/"
626
- }
627
- }
628
- };
629
- var fantom = {
630
- id: 250,
631
- name: "Fantom",
632
- network: "fantom",
633
- nativeCurrency: {
634
- decimals: 18,
635
- name: "Fantom",
636
- symbol: "FTM"
637
- },
638
- rpcUrls: {
639
- default: { http: ["https://rpc.ankr.com/fantom"] },
640
- public: { http: ["https://rpc.ankr.com/fantom"] }
641
- },
642
- blockExplorers: {
643
- etherscan: { name: "FTMScan", url: "https://ftmscan.com" },
644
- default: { name: "FTMScan", url: "https://ftmscan.com" }
645
- },
646
- contracts: {
647
- multicall3: {
648
- address: "0xca11bde05977b3631167028862be2a173976ca11",
649
- blockCreated: 33001987
650
- }
651
- }
652
- };
653
- var fantomTestnet = {
654
- id: 4002,
655
- name: "Fantom Testnet",
656
- network: "fantom-testnet",
657
- nativeCurrency: {
658
- decimals: 18,
659
- name: "Fantom",
660
- symbol: "FTM"
661
- },
662
- rpcUrls: {
663
- default: { http: ["https://rpc.testnet.fantom.network"] },
664
- public: { http: ["https://rpc.testnet.fantom.network"] }
665
- },
666
- blockExplorers: {
667
- etherscan: { name: "FTMScan", url: "https://testnet.ftmscan.com" },
668
- default: { name: "FTMScan", url: "https://testnet.ftmscan.com" }
669
- },
670
- contracts: {
671
- multicall3: {
672
- address: "0xca11bde05977b3631167028862be2a173976ca11",
673
- blockCreated: 8328688
674
- }
675
- }
676
- };
677
- var filecoin = {
678
- id: 314,
679
- name: "Filecoin Mainnet",
680
- network: "filecoin-mainnet",
681
- nativeCurrency: {
682
- decimals: 18,
683
- name: "filecoin",
684
- symbol: "FIL"
685
- },
686
- rpcUrls: {
687
- default: { http: ["https://api.node.glif.io/rpc/v1"] },
688
- public: { http: ["https://api.node.glif.io/rpc/v1"] }
689
- },
690
- blockExplorers: {
691
- default: { name: "Filfox", url: "https://filfox.info/en" },
692
- filscan: { name: "Filscan", url: "https://filscan.io" },
693
- filscout: { name: "Filscout", url: "https://filscout.io/en" },
694
- glif: { name: "Glif", url: "https://explorer.glif.io" }
695
- }
696
- };
697
- var filecoinCalibration = {
698
- id: 314159,
699
- name: "Filecoin Calibration",
700
- network: "filecoin-calibration",
701
- nativeCurrency: {
702
- decimals: 18,
703
- name: "testnet filecoin",
704
- symbol: "tFIL"
705
- },
706
- rpcUrls: {
707
- default: { http: ["https://api.calibration.node.glif.io/rpc/v1"] },
708
- public: { http: ["https://api.calibration.node.glif.io/rpc/v1"] }
709
- },
710
- blockExplorers: {
711
- default: { name: "Filscan", url: "https://calibration.filscan.io" }
712
- }
713
- };
714
- var filecoinHyperspace = {
715
- id: 3141,
716
- name: "Filecoin Hyperspace",
717
- network: "filecoin-hyperspace",
718
- nativeCurrency: {
719
- decimals: 18,
720
- name: "testnet filecoin",
721
- symbol: "tFIL"
722
- },
723
- rpcUrls: {
724
- default: { http: ["https://api.hyperspace.node.glif.io/rpc/v1"] },
725
- public: { http: ["https://api.hyperspace.node.glif.io/rpc/v1"] }
726
- },
727
- blockExplorers: {
728
- default: { name: "Filfox", url: "https://hyperspace.filfox.info/en" },
729
- filscan: { name: "Filscan", url: "https://hyperspace.filscan.io" }
730
- }
731
- };
732
- var flare = {
733
- id: 14,
734
- name: "Flare Mainnet",
735
- network: "flare-mainnet",
736
- nativeCurrency: {
737
- decimals: 18,
738
- name: "flare",
739
- symbol: "FLR"
740
- },
741
- rpcUrls: {
742
- default: { http: ["https://flare-api.flare.network/ext/C/rpc"] },
743
- public: { http: ["https://flare-api.flare.network/ext/C/rpc"] }
744
- },
745
- blockExplorers: {
746
- default: {
747
- name: "Flare Explorer",
748
- url: "https://flare-explorer.flare.network"
749
- }
750
- }
751
- };
752
- var flareTestnet = {
753
- id: 114,
754
- name: "Coston2",
755
- network: "coston2",
756
- nativeCurrency: {
757
- decimals: 18,
758
- name: "coston2flare",
759
- symbol: "C2FLR"
760
- },
761
- rpcUrls: {
762
- default: { http: ["https://coston2-api.flare.network/ext/C/rpc"] },
763
- public: { http: ["https://coston2-api.flare.network/ext/C/rpc"] }
764
- },
765
- blockExplorers: {
766
- default: {
767
- name: "Coston2 Explorer",
768
- url: "https://coston2-explorer.flare.network"
769
- }
770
- },
771
- testnet: true
772
- };
773
- var foundry = {
774
- id: 31337,
775
- name: "Foundry",
776
- network: "foundry",
777
- nativeCurrency: {
778
- decimals: 18,
779
- name: "Ether",
780
- symbol: "ETH"
781
- },
782
- rpcUrls: {
783
- default: { http: ["http://127.0.0.1:8545"] },
784
- public: { http: ["http://127.0.0.1:8545"] }
785
- }
786
- };
787
- var iotex = {
788
- id: 4689,
789
- name: "IoTeX",
790
- network: "iotex",
791
- nativeCurrency: {
792
- decimals: 18,
793
- name: "IoTeX",
794
- symbol: "IOTX"
795
- },
796
- rpcUrls: {
797
- default: {
798
- http: ["https://babel-api.mainnet.iotex.io"],
799
- webSocket: ["wss://babel-api.mainnet.iotex.io"]
800
- },
801
- public: {
802
- http: ["https://babel-api.mainnet.iotex.io"],
803
- webSocket: ["wss://babel-api.mainnet.iotex.io"]
804
- }
805
- },
806
- blockExplorers: {
807
- default: { name: "IoTeXScan", url: "https://iotexscan.io" }
808
- }
809
- };
810
- var iotexTestnet = {
811
- id: 4690,
812
- name: "IoTeX Testnet",
813
- network: "iotex-testnet",
814
- nativeCurrency: {
815
- decimals: 18,
816
- name: "IoTeX",
817
- symbol: "IOTX"
818
- },
819
- rpcUrls: {
820
- default: {
821
- http: ["https://babel-api.testnet.iotex.io"],
822
- webSocket: ["wss://babel-api.testnet.iotex.io"]
823
- },
824
- public: {
825
- http: ["https://babel-api.testnet.iotex.io"],
826
- webSocket: ["wss://babel-api.testnet.iotex.io"]
827
- }
828
- },
829
- blockExplorers: {
830
- default: { name: "IoTeXScan", url: "https://testnet.iotexscan.io" }
831
- }
832
- };
833
- var goerli = {
834
- id: 5,
835
- network: "goerli",
836
- name: "Goerli",
837
- nativeCurrency: { name: "Goerli Ether", symbol: "ETH", decimals: 18 },
838
- rpcUrls: {
839
- alchemy: {
840
- http: ["https://eth-goerli.g.alchemy.com/v2"],
841
- webSocket: ["wss://eth-goerli.g.alchemy.com/v2"]
842
- },
843
- infura: {
844
- http: ["https://goerli.infura.io/v3"],
845
- webSocket: ["wss://goerli.infura.io/ws/v3"]
846
- },
847
- default: {
848
- http: ["https://rpc.ankr.com/eth_goerli"]
849
- },
850
- public: {
851
- http: ["https://rpc.ankr.com/eth_goerli"]
852
- }
853
- },
854
- blockExplorers: {
855
- etherscan: {
856
- name: "Etherscan",
857
- url: "https://goerli.etherscan.io"
858
- },
859
- default: {
860
- name: "Etherscan",
861
- url: "https://goerli.etherscan.io"
862
- }
863
- },
864
- contracts: {
865
- ensRegistry: {
866
- address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"
867
- },
868
- ensUniversalResolver: {
869
- address: "0xA292E2E58d4ddEb29C33c63173d0E8B7a2A4c62e",
870
- blockCreated: 8610406
871
- },
872
- multicall3: {
873
- address: "0xca11bde05977b3631167028862be2a173976ca11",
874
- blockCreated: 6507670
875
- }
876
- },
877
- testnet: true
878
- };
879
- var gnosis = {
880
- id: 100,
881
- name: "Gnosis",
882
- network: "gnosis",
883
- nativeCurrency: {
884
- decimals: 18,
885
- name: "Gnosis",
886
- symbol: "xDAI"
887
- },
888
- rpcUrls: {
889
- default: { http: ["https://rpc.gnosischain.com"] },
890
- public: { http: ["https://rpc.gnosischain.com"] }
891
- },
892
- blockExplorers: {
893
- etherscan: {
894
- name: "Gnosisscan",
895
- url: "https://gnosisscan.io/"
896
- },
897
- default: {
898
- name: "Gnosis Chain Explorer",
899
- url: "https://blockscout.com/xdai/mainnet/"
900
- }
901
- }
902
- };
903
- var gnosisChiado = {
904
- id: 10200,
905
- name: "Gnosis Chiado",
906
- network: "chiado",
907
- nativeCurrency: {
908
- decimals: 18,
909
- name: "Gnosis",
910
- symbol: "xDAI"
911
- },
912
- rpcUrls: {
913
- default: { http: ["https://rpc.chiadochain.net"] },
914
- public: { http: ["https://rpc.chiadochain.net"] }
915
- },
916
- blockExplorers: {
917
- default: {
918
- name: "Blockscout",
919
- url: "https://blockscout.chiadochain.net"
920
- }
921
- }
922
- };
923
- var hardhat = {
924
- id: 31337,
925
- name: "Hardhat",
926
- network: "hardhat",
927
- nativeCurrency: {
928
- decimals: 18,
929
- name: "Ether",
930
- symbol: "ETH"
931
- },
932
- rpcUrls: {
933
- default: { http: ["http://127.0.0.1:8545"] },
934
- public: { http: ["http://127.0.0.1:8545"] }
935
- }
936
- };
937
- var harmonyOne = {
938
- id: 16666e5,
939
- name: "Harmony One",
940
- network: "harmony",
941
- nativeCurrency: {
942
- name: "Harmony",
943
- symbol: "ONE",
944
- decimals: 18
945
- },
946
- rpcUrls: {
947
- public: { http: ["https://rpc.ankr.com/harmony"] },
948
- default: { http: ["https://rpc.ankr.com/harmony"] }
949
- },
950
- blockExplorers: {
951
- default: { name: "Harmony Explorer", url: "https://explorer.harmony.one" }
952
- },
953
- contracts: {
954
- multicall3: {
955
- address: "0xca11bde05977b3631167028862be2a173976ca11",
956
- blockCreated: 24185753
957
- }
958
- }
959
- };
960
- var klaytn = {
961
- id: 8217,
962
- name: "Klaytn",
963
- network: "klaytn",
964
- nativeCurrency: {
965
- decimals: 18,
966
- name: "Klaytn",
967
- symbol: "KLAY"
968
- },
969
- rpcUrls: {
970
- default: { http: ["https://cypress.fautor.app/archive"] },
971
- public: { http: ["https://cypress.fautor.app/archive"] }
972
- },
973
- blockExplorers: {
974
- etherscan: { name: "KlaytnScope", url: "https://scope.klaytn.com" },
975
- default: { name: "KlaytnScope", url: "https://scope.klaytn.com" }
976
- }
977
- };
978
- var localhost = {
979
- id: 1337,
980
- name: "Localhost",
981
- network: "localhost",
982
- nativeCurrency: {
983
- decimals: 18,
984
- name: "Ether",
985
- symbol: "ETH"
986
- },
987
- rpcUrls: {
988
- default: { http: ["http://127.0.0.1:8545"] },
989
- public: { http: ["http://127.0.0.1:8545"] }
990
- }
991
- };
992
- var mainnet = {
993
- id: 1,
994
- network: "homestead",
995
- name: "Ethereum",
996
- nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
997
- rpcUrls: {
998
- alchemy: {
999
- http: ["https://eth-mainnet.g.alchemy.com/v2"],
1000
- webSocket: ["wss://eth-mainnet.g.alchemy.com/v2"]
1001
- },
1002
- infura: {
1003
- http: ["https://mainnet.infura.io/v3"],
1004
- webSocket: ["wss://mainnet.infura.io/ws/v3"]
1005
- },
1006
- default: {
1007
- http: ["https://cloudflare-eth.com"]
1008
- },
1009
- public: {
1010
- http: ["https://cloudflare-eth.com"]
1011
- }
1012
- },
1013
- blockExplorers: {
1014
- etherscan: {
1015
- name: "Etherscan",
1016
- url: "https://etherscan.io"
1017
- },
1018
- default: {
1019
- name: "Etherscan",
1020
- url: "https://etherscan.io"
1021
- }
1022
- },
1023
- contracts: {
1024
- ensRegistry: {
1025
- address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"
1026
- },
1027
- ensUniversalResolver: {
1028
- address: "0xE4Acdd618deED4e6d2f03b9bf62dc6118FC9A4da",
1029
- blockCreated: 16773775
1030
- },
1031
- multicall3: {
1032
- address: "0xca11bde05977b3631167028862be2a173976ca11",
1033
- blockCreated: 14353601
1034
- }
1035
- }
1036
- };
1037
- var metis = {
1038
- id: 1088,
1039
- name: "Metis",
1040
- network: "andromeda",
1041
- nativeCurrency: {
1042
- decimals: 18,
1043
- name: "Metis",
1044
- symbol: "METIS"
1045
- },
1046
- rpcUrls: {
1047
- default: { http: ["https://andromeda.metis.io/?owner=1088"] },
1048
- public: { http: ["https://andromeda.metis.io/?owner=1088"] }
1049
- },
1050
- blockExplorers: {
1051
- default: {
1052
- name: "Andromeda Explorer",
1053
- url: "https://andromeda-explorer.metis.io"
1054
- }
1055
- }
1056
- };
1057
- var metisGoerli = {
1058
- id: 599,
1059
- name: "Metis Goerli",
1060
- network: "metis-goerli",
1061
- nativeCurrency: {
1062
- decimals: 18,
1063
- name: "Metis Goerli",
1064
- symbol: "METIS"
1065
- },
1066
- rpcUrls: {
1067
- default: { http: ["https://goerli.gateway.metisdevops.link"] },
1068
- public: { http: ["https://goerli.gateway.metisdevops.link"] }
1069
- },
1070
- blockExplorers: {
1071
- default: {
1072
- name: "Metis Goerli Explorer",
1073
- url: "https://goerli.explorer.metisdevops.link"
1074
- }
1075
- }
1076
- };
1077
- var moonbaseAlpha = {
1078
- id: 1287,
1079
- name: "Moonbase Alpha",
1080
- network: "moonbase-alpha",
1081
- nativeCurrency: {
1082
- decimals: 18,
1083
- name: "DEV",
1084
- symbol: "DEV"
1085
- },
1086
- rpcUrls: {
1087
- default: {
1088
- http: ["https://rpc.api.moonbase.moonbeam.network"],
1089
- webSocket: ["wss://wss.api.moonbase.moonbeam.network"]
1090
- },
1091
- public: {
1092
- http: ["https://rpc.api.moonbase.moonbeam.network"],
1093
- webSocket: ["wss://wss.api.moonbase.moonbeam.network"]
1094
- }
1095
- },
1096
- blockExplorers: {
1097
- default: {
1098
- name: "Moonscan",
1099
- url: "https://moonbase.moonscan.io"
1100
- },
1101
- etherscan: {
1102
- name: "Moonscan",
1103
- url: "https://moonbase.moonscan.io"
1104
- }
1105
- },
1106
- contracts: {
1107
- multicall3: {
1108
- address: "0xcA11bde05977b3631167028862bE2a173976CA11",
1109
- blockCreated: 1850686
1110
- }
1111
- },
1112
- testnet: true
1113
- };
1114
- var moonbeam = {
1115
- id: 1284,
1116
- name: "Moonbeam",
1117
- network: "moonbeam",
1118
- nativeCurrency: {
1119
- decimals: 18,
1120
- name: "GLMR",
1121
- symbol: "GLMR"
1122
- },
1123
- rpcUrls: {
1124
- public: {
1125
- http: ["https://moonbeam.public.blastapi.io"],
1126
- webSocket: ["wss://moonbeam.public.blastapi.io"]
1127
- },
1128
- default: {
1129
- http: ["https://moonbeam.public.blastapi.io"],
1130
- webSocket: ["wss://moonbeam.public.blastapi.io"]
1131
- }
1132
- },
1133
- blockExplorers: {
1134
- default: {
1135
- name: "Moonscan",
1136
- url: "https://moonscan.io"
1137
- },
1138
- etherscan: {
1139
- name: "Moonscan",
1140
- url: "https://moonscan.io"
1141
- }
1142
- },
1143
- contracts: {
1144
- multicall3: {
1145
- address: "0xcA11bde05977b3631167028862bE2a173976CA11",
1146
- blockCreated: 609002
1147
- }
1148
- },
1149
- testnet: false
1150
- };
1151
- var moonriver = {
1152
- id: 1285,
1153
- name: "Moonriver",
1154
- network: "moonriver",
1155
- nativeCurrency: {
1156
- decimals: 18,
1157
- name: "MOVR",
1158
- symbol: "MOVR"
1159
- },
1160
- rpcUrls: {
1161
- public: {
1162
- http: ["https://moonriver.public.blastapi.io"],
1163
- webSocket: ["wss://moonriver.public.blastapi.io"]
1164
- },
1165
- default: {
1166
- http: ["https://moonriver.public.blastapi.io"],
1167
- webSocket: ["wss://moonriver.public.blastapi.io"]
1168
- }
1169
- },
1170
- blockExplorers: {
1171
- default: {
1172
- name: "Moonscan",
1173
- url: "https://moonriver.moonscan.io"
1174
- },
1175
- etherscan: {
1176
- name: "Moonscan",
1177
- url: "https://moonriver.moonscan.io"
1178
- }
1179
- },
1180
- contracts: {
1181
- multicall3: {
1182
- address: "0xcA11bde05977b3631167028862bE2a173976CA11",
1183
- blockCreated: 1597904
1184
- }
1185
- },
1186
- testnet: false
1187
- };
1188
- var nexi = {
1189
- id: 4242,
1190
- name: "Nexi",
1191
- network: "nexi",
1192
- nativeCurrency: { name: "Nexi", symbol: "NEXI", decimals: 18 },
1193
- rpcUrls: {
1194
- default: {
1195
- http: ["https://rpc.chain.nexi.technology"]
1196
- },
1197
- public: {
1198
- http: ["https://rpc.chain.nexi.technology"]
1199
- }
1200
- },
1201
- blockExplorers: {
1202
- etherscan: {
1203
- name: "NexiScan",
1204
- url: "https://www.nexiscan.com"
1205
- },
1206
- default: {
1207
- name: "NexiScan",
1208
- url: "https://www.nexiscan.com"
1209
- }
1210
- },
1211
- contracts: {
1212
- multicall3: {
1213
- address: "0x0277A46Cc69A57eE3A6C8c158bA874832F718B8E",
1214
- blockCreated: 25770160
1215
- }
1216
- }
1217
- };
1218
- var okc = {
1219
- id: 66,
1220
- name: "OKC",
1221
- network: "okc",
1222
- nativeCurrency: {
1223
- decimals: 18,
1224
- name: "OKT",
1225
- symbol: "OKT"
1226
- },
1227
- rpcUrls: {
1228
- default: { http: ["https://exchainrpc.okex.org"] },
1229
- public: { http: ["https://exchainrpc.okex.org"] }
1230
- },
1231
- blockExplorers: {
1232
- default: { name: "oklink", url: "https://www.oklink.com/okc" }
1233
- },
1234
- contracts: {
1235
- multicall3: {
1236
- address: "0xca11bde05977b3631167028862be2a173976ca11",
1237
- blockCreated: 10364792
1238
- }
1239
- }
1240
- };
1241
- var optimism = {
1242
- id: 10,
1243
- name: "Optimism",
1244
- network: "optimism",
1245
- nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
1246
- rpcUrls: {
1247
- alchemy: {
1248
- http: ["https://opt-mainnet.g.alchemy.com/v2"],
1249
- webSocket: ["wss://opt-mainnet.g.alchemy.com/v2"]
1250
- },
1251
- infura: {
1252
- http: ["https://optimism-mainnet.infura.io/v3"],
1253
- webSocket: ["wss://optimism-mainnet.infura.io/ws/v3"]
1254
- },
1255
- default: {
1256
- http: ["https://mainnet.optimism.io"]
1257
- },
1258
- public: {
1259
- http: ["https://mainnet.optimism.io"]
1260
- }
1261
- },
1262
- blockExplorers: {
1263
- etherscan: {
1264
- name: "Etherscan",
1265
- url: "https://optimistic.etherscan.io"
1266
- },
1267
- default: {
1268
- name: "Optimism Explorer",
1269
- url: "https://explorer.optimism.io"
1270
- }
1271
- },
1272
- contracts: {
1273
- multicall3: {
1274
- address: "0xca11bde05977b3631167028862be2a173976ca11",
1275
- blockCreated: 4286263
1276
- }
1277
- }
1278
- };
1279
- var optimismGoerli = {
1280
- id: 420,
1281
- name: "Optimism Goerli",
1282
- network: "optimism-goerli",
1283
- nativeCurrency: { name: "Goerli Ether", symbol: "ETH", decimals: 18 },
1284
- rpcUrls: {
1285
- alchemy: {
1286
- http: ["https://opt-goerli.g.alchemy.com/v2"],
1287
- webSocket: ["wss://opt-goerli.g.alchemy.com/v2"]
1288
- },
1289
- infura: {
1290
- http: ["https://optimism-goerli.infura.io/v3"],
1291
- webSocket: ["wss://optimism-goerli.infura.io/ws/v3"]
1292
- },
1293
- default: {
1294
- http: ["https://goerli.optimism.io"]
1295
- },
1296
- public: {
1297
- http: ["https://goerli.optimism.io"]
1298
- }
1299
- },
1300
- blockExplorers: {
1301
- etherscan: {
1302
- name: "Etherscan",
1303
- url: "https://goerli-optimism.etherscan.io"
1304
- },
1305
- default: {
1306
- name: "Etherscan",
1307
- url: "https://goerli-optimism.etherscan.io"
1308
- }
1309
- },
1310
- contracts: {
1311
- multicall3: {
1312
- address: "0xca11bde05977b3631167028862be2a173976ca11",
1313
- blockCreated: 49461
1314
- }
1315
- },
1316
- testnet: true
1317
- };
1318
- var polygon = {
1319
- id: 137,
1320
- name: "Polygon",
1321
- network: "matic",
1322
- nativeCurrency: { name: "MATIC", symbol: "MATIC", decimals: 18 },
1323
- rpcUrls: {
1324
- alchemy: {
1325
- http: ["https://polygon-mainnet.g.alchemy.com/v2"],
1326
- webSocket: ["wss://polygon-mainnet.g.alchemy.com/v2"]
1327
- },
1328
- infura: {
1329
- http: ["https://polygon-mainnet.infura.io/v3"],
1330
- webSocket: ["wss://polygon-mainnet.infura.io/ws/v3"]
1331
- },
1332
- default: {
1333
- http: ["https://polygon-rpc.com"]
1334
- },
1335
- public: {
1336
- http: ["https://polygon-rpc.com"]
1337
- }
1338
- },
1339
- blockExplorers: {
1340
- etherscan: {
1341
- name: "PolygonScan",
1342
- url: "https://polygonscan.com"
1343
- },
1344
- default: {
1345
- name: "PolygonScan",
1346
- url: "https://polygonscan.com"
1347
- }
1348
- },
1349
- contracts: {
1350
- multicall3: {
1351
- address: "0xca11bde05977b3631167028862be2a173976ca11",
1352
- blockCreated: 25770160
1353
- }
1354
- }
1355
- };
1356
- var polygonMumbai = {
1357
- id: 80001,
1358
- name: "Polygon Mumbai",
1359
- network: "maticmum",
1360
- nativeCurrency: { name: "MATIC", symbol: "MATIC", decimals: 18 },
1361
- rpcUrls: {
1362
- alchemy: {
1363
- http: ["https://polygon-mumbai.g.alchemy.com/v2"],
1364
- webSocket: ["wss://polygon-mumbai.g.alchemy.com/v2"]
1365
- },
1366
- infura: {
1367
- http: ["https://polygon-mumbai.infura.io/v3"],
1368
- webSocket: ["wss://polygon-mumbai.infura.io/ws/v3"]
1369
- },
1370
- default: {
1371
- http: ["https://matic-mumbai.chainstacklabs.com"]
1372
- },
1373
- public: {
1374
- http: ["https://matic-mumbai.chainstacklabs.com"]
1375
- }
1376
- },
1377
- blockExplorers: {
1378
- etherscan: {
1379
- name: "PolygonScan",
1380
- url: "https://mumbai.polygonscan.com"
1381
- },
1382
- default: {
1383
- name: "PolygonScan",
1384
- url: "https://mumbai.polygonscan.com"
1385
- }
1386
- },
1387
- contracts: {
1388
- multicall3: {
1389
- address: "0xca11bde05977b3631167028862be2a173976ca11",
1390
- blockCreated: 25770160
1391
- }
1392
- },
1393
- testnet: true
1394
- };
1395
- var polygonZkEvmTestnet = {
1396
- id: 1442,
1397
- name: "Polygon zkEVM Testnet",
1398
- network: "polygon-zkevm-testnet",
1399
- nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
1400
- rpcUrls: {
1401
- default: {
1402
- http: ["https://rpc.public.zkevm-test.net"]
1403
- },
1404
- public: {
1405
- http: ["https://rpc.public.zkevm-test.net"]
1406
- }
1407
- },
1408
- blockExplorers: {
1409
- default: {
1410
- name: "Blockscout",
1411
- url: "https://explorer.public.zkevm-test.net"
1412
- }
1413
- },
1414
- testnet: true
1415
- };
1416
- var polygonZkEvm = {
1417
- id: 1101,
1418
- name: "Polygon zkEVM",
1419
- network: "polygon-zkevm",
1420
- nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
1421
- rpcUrls: {
1422
- default: {
1423
- http: ["https://zkevm-rpc.com"]
1424
- },
1425
- public: {
1426
- http: ["https://zkevm-rpc.com"]
1427
- }
1428
- },
1429
- blockExplorers: {
1430
- default: {
1431
- name: "PolygonScan",
1432
- url: "https://zkevm.polygonscan.com"
1433
- }
1434
- }
1435
- };
1436
- var scrollTestnet = {
1437
- id: 534353,
1438
- name: "Scroll Testnet",
1439
- network: "scroll-testnet",
1440
- nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
1441
- rpcUrls: {
1442
- default: {
1443
- http: ["https://alpha-rpc.scroll.io/l2"],
1444
- webSocket: ["wss://alpha-rpc.scroll.io/l2/ws"]
1445
- },
1446
- public: {
1447
- http: ["https://alpha-rpc.scroll.io/l2"],
1448
- webSocket: ["wss://alpha-rpc.scroll.io/l2/ws"]
1449
- }
1450
- },
1451
- blockExplorers: {
1452
- default: {
1453
- name: "Blockscout",
1454
- url: "https://blockscout.scroll.io"
1455
- }
1456
- },
1457
- testnet: true
1458
- };
1459
- var sepolia = {
1460
- id: 11155111,
1461
- network: "sepolia",
1462
- name: "Sepolia",
1463
- nativeCurrency: { name: "Sepolia Ether", symbol: "SEP", decimals: 18 },
1464
- rpcUrls: {
1465
- infura: {
1466
- http: ["https://sepolia.infura.io/v3"],
1467
- webSocket: ["wss://sepolia.infura.io/ws/v3"]
1468
- },
1469
- default: {
1470
- http: ["https://rpc.sepolia.org"]
1471
- },
1472
- public: {
1473
- http: ["https://rpc.sepolia.org"]
1474
- }
1475
- },
1476
- blockExplorers: {
1477
- etherscan: {
1478
- name: "Etherscan",
1479
- url: "https://sepolia.etherscan.io"
1480
- },
1481
- default: {
1482
- name: "Etherscan",
1483
- url: "https://sepolia.etherscan.io"
1484
- }
1485
- },
1486
- contracts: {
1487
- multicall3: {
1488
- address: "0xca11bde05977b3631167028862be2a173976ca11",
1489
- blockCreated: 6507670
1490
- }
1491
- },
1492
- testnet: true
1493
- };
1494
- var skaleBlockBrawlers = {
1495
- id: 391845894,
1496
- name: "SKALE | Block Brawlers",
1497
- network: "skale-brawl",
1498
- nativeCurrency: { name: "BRAWL", symbol: "BRAWL", decimals: 18 },
1499
- rpcUrls: {
1500
- default: {
1501
- http: ["https://mainnet.skalenodes.com/v1/frayed-decent-antares"]
1502
- },
1503
- public: {
1504
- http: ["https://mainnet.skalenodes.com/v1/frayed-decent-antares"]
1505
- }
1506
- },
1507
- blockExplorers: {
1508
- etherscan: {
1509
- name: "SKALE Explorer",
1510
- url: "https://frayed-decent-antares.explorer.mainnet.skalenodes.com"
1511
- },
1512
- default: {
1513
- name: "SKALE Explorer",
1514
- url: "https://frayed-decent-antares.explorer.mainnet.skalenodes.com"
1515
- }
1516
- },
1517
- contracts: {}
1518
- };
1519
- var skaleCalypso = {
1520
- id: 1564830818,
1521
- name: "SKALE | Calypso NFT Hub",
1522
- network: "skale-calypso",
1523
- nativeCurrency: { name: "sFUEL", symbol: "sFUEL", decimals: 18 },
1524
- rpcUrls: {
1525
- default: {
1526
- http: ["https://mainnet.skalenodes.com/v1/honorable-steel-rasalhague"]
1527
- },
1528
- public: {
1529
- http: ["https://mainnet.skalenodes.com/v1/honorable-steel-rasalhague"]
1530
- }
1531
- },
1532
- blockExplorers: {
1533
- etherscan: {
1534
- name: "SKALE Explorer",
1535
- url: "https://honorable-steel-rasalhague.explorer.mainnet.skalenodes.com"
1536
- },
1537
- default: {
1538
- name: "SKALE Explorer",
1539
- url: "https://honorable-steel-rasalhague.explorer.mainnet.skalenodes.com"
1540
- }
1541
- },
1542
- contracts: {}
1543
- };
1544
- var skaleCalypsoTestnet = {
1545
- id: 344106930,
1546
- name: "SKALE | Calypso NFT Hub Testnet",
1547
- network: "skale-calypso-testnet",
1548
- nativeCurrency: { name: "sFUEL", symbol: "sFUEL", decimals: 18 },
1549
- rpcUrls: {
1550
- default: {
1551
- http: [
1552
- "https://staging-v3.skalenodes.com/v1/staging-utter-unripe-menkar"
1553
- ]
1554
- },
1555
- public: {
1556
- http: [
1557
- "https://staging-v3.skalenodes.com/v1/staging-utter-unripe-menkar"
1558
- ]
1559
- }
1560
- },
1561
- blockExplorers: {
1562
- etherscan: {
1563
- name: "SKALE Explorer",
1564
- url: "https://staging-utter-unripe-menkar.explorer.staging-v3.skalenodes.com"
1565
- },
1566
- default: {
1567
- name: "SKALE Explorer",
1568
- url: "https://staging-utter-unripe-menkar.explorer.staging-v3.skalenodes.com"
1569
- }
1570
- },
1571
- contracts: {},
1572
- testnet: true
1573
- };
1574
- var skaleChaosTestnet = {
1575
- id: 1351057110,
1576
- name: "SKALE | Chaos Testnet",
1577
- network: "skale-chaos-testnet",
1578
- nativeCurrency: { name: "sFUEL", symbol: "sFUEL", decimals: 18 },
1579
- rpcUrls: {
1580
- default: {
1581
- http: [
1582
- "https://staging-v3.skalenodes.com/v1/staging-fast-active-bellatrix"
1583
- ]
1584
- },
1585
- public: {
1586
- http: [
1587
- "https://staging-v3.skalenodes.com/v1/staging-fast-active-bellatrix"
1588
- ]
1589
- }
1590
- },
1591
- blockExplorers: {
1592
- etherscan: {
1593
- name: "SKALE Explorer",
1594
- url: "https://staging-fast-active-bellatrix.explorer.staging-v3.skalenodes.com"
1595
- },
1596
- default: {
1597
- name: "SKALE Explorer",
1598
- url: "https://staging-fast-active-bellatrix.explorer.staging-v3.skalenodes.com"
1599
- }
1600
- },
1601
- contracts: {},
1602
- testnet: true
1603
- };
1604
- var skaleCryptoBlades = {
1605
- id: 1026062157,
1606
- name: "SKALE | CryptoBlades",
1607
- network: "skale-cryptoblades",
1608
- nativeCurrency: { name: "sFUEL", symbol: "sFUEL", decimals: 18 },
1609
- rpcUrls: {
1610
- default: {
1611
- http: ["https://mainnet.skalenodes.com/v1/affectionate-immediate-pollux"]
1612
- },
1613
- public: {
1614
- http: ["https://mainnet.skalenodes.com/v1/affectionate-immediate-pollux"]
1615
- }
1616
- },
1617
- blockExplorers: {
1618
- etherscan: {
1619
- name: "SKALE Explorer",
1620
- url: "https://affectionate-immediate-pollux.explorer.mainnet.skalenodes.com"
1621
- },
1622
- default: {
1623
- name: "SKALE Explorer",
1624
- url: "https://affectionate-immediate-pollux.explorer.mainnet.skalenodes.com"
1625
- }
1626
- },
1627
- contracts: {}
1628
- };
1629
- var skaleCryptoColosseum = {
1630
- id: 2046399126,
1631
- name: "SKALE | Crypto Colosseum",
1632
- network: "skale-crypto-coloseeum",
1633
- nativeCurrency: { name: "sFUEL", symbol: "sFUEL", decimals: 18 },
1634
- rpcUrls: {
1635
- default: {
1636
- http: ["https://mainnet.skalenodes.com/v1/haunting-devoted-deneb"]
1637
- },
1638
- public: {
1639
- http: ["https://mainnet.skalenodes.com/v1/haunting-devoted-deneb"]
1640
- }
1641
- },
1642
- blockExplorers: {
1643
- etherscan: {
1644
- name: "SKALE Explorer",
1645
- url: "https://haunting-devoted-deneb.explorer.mainnet.skalenodes.com"
1646
- },
1647
- default: {
1648
- name: "SKALE Explorer",
1649
- url: "https://haunting-devoted-deneb.explorer.mainnet.skalenodes.com"
1650
- }
1651
- },
1652
- contracts: {}
1653
- };
1654
- var skaleEuropa = {
1655
- id: 2046399126,
1656
- name: "SKALE | Europa Liquidity Hub",
1657
- network: "skale-europa",
1658
- nativeCurrency: { name: "sFUEL", symbol: "sFUEL", decimals: 18 },
1659
- rpcUrls: {
1660
- default: {
1661
- http: ["https://mainnet.skalenodes.com/v1/elated-tan-skat"]
1662
- },
1663
- public: {
1664
- http: ["https://mainnet.skalenodes.com/v1/elated-tan-skat"]
1665
- }
1666
- },
1667
- blockExplorers: {
1668
- etherscan: {
1669
- name: "SKALE Explorer",
1670
- url: "https://elated-tan-skat.explorer.mainnet.skalenodes.com"
1671
- },
1672
- default: {
1673
- name: "SKALE Explorer",
1674
- url: "https://elated-tan-skat.explorer.mainnet.skalenodes.com"
1675
- }
1676
- },
1677
- contracts: {}
1678
- };
1679
- var skaleEuropaTestnet = {
1680
- id: 476158412,
1681
- name: "SKALE | Europa Liquidity Hub Testnet",
1682
- network: "skale-europa-testnet",
1683
- nativeCurrency: { name: "sFUEL", symbol: "sFUEL", decimals: 18 },
1684
- rpcUrls: {
1685
- default: {
1686
- http: ["https://staging-v3.skalenodes.com/v1/staging-legal-crazy-castor"]
1687
- },
1688
- public: {
1689
- http: ["https://staging-v3.skalenodes.com/v1/staging-legal-crazy-castor"]
1690
- }
1691
- },
1692
- blockExplorers: {
1693
- etherscan: {
1694
- name: "SKALE Explorer",
1695
- url: "https://staging-legal-crazy-castor.explorer.staging-v3.skalenodes.com"
1696
- },
1697
- default: {
1698
- name: "SKALE Explorer",
1699
- url: "https://staging-legal-crazy-castor.explorer.staging-v3.skalenodes.com"
1700
- }
1701
- },
1702
- contracts: {},
1703
- testnet: true
1704
- };
1705
- var skaleExorde = {
1706
- id: 2139927552,
1707
- name: "SKALE | Exorde",
1708
- network: "skale-exorde",
1709
- nativeCurrency: { name: "sFUEL", symbol: "sFUEL", decimals: 18 },
1710
- rpcUrls: {
1711
- default: {
1712
- http: ["https://mainnet.skalenodes.com/v1/light-vast-diphda"]
1713
- },
1714
- public: {
1715
- http: ["https://mainnet.skalenodes.com/v1/light-vast-diphda"]
1716
- }
1717
- },
1718
- blockExplorers: {
1719
- etherscan: {
1720
- name: "SKALE Explorer",
1721
- url: "https://light-vast-diphda.explorer.mainnet.skalenodes.com"
1722
- },
1723
- default: {
1724
- name: "SKALE Explorer",
1725
- url: "https://light-vast-diphda.explorer.mainnet.skalenodes.com"
1726
- }
1727
- },
1728
- contracts: {}
1729
- };
1730
- var skaleHumanProtocol = {
1731
- id: 1273227453,
1732
- name: "SKALE | Human Protocol",
1733
- network: "skale-human-protocol",
1734
- nativeCurrency: { name: "sFUEL", symbol: "sFUEL", decimals: 18 },
1735
- rpcUrls: {
1736
- default: {
1737
- http: ["https://mainnet.skalenodes.com/v1/wan-red-ain"]
1738
- },
1739
- public: {
1740
- http: ["https://mainnet.skalenodes.com/v1/wan-red-ain"]
1741
- }
1742
- },
1743
- blockExplorers: {
1744
- etherscan: {
1745
- name: "SKALE Explorer",
1746
- url: "https://wan-red-ain.explorer.mainnet.skalenodes.com"
1747
- },
1748
- default: {
1749
- name: "SKALE Explorer",
1750
- url: "https://wan-red-ain.explorer.mainnet.skalenodes.com"
1751
- }
1752
- },
1753
- contracts: {}
1754
- };
1755
- var skaleNebula = {
1756
- id: 1482601649,
1757
- name: "SKALE | Nebula Gaming Hub",
1758
- network: "skale-nebula",
1759
- nativeCurrency: { name: "sFUEL", symbol: "sFUEL", decimals: 18 },
1760
- rpcUrls: {
1761
- default: {
1762
- http: ["https://mainnet.skalenodes.com/v1/green-giddy-denebola"]
1763
- },
1764
- public: {
1765
- http: ["https://mainnet.skalenodes.com/v1/green-giddy-denebola"]
1766
- }
1767
- },
1768
- blockExplorers: {
1769
- etherscan: {
1770
- name: "SKALE Explorer",
1771
- url: "https://green-giddy-denebola.explorer.mainnet.skalenodes.com"
1772
- },
1773
- default: {
1774
- name: "SKALE Explorer",
1775
- url: "https://green-giddy-denebola.explorer.mainnet.skalenodes.com"
1776
- }
1777
- },
1778
- contracts: {}
1779
- };
1780
- var skaleNebulaTestnet = {
1781
- id: 503129905,
1782
- name: "SKALE | Nebula Gaming Hub Testnet",
1783
- network: "skale-nebula-testnet",
1784
- nativeCurrency: { name: "sFUEL", symbol: "sFUEL", decimals: 18 },
1785
- rpcUrls: {
1786
- default: {
1787
- http: ["https://staging-v3.skalenodes.com/v1/staging-faint-slimy-achird"]
1788
- },
1789
- public: {
1790
- http: ["https://staging-v3.skalenodes.com/v1/staging-faint-slimy-achird"]
1791
- }
1792
- },
1793
- blockExplorers: {
1794
- etherscan: {
1795
- name: "SKALE Explorer",
1796
- url: "https://staging-faint-slimy-achird.explorer.staging-v3.skalenodes.com"
1797
- },
1798
- default: {
1799
- name: "SKALE Explorer",
1800
- url: "https://staging-faint-slimy-achird.explorer.staging-v3.skalenodes.com"
1801
- }
1802
- },
1803
- contracts: {},
1804
- testnet: true
1805
- };
1806
- var skaleRazor = {
1807
- id: 278611351,
1808
- name: "SKALE | Razor Network",
1809
- network: "skale-razor",
1810
- nativeCurrency: { name: "sFUEL", symbol: "sFUEL", decimals: 18 },
1811
- rpcUrls: {
1812
- default: {
1813
- http: ["https://mainnet.skalenodes.com/v1/turbulent-unique-scheat"]
1814
- },
1815
- public: {
1816
- http: ["https://mainnet.skalenodes.com/v1/turbulent-unique-scheat"]
1817
- }
1818
- },
1819
- blockExplorers: {
1820
- etherscan: {
1821
- name: "SKALE Explorer",
1822
- url: "https://turbulent-unique-scheat.explorer.mainnet.skalenodes.com"
1823
- },
1824
- default: {
1825
- name: "SKALE Explorer",
1826
- url: "https://turbulent-unique-scheat.explorer.mainnet.skalenodes.com"
1827
- }
1828
- },
1829
- contracts: {}
1830
- };
1831
- var skaleTitan = {
1832
- id: 1350216234,
1833
- name: "SKALE | Titan Community Hub",
1834
- network: "skale-titan",
1835
- nativeCurrency: { name: "sFUEL", symbol: "sFUEL", decimals: 18 },
1836
- rpcUrls: {
1837
- default: {
1838
- http: ["https://mainnet.skalenodes.com/v1/parallel-stormy-spica"]
1839
- },
1840
- public: {
1841
- http: ["https://mainnet.skalenodes.com/v1/parallel-stormy-spica"]
1842
- }
1843
- },
1844
- blockExplorers: {
1845
- etherscan: {
1846
- name: "SKALE Explorer",
1847
- url: "https://parallel-stormy-spica.explorer.mainnet.skalenodes.com"
1848
- },
1849
- default: {
1850
- name: "SKALE Explorer",
1851
- url: "https://parallel-stormy-spica.explorer.mainnet.skalenodes.com"
1852
- }
1853
- },
1854
- contracts: {}
1855
- };
1856
- var skaleTitanTestnet = {
1857
- id: 1517929550,
1858
- name: "SKALE | Titan Community Hub Testnet",
1859
- network: "skale-titan-testnet",
1860
- nativeCurrency: { name: "sFUEL", symbol: "sFUEL", decimals: 18 },
1861
- rpcUrls: {
1862
- default: {
1863
- http: [
1864
- "https://staging-v3.skalenodes.com/v1/staging-aware-chief-gianfar"
1865
- ]
1866
- },
1867
- public: {
1868
- http: [
1869
- "https://staging-v3.skalenodes.com/v1/staging-aware-chief-gianfar"
1870
- ]
1871
- }
1872
- },
1873
- blockExplorers: {
1874
- etherscan: {
1875
- name: "SKALE Explorer",
1876
- url: "https://staging-aware-chief-gianfar.explorer.staging-v3.skalenodes.com"
1877
- },
1878
- default: {
1879
- name: "SKALE Explorer",
1880
- url: "https://staging-aware-chief-gianfar.explorer.staging-v3.skalenodes.com"
1881
- }
1882
- },
1883
- contracts: {},
1884
- testnet: true
1885
- };
1886
- var songbird = {
1887
- id: 19,
1888
- name: "Songbird Mainnet",
1889
- network: "songbird-mainnet",
1890
- nativeCurrency: {
1891
- decimals: 18,
1892
- name: "songbird",
1893
- symbol: "SGB"
1894
- },
1895
- rpcUrls: {
1896
- default: { http: ["https://songbird-api.flare.network/ext/C/rpc"] },
1897
- public: { http: ["https://songbird-api.flare.network/ext/C/rpc"] }
1898
- },
1899
- blockExplorers: {
1900
- default: {
1901
- name: "Songbird Explorer",
1902
- url: "https://songbird-explorer.flare.network"
1903
- }
1904
- }
1905
- };
1906
- var songbirdTestnet = {
1907
- id: 16,
1908
- name: "Coston",
1909
- network: "coston",
1910
- nativeCurrency: {
1911
- decimals: 18,
1912
- name: "costonflare",
1913
- symbol: "CFLR"
1914
- },
1915
- rpcUrls: {
1916
- default: { http: ["https://coston-api.flare.network/ext/C/rpc"] },
1917
- public: { http: ["https://coston-api.flare.network/ext/C/rpc"] }
1918
- },
1919
- blockExplorers: {
1920
- default: {
1921
- name: "Coston Explorer",
1922
- url: "https://coston-explorer.flare.network"
1923
- }
1924
- },
1925
- testnet: true
1926
- };
1927
- var shardeumSphinx = {
1928
- id: 8082,
1929
- name: "Shardeum Sphinx",
1930
- network: "shmSphinx",
1931
- nativeCurrency: { name: "SHARDEUM", symbol: "SHM", decimals: 18 },
1932
- rpcUrls: {
1933
- default: {
1934
- http: ["https://sphinx.shardeum.org"]
1935
- },
1936
- public: {
1937
- http: ["https://sphinx.shardeum.org"]
1938
- }
1939
- },
1940
- blockExplorers: {
1941
- default: {
1942
- name: "Shardeum Explorer",
1943
- url: "https://explorer-sphinx.shardeum.org"
1944
- }
1945
- },
1946
- testnet: true
1947
- };
1948
- var taraxa = {
1949
- id: 841,
1950
- name: "Taraxa Mainnet",
1951
- network: "taraxa",
1952
- nativeCurrency: { name: "Tara", symbol: "TARA", decimals: 18 },
1953
- rpcUrls: {
1954
- default: {
1955
- http: ["https://rpc.mainnet.taraxa.io"]
1956
- },
1957
- public: {
1958
- http: ["https://rpc.mainnet.taraxa.io"]
1959
- }
1960
- },
1961
- blockExplorers: {
1962
- default: {
1963
- name: "Taraxa Explorer",
1964
- url: "https://explorer.mainnet.taraxa.io"
1965
- }
1966
- }
1967
- };
1968
- var taraxaTestnet = {
1969
- id: 842,
1970
- name: "Taraxa Testnet",
1971
- network: "taraxa-testnet",
1972
- nativeCurrency: { name: "Tara", symbol: "TARA", decimals: 18 },
1973
- rpcUrls: {
1974
- default: {
1975
- http: ["https://rpc.testnet.taraxa.io"]
1976
- },
1977
- public: {
1978
- http: ["https://rpc.testnet.taraxa.io"]
1979
- }
1980
- },
1981
- blockExplorers: {
1982
- default: {
1983
- name: "Taraxa Explorer",
1984
- url: "https://explorer.testnet.taraxa.io"
1985
- }
1986
- },
1987
- testnet: true
1988
- };
1989
- var telos = {
1990
- id: 40,
1991
- name: "Telos",
1992
- network: "telos",
1993
- nativeCurrency: {
1994
- decimals: 18,
1995
- name: "Telos",
1996
- symbol: "TLOS"
1997
- },
1998
- rpcUrls: {
1999
- default: { http: ["https://mainnet.telos.net/evm"] },
2000
- public: { http: ["https://mainnet.telos.net/evm"] }
2001
- },
2002
- blockExplorers: {
2003
- default: {
2004
- name: "Teloscan",
2005
- url: "https://www.teloscan.io/"
2006
- }
2007
- },
2008
- contracts: {
2009
- multicall3: {
2010
- address: "0xcA11bde05977b3631167028862bE2a173976CA11",
2011
- blockCreated: 246530709
2012
- }
2013
- }
2014
- };
2015
- var telosTestnet = {
2016
- id: 41,
2017
- name: "Telos",
2018
- network: "telosTestnet",
2019
- nativeCurrency: {
2020
- decimals: 18,
2021
- name: "Telos",
2022
- symbol: "TLOS"
2023
- },
2024
- rpcUrls: {
2025
- default: { http: ["https://testnet.telos.net/evm"] },
2026
- public: { http: ["https://testnet.telos.net/evm"] }
2027
- },
2028
- blockExplorers: {
2029
- default: {
2030
- name: "Teloscan (testnet)",
2031
- url: "https://testnet.teloscan.io/"
2032
- }
2033
- },
2034
- testnet: true
2035
- };
2036
- var wanchain = {
2037
- id: 888,
2038
- name: "Wanchain",
2039
- network: "wanchain",
2040
- nativeCurrency: { name: "WANCHAIN", symbol: "WAN", decimals: 18 },
2041
- rpcUrls: {
2042
- default: {
2043
- http: [
2044
- "https://gwan-ssl.wandevs.org:56891",
2045
- "https://gwan2-ssl.wandevs.org"
2046
- ]
2047
- },
2048
- public: {
2049
- http: [
2050
- "https://gwan-ssl.wandevs.org:56891",
2051
- "https://gwan2-ssl.wandevs.org"
2052
- ]
2053
- }
2054
- },
2055
- blockExplorers: {
2056
- etherscan: {
2057
- name: "WanScan",
2058
- url: "https://wanscan.org"
2059
- },
2060
- default: {
2061
- name: "WanScan",
2062
- url: "https://wanscan.org"
2063
- }
2064
- },
2065
- contracts: {
2066
- multicall3: {
2067
- address: "0xcDF6A1566e78EB4594c86Fe73Fcdc82429e97fbB",
2068
- blockCreated: 25312390
2069
- }
2070
- }
2071
- };
2072
- var wanchainTestnet = {
2073
- id: 999,
2074
- name: "Wanchain Testnet",
2075
- network: "wanchainTestnet",
2076
- nativeCurrency: { name: "WANCHAIN", symbol: "WANt", decimals: 18 },
2077
- rpcUrls: {
2078
- default: {
2079
- http: ["https://gwan-ssl.wandevs.org:46891"]
2080
- },
2081
- public: {
2082
- http: ["https://gwan-ssl.wandevs.org:46891"]
2083
- }
2084
- },
2085
- blockExplorers: {
2086
- etherscan: {
2087
- name: "WanScanTest",
2088
- url: "https://wanscan.org"
2089
- },
2090
- default: {
2091
- name: "WanScanTest",
2092
- url: "https://wanscan.org"
2093
- }
2094
- },
2095
- contracts: {
2096
- multicall3: {
2097
- address: "0x11c89bF4496c39FB80535Ffb4c92715839CC5324",
2098
- blockCreated: 24743448
2099
- }
2100
- },
2101
- testnet: true
2102
- };
2103
- var xdc = {
2104
- id: 50,
2105
- name: "XinFin Network",
2106
- network: "xdc",
2107
- nativeCurrency: {
2108
- decimals: 18,
2109
- name: "XDC",
2110
- symbol: "XDC"
2111
- },
2112
- rpcUrls: {
2113
- default: { http: ["https://rpc.xinfin.network"] },
2114
- public: { http: ["https://rpc.xinfin.network"] }
2115
- },
2116
- blockExplorers: {
2117
- xinfin: { name: "XinFin", url: "https://explorer.xinfin.network" },
2118
- default: { name: "Blocksscan", url: "https://xdc.blocksscan.io" }
2119
- }
2120
- };
2121
- var xdcTestnet = {
2122
- id: 51,
2123
- name: "Apothem Network",
2124
- network: "xdc-testnet",
2125
- nativeCurrency: {
2126
- decimals: 18,
2127
- name: "TXDC",
2128
- symbol: "TXDC"
2129
- },
2130
- rpcUrls: {
2131
- default: { http: ["https://erpc.apothem.network"] },
2132
- public: { http: ["https://erpc.apothem.network"] }
2133
- },
2134
- blockExplorers: {
2135
- xinfin: { name: "XinFin", url: "https://explorer.apothem.network" },
2136
- default: { name: "Blocksscan", url: "https://apothem.blocksscan.io" }
2137
- }
2138
- };
2139
- var zhejiang = {
2140
- id: 1337803,
2141
- network: "zhejiang",
2142
- name: "Zhejiang",
2143
- nativeCurrency: { name: "Zhejiang Ether", symbol: "ZhejETH", decimals: 18 },
2144
- rpcUrls: {
2145
- default: {
2146
- http: ["https://rpc.zhejiang.ethpandaops.io"]
2147
- },
2148
- public: {
2149
- http: ["https://rpc.zhejiang.ethpandaops.io"]
2150
- }
2151
- },
2152
- blockExplorers: {
2153
- beaconchain: {
2154
- name: "Etherscan",
2155
- url: "https://zhejiang.beaconcha.in"
2156
- },
2157
- blockscout: {
2158
- name: "Blockscout",
2159
- url: "https://blockscout.com/eth/zhejiang-testnet"
2160
- },
2161
- default: {
2162
- name: "Beaconchain",
2163
- url: "https://zhejiang.beaconcha.in"
2164
- }
2165
- },
2166
- testnet: true
2167
- };
2168
- var zkSync = {
2169
- id: 324,
2170
- name: "zkSync",
2171
- network: "zksync",
2172
- nativeCurrency: {
2173
- decimals: 18,
2174
- name: "Ether",
2175
- symbol: "ETH"
2176
- },
2177
- rpcUrls: {
2178
- default: {
2179
- http: ["https://zksync2-mainnet.zksync.io"],
2180
- webSocket: ["wss://zksync2-mainnet.zksync.io/ws"]
2181
- },
2182
- public: {
2183
- http: ["https://zksync2-mainnet.zksync.io"],
2184
- webSocket: ["wss://zksync2-mainnet.zksync.io/ws"]
2185
- }
2186
- },
2187
- blockExplorers: {
2188
- default: {
2189
- name: "zkExplorer",
2190
- url: "https://explorer.zksync.io"
2191
- }
2192
- }
2193
- };
2194
- var zkSyncTestnet = {
2195
- id: 280,
2196
- name: "zkSync Testnet",
2197
- network: "zksync-testnet",
2198
- nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
2199
- rpcUrls: {
2200
- default: {
2201
- http: ["https://zksync2-testnet.zksync.dev"],
2202
- webSocket: ["wss://zksync2-testnet.zksync.dev/ws"]
2203
- },
2204
- public: {
2205
- http: ["https://zksync2-testnet.zksync.dev"],
2206
- webSocket: ["wss://zksync2-testnet.zksync.dev/ws"]
2207
- }
2208
- },
2209
- blockExplorers: {
2210
- default: {
2211
- name: "zkExplorer",
2212
- url: "https://goerli.explorer.zksync.io"
2213
- }
2214
- },
2215
- testnet: true
2216
- };
2217
-
2218
- // src/chains.ts
2219
- var CHAINS_PAIRS = {
2220
- ethereum: [mainnet, goerli],
2221
- polygon: [polygon, polygonMumbai],
2222
- arbitrum: [arbitrum, arbitrumGoerli],
2223
- optimism: [optimism, optimismGoerli],
2224
- base: [void 0, baseGoerli],
2225
- localhost: [localhost, localhost]
2226
- };
2227
- var CHAIN_NAMES = Object.keys(CHAINS_PAIRS);
2228
- var chainForStage = (chainName, stage) => {
2229
- const chains = CHAINS_PAIRS[chainName];
2230
- if (!chains)
2231
- throw new Error("Unknown chain: " + chainName);
2232
- const [prod, test] = chains;
2233
- switch (stage) {
2234
- case "test":
2235
- return test;
2236
- case "prod":
2237
- return prod;
2238
- default:
2239
- throw new Error(
2240
- "Unknown deploy stage: " + stage + " (expected test|prod)"
2241
- );
2242
- }
2243
- };
2244
- function getChainById(chainId) {
2245
- const id = parseInt(chainId.toString());
2246
- return Object.values(chains_exports).find((chain) => (chain == null ? void 0 : chain.id) === id);
2247
- }
2248
-
2249
- // src/etherscan.ts
2250
- function etherscanAddressURL(address, chainId = 1) {
2251
- return etherscanHost(chainId) + "/address/" + address;
2252
- }
2253
- function etherscanTxURL(hash, chainId = 1) {
2254
- return etherscanHost(chainId) + "/tx/" + hash;
2255
- }
2256
- function etherscanHost(chainId = 1) {
2257
- switch (chainId) {
2258
- case 1:
2259
- case 1337:
2260
- return `https://etherscan.io`;
2261
- case 5:
2262
- return `https://goerli.etherscan.io`;
2263
- case 137:
2264
- return `https://polygonscan.com`;
2265
- case 80001:
2266
- return `https://mumbai.polygonscan.com`;
2267
- default:
2268
- throw new Error("Etherscan: Unknown chain id " + chainId);
2269
- }
2270
- }
2271
-
2272
- // src/formatting.ts
2273
- function truncateEthAddress(address) {
2274
- if (!address)
2275
- return null;
2276
- return address.slice(0, 6) + "\u2026" + address.slice(38, 42);
2277
- }
2278
- export {
2279
- CHAINS_PAIRS,
2280
- CHAIN_NAMES,
2281
- bipsToDecimal,
2282
- bipsToPercent,
2283
- chainForStage,
2284
- etherscanAddressURL,
2285
- etherscanHost,
2286
- etherscanTxURL,
2287
- getChainById,
2288
- percentToBips,
2289
- truncateEthAddress
2290
- };
2291
- //# sourceMappingURL=index.js.map
1
+ export * from "./lib/array";
2
+ export * from "./lib/cloudflare";
3
+ export * from "./lib/storage";
4
+ export * from "./lib/date";
5
+ export * from "./lib/object";
6
+ export * from "./lib/markdown";
7
+ export * from "./lib/string";
8
+ export * from "./lib/urls";
9
+ export * from "./lib/uuid";