@hybrd/utils 0.7.5 → 1.0.0

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