@ledgerhq/coin-evm 16.2.4 → 16.4.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.
Files changed (110) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/lib/adapters/blockscoutV2.d.ts +40 -0
  3. package/lib/adapters/blockscoutV2.d.ts.map +1 -0
  4. package/lib/adapters/blockscoutV2.js +177 -0
  5. package/lib/adapters/blockscoutV2.js.map +1 -0
  6. package/lib/adapters/index.d.ts +1 -0
  7. package/lib/adapters/index.d.ts.map +1 -1
  8. package/lib/adapters/index.js +1 -0
  9. package/lib/adapters/index.js.map +1 -1
  10. package/lib/chains.d.ts +1 -1
  11. package/lib/chains.js +1 -1
  12. package/lib/chains.js.map +1 -1
  13. package/lib/config.d.ts +1499 -0
  14. package/lib/config.d.ts.map +1 -1
  15. package/lib/config.js +968 -1
  16. package/lib/config.js.map +1 -1
  17. package/lib/logic/internalTransactionsFetcher.d.ts.map +1 -1
  18. package/lib/logic/internalTransactionsFetcher.js +13 -2
  19. package/lib/logic/internalTransactionsFetcher.js.map +1 -1
  20. package/lib/network/blockscoutV2.d.ts +35 -0
  21. package/lib/network/blockscoutV2.d.ts.map +1 -0
  22. package/lib/network/blockscoutV2.js +311 -0
  23. package/lib/network/blockscoutV2.js.map +1 -0
  24. package/lib/network/explorer/etherscan.d.ts.map +1 -1
  25. package/lib/network/explorer/etherscan.js +11 -28
  26. package/lib/network/explorer/etherscan.js.map +1 -1
  27. package/lib/network/explorer/index.d.ts.map +1 -1
  28. package/lib/network/explorer/index.js +5 -0
  29. package/lib/network/explorer/index.js.map +1 -1
  30. package/lib/network/explorer/types.d.ts +6 -0
  31. package/lib/network/explorer/types.d.ts.map +1 -1
  32. package/lib/network/explorer/types.js +8 -1
  33. package/lib/network/explorer/types.js.map +1 -1
  34. package/lib/network/rewards.d.ts +11 -0
  35. package/lib/network/rewards.d.ts.map +1 -0
  36. package/lib/network/rewards.js +32 -0
  37. package/lib/network/rewards.js.map +1 -0
  38. package/lib/types/blockscoutV2.d.ts +80 -0
  39. package/lib/types/blockscoutV2.d.ts.map +1 -0
  40. package/lib/types/blockscoutV2.js +5 -0
  41. package/lib/types/blockscoutV2.js.map +1 -0
  42. package/lib/types/index.d.ts +1 -0
  43. package/lib/types/index.d.ts.map +1 -1
  44. package/lib/types/index.js +1 -0
  45. package/lib/types/index.js.map +1 -1
  46. package/lib-es/adapters/blockscoutV2.d.ts +40 -0
  47. package/lib-es/adapters/blockscoutV2.d.ts.map +1 -0
  48. package/lib-es/adapters/blockscoutV2.js +168 -0
  49. package/lib-es/adapters/blockscoutV2.js.map +1 -0
  50. package/lib-es/adapters/index.d.ts +1 -0
  51. package/lib-es/adapters/index.d.ts.map +1 -1
  52. package/lib-es/adapters/index.js +1 -0
  53. package/lib-es/adapters/index.js.map +1 -1
  54. package/lib-es/chains.d.ts +1 -1
  55. package/lib-es/chains.js +1 -1
  56. package/lib-es/chains.js.map +1 -1
  57. package/lib-es/config.d.ts +1499 -0
  58. package/lib-es/config.d.ts.map +1 -1
  59. package/lib-es/config.js +967 -0
  60. package/lib-es/config.js.map +1 -1
  61. package/lib-es/logic/internalTransactionsFetcher.d.ts.map +1 -1
  62. package/lib-es/logic/internalTransactionsFetcher.js +14 -3
  63. package/lib-es/logic/internalTransactionsFetcher.js.map +1 -1
  64. package/lib-es/network/blockscoutV2.d.ts +35 -0
  65. package/lib-es/network/blockscoutV2.d.ts.map +1 -0
  66. package/lib-es/network/blockscoutV2.js +271 -0
  67. package/lib-es/network/blockscoutV2.js.map +1 -0
  68. package/lib-es/network/explorer/etherscan.d.ts.map +1 -1
  69. package/lib-es/network/explorer/etherscan.js +2 -19
  70. package/lib-es/network/explorer/etherscan.js.map +1 -1
  71. package/lib-es/network/explorer/index.d.ts.map +1 -1
  72. package/lib-es/network/explorer/index.js +5 -0
  73. package/lib-es/network/explorer/index.js.map +1 -1
  74. package/lib-es/network/explorer/types.d.ts +6 -0
  75. package/lib-es/network/explorer/types.d.ts.map +1 -1
  76. package/lib-es/network/explorer/types.js +6 -0
  77. package/lib-es/network/explorer/types.js.map +1 -1
  78. package/lib-es/network/rewards.d.ts +11 -0
  79. package/lib-es/network/rewards.d.ts.map +1 -0
  80. package/lib-es/network/rewards.js +29 -0
  81. package/lib-es/network/rewards.js.map +1 -0
  82. package/lib-es/types/blockscoutV2.d.ts +80 -0
  83. package/lib-es/types/blockscoutV2.d.ts.map +1 -0
  84. package/lib-es/types/blockscoutV2.js +4 -0
  85. package/lib-es/types/blockscoutV2.js.map +1 -0
  86. package/lib-es/types/index.d.ts +1 -0
  87. package/lib-es/types/index.d.ts.map +1 -1
  88. package/lib-es/types/index.js +1 -0
  89. package/lib-es/types/index.js.map +1 -1
  90. package/package.json +1 -1
  91. package/src/adapters/blockscoutV2.test.ts +296 -0
  92. package/src/adapters/blockscoutV2.ts +244 -0
  93. package/src/adapters/index.ts +1 -0
  94. package/src/api/tests/index.alpen_testnet.integ.test.ts +73 -0
  95. package/src/api/tests/index.integ.test.ts +4 -2
  96. package/src/api/tests/index.scroll.integ.test.ts +168 -0
  97. package/src/api/tests/index.shape.integ.test.ts +34 -0
  98. package/src/chains.ts +1 -1
  99. package/src/config.ts +993 -0
  100. package/src/logic/internalTransactionsFetcher.ts +20 -3
  101. package/src/logic/tests/internalTransactionsFetcher.test.ts +51 -0
  102. package/src/network/blockscoutV2.ts +460 -0
  103. package/src/network/explorer/etherscan.ts +2 -29
  104. package/src/network/explorer/index.ts +5 -0
  105. package/src/network/explorer/types.ts +9 -0
  106. package/src/network/rewards.ts +47 -0
  107. package/src/network/tests/blockscoutV2.test.ts +565 -0
  108. package/src/network/tests/explorer/index.test.ts +21 -0
  109. package/src/types/blockscoutV2.ts +85 -0
  110. package/src/types/index.ts +1 -0
package/lib-es/config.js CHANGED
@@ -6,4 +6,971 @@ export { DEFAULT_NODE_SOURCES, isNodeSource, nodeSourcesFromList } from './nodeS
6
6
  /** Fallbacks mirroring the `EXPLORER` / `EIP1559_BASE_FEE_MULTIPLIER` env defaults. */
7
7
  export const DEFAULT_LEDGER_EXPLORER_URI = 'https://explorers.api.live.ledger.com';
8
8
  export const DEFAULT_EIP1559_BASE_FEE_MULTIPLIER = 1.6;
9
+ export const evmDefaults = {
10
+ avalanche_c_chain: {
11
+ status: {
12
+ type: 'active',
13
+ features: [{ id: 'blockchain_txs', status: 'active' }],
14
+ },
15
+ chainId: 43114,
16
+ name: 'Avalanche C-Chain',
17
+ unit: { name: 'AVAX', code: 'AVAX', magnitude: 18 },
18
+ node: {
19
+ type: 'ledger',
20
+ explorerId: 'avax',
21
+ },
22
+ explorer: {
23
+ type: 'ledger',
24
+ explorerId: 'avax',
25
+ },
26
+ gasTracker: {
27
+ type: 'ledger',
28
+ explorerId: 'avax',
29
+ },
30
+ },
31
+ avalanche_c_chain_fuji: {
32
+ status: {
33
+ type: 'active',
34
+ features: [{ id: 'blockchain_txs', status: 'active' }],
35
+ },
36
+ chainId: 43113,
37
+ name: 'Avalanche C-Chain Fuji',
38
+ unit: { name: 'AVAX', code: 'AVAX', magnitude: 18 },
39
+ node: {
40
+ type: 'external',
41
+ uri: 'https://api.avax-test.network/ext/bc/C/rpc',
42
+ },
43
+ explorer: {
44
+ type: 'etherscan',
45
+ uri: 'https://proxyetherscan.api.live.ledger.com/v2/api/43113',
46
+ },
47
+ },
48
+ bitlayer: {
49
+ status: {
50
+ type: 'active',
51
+ features: [{ id: 'blockchain_txs', status: 'active' }],
52
+ },
53
+ chainId: 200901,
54
+ name: 'Bitlayer',
55
+ unit: { name: 'BTC', code: 'BTC', magnitude: 18 },
56
+ node: {
57
+ type: 'external',
58
+ uri: 'https://rpc.bitlayer.org',
59
+ },
60
+ explorer: {
61
+ type: 'none',
62
+ },
63
+ },
64
+ bsc: {
65
+ status: {
66
+ type: 'active',
67
+ features: [{ id: 'blockchain_txs', status: 'active' }],
68
+ },
69
+ chainId: 56,
70
+ name: 'BNB Smart Chain',
71
+ unit: { name: 'BNB', code: 'BNB', magnitude: 18 },
72
+ node: {
73
+ type: 'ledger',
74
+ explorerId: 'bnb',
75
+ },
76
+ explorer: {
77
+ type: 'ledger',
78
+ explorerId: 'bnb',
79
+ },
80
+ gasTracker: {
81
+ type: 'ledger',
82
+ explorerId: 'bnb',
83
+ },
84
+ },
85
+ ethereum: {
86
+ status: {
87
+ type: 'active',
88
+ features: [{ id: 'blockchain_txs', status: 'active' }],
89
+ },
90
+ chainId: 1,
91
+ name: 'Ethereum',
92
+ unit: { name: 'ether', code: 'ETH', magnitude: 18 },
93
+ gasTracker: {
94
+ type: 'ledger',
95
+ explorerId: 'eth',
96
+ },
97
+ node: {
98
+ type: 'ledger',
99
+ explorerId: 'eth',
100
+ },
101
+ explorer: {
102
+ type: 'ledger',
103
+ explorerId: 'eth',
104
+ },
105
+ },
106
+ sonic: {
107
+ status: { type: 'active' },
108
+ chainId: 146,
109
+ name: 'Sonic',
110
+ unit: { name: 'S', code: 'S', magnitude: 18 },
111
+ node: {
112
+ type: 'external',
113
+ uri: 'https://sonic.coin.ledger.com',
114
+ },
115
+ explorer: {
116
+ type: 'etherscan',
117
+ uri: 'https://proxyetherscan.api.live.ledger.com/v2/api/146',
118
+ },
119
+ },
120
+ ethereum_classic: {
121
+ status: {
122
+ type: 'active',
123
+ features: [{ id: 'blockchain_txs', status: 'active' }],
124
+ },
125
+ chainId: 61,
126
+ name: 'Ethereum Classic',
127
+ unit: { name: 'ETC', code: 'ETC', magnitude: 18 },
128
+ node: {
129
+ type: 'ledger',
130
+ explorerId: 'etc',
131
+ },
132
+ explorer: {
133
+ type: 'ledger',
134
+ explorerId: 'etc',
135
+ },
136
+ gasTracker: {
137
+ type: 'ledger',
138
+ explorerId: 'etc',
139
+ },
140
+ },
141
+ polygon: {
142
+ status: {
143
+ type: 'active',
144
+ features: [{ id: 'blockchain_txs', status: 'active' }],
145
+ },
146
+ chainId: 137,
147
+ name: 'Polygon',
148
+ unit: { name: 'POL', code: 'POL', magnitude: 18 },
149
+ node: {
150
+ type: 'ledger',
151
+ explorerId: 'matic',
152
+ },
153
+ explorer: {
154
+ type: 'ledger',
155
+ explorerId: 'matic',
156
+ batchSize: 10,
157
+ },
158
+ gasTracker: {
159
+ type: 'ledger',
160
+ explorerId: 'matic',
161
+ },
162
+ minGasPrice: '25000000000',
163
+ },
164
+ arbitrum: {
165
+ status: {
166
+ type: 'active',
167
+ features: [{ id: 'blockchain_txs', status: 'active' }],
168
+ },
169
+ chainId: 42161,
170
+ name: 'Arbitrum',
171
+ unit: { name: 'ETH', code: 'ETH', magnitude: 18 },
172
+ node: {
173
+ type: 'external',
174
+ uri: 'https://arbitrum.coin.ledger.com',
175
+ },
176
+ explorer: {
177
+ type: 'etherscan',
178
+ uri: 'https://proxyetherscan.api.live.ledger.com/v2/api/42161',
179
+ },
180
+ },
181
+ cronos: {
182
+ status: {
183
+ type: 'active',
184
+ features: [{ id: 'blockchain_txs', status: 'active' }],
185
+ },
186
+ chainId: 25,
187
+ name: 'Cronos',
188
+ unit: { name: 'CRO', code: 'CRO', magnitude: 18 },
189
+ node: {
190
+ type: 'external',
191
+ uri: 'https://cronos.coin.ledger.com',
192
+ },
193
+ explorer: {
194
+ type: 'cronos',
195
+ uri: 'https://proxycronosexplorer.api.live.ledger.com/explorer/api',
196
+ },
197
+ // Cronos rejects txs below a global min fee of 375 gwei/gas, which eth_feeHistory doesn't reflect
198
+ minGasPrice: '375000000000',
199
+ },
200
+ core: {
201
+ status: {
202
+ type: 'active',
203
+ features: [{ id: 'blockchain_txs', status: 'active' }],
204
+ },
205
+ chainId: 1116,
206
+ name: 'Core',
207
+ unit: { name: 'CORE', code: 'CORE', magnitude: 18 },
208
+ node: {
209
+ type: 'external',
210
+ uri: 'https://core.coin.ledger.com',
211
+ },
212
+ explorer: {
213
+ type: 'none',
214
+ },
215
+ },
216
+ flare: {
217
+ status: {
218
+ type: 'active',
219
+ features: [{ id: 'blockchain_txs', status: 'active' }],
220
+ },
221
+ chainId: 14,
222
+ name: 'Flare',
223
+ unit: { name: 'FLR', code: 'FLR', magnitude: 18 },
224
+ node: {
225
+ type: 'external',
226
+ uri: 'https://flare.coin.ledger.com/ext/bc/C/rpc',
227
+ },
228
+ explorer: {
229
+ type: 'blockscout',
230
+ uri: 'https://flare-explorer.flare.network/api',
231
+ },
232
+ },
233
+ songbird: {
234
+ status: {
235
+ type: 'active',
236
+ features: [{ id: 'blockchain_txs', status: 'active' }],
237
+ },
238
+ chainId: 19,
239
+ name: 'Songbird',
240
+ unit: { name: 'SGB', code: 'SGB', magnitude: 18 },
241
+ node: {
242
+ type: 'external',
243
+ uri: 'https://songbird-api.flare.network/ext/C/rpc',
244
+ },
245
+ explorer: {
246
+ type: 'blockscout',
247
+ uri: 'https://songbird-explorer.flare.network/api',
248
+ },
249
+ },
250
+ rsk: {
251
+ status: {
252
+ type: 'active',
253
+ features: [{ id: 'blockchain_txs', status: 'active' }],
254
+ },
255
+ chainId: 30,
256
+ name: 'Rootstock',
257
+ unit: { name: 'RBTC', code: 'RBTC', magnitude: 18 },
258
+ node: {
259
+ type: 'external',
260
+ uri: 'https://rsk.coin.ledger.com',
261
+ },
262
+ explorer: {
263
+ type: 'blockscout',
264
+ uri: 'https://rootstock.blockscout.com/api',
265
+ },
266
+ },
267
+ bittorrent: {
268
+ status: {
269
+ type: 'active',
270
+ features: [{ id: 'blockchain_txs', status: 'active' }],
271
+ },
272
+ chainId: 199,
273
+ name: 'Bittorent Chain',
274
+ unit: { name: 'BTT', code: 'BTT', magnitude: 18 },
275
+ node: {
276
+ type: 'external',
277
+ uri: 'https://bittorrent.coin.ledger.com',
278
+ },
279
+ explorer: {
280
+ type: 'etherscan',
281
+ uri: 'https://proxyetherscan.api.live.ledger.com/v2/api/199',
282
+ },
283
+ },
284
+ optimism: {
285
+ status: {
286
+ type: 'active',
287
+ features: [{ id: 'blockchain_txs', status: 'active' }],
288
+ },
289
+ chainId: 10,
290
+ name: 'OP Mainnet',
291
+ unit: { name: 'ether', code: 'ETH', magnitude: 18 },
292
+ node: {
293
+ type: 'external',
294
+ uri: 'https://optimism.coin.ledger.com',
295
+ },
296
+ explorer: {
297
+ type: 'blockscout',
298
+ uri: 'https://proxyblockscout.api.live.ledger.com/10/api',
299
+ },
300
+ },
301
+ optimism_sepolia: {
302
+ status: {
303
+ type: 'active',
304
+ features: [{ id: 'blockchain_txs', status: 'active' }],
305
+ },
306
+ chainId: 11155420,
307
+ name: 'OP Sepolia',
308
+ unit: { name: 'ether', code: 'ETH', magnitude: 18 },
309
+ node: { type: 'external', uri: 'https://optimism-sepolia.coin.ledger.com' },
310
+ explorer: { type: 'blockscout', uri: 'https://optimism-sepolia.blockscout.com/api' },
311
+ },
312
+ energy_web: {
313
+ status: {
314
+ type: 'active',
315
+ features: [{ id: 'blockchain_txs', status: 'active' }],
316
+ },
317
+ chainId: 246,
318
+ name: 'Energy Web',
319
+ unit: { name: 'EWT', code: 'EWT', magnitude: 18 },
320
+ node: {
321
+ type: 'external',
322
+ uri: 'https://rpc.energyweb.org',
323
+ },
324
+ explorer: {
325
+ type: 'blockscout',
326
+ uri: 'https://explorer.energyweb.org/api',
327
+ },
328
+ },
329
+ astar: {
330
+ status: {
331
+ type: 'active',
332
+ features: [{ id: 'blockchain_txs', status: 'active' }],
333
+ },
334
+ chainId: 592,
335
+ name: 'Astar',
336
+ unit: { name: 'ASTR', code: 'ASTR', magnitude: 18 },
337
+ node: {
338
+ type: 'external',
339
+ uri: 'https://astar.coin.ledger.com',
340
+ },
341
+ explorer: {
342
+ type: 'blockscout',
343
+ uri: 'https://astar.blockscout.com/api',
344
+ },
345
+ },
346
+ metis: {
347
+ status: {
348
+ type: 'active',
349
+ features: [{ id: 'blockchain_txs', status: 'active' }],
350
+ },
351
+ chainId: 1088,
352
+ name: 'Metis',
353
+ unit: { name: 'METIS', code: 'METIS', magnitude: 18 },
354
+ node: {
355
+ type: 'external',
356
+ uri: 'https://metis.coin.ledger.com',
357
+ },
358
+ explorer: {
359
+ type: 'none',
360
+ },
361
+ },
362
+ mantle: {
363
+ status: {
364
+ type: 'active',
365
+ features: [{ id: 'blockchain_txs', status: 'active' }],
366
+ },
367
+ chainId: 5000,
368
+ name: 'Mantle',
369
+ unit: { name: 'MNT', code: 'MNT', magnitude: 18 },
370
+ node: {
371
+ type: 'external',
372
+ uri: 'https://rpc.mantle.xyz',
373
+ },
374
+ explorer: {
375
+ type: 'blockscout',
376
+ uri: 'https://explorer.mantle.xyz/api',
377
+ },
378
+ },
379
+ mantle_sepolia: {
380
+ status: {
381
+ type: 'active',
382
+ features: [{ id: 'blockchain_txs', status: 'active' }],
383
+ },
384
+ chainId: 5003,
385
+ name: 'Mantle Sepolia',
386
+ unit: { name: 'MNT', code: 'MNT', magnitude: 18 },
387
+ node: {
388
+ type: 'external',
389
+ uri: 'https://rpc.sepolia.mantle.xyz',
390
+ },
391
+ explorer: {
392
+ type: 'blockscout',
393
+ uri: 'https://explorer.sepolia.mantle.xyz/api',
394
+ },
395
+ },
396
+ boba: {
397
+ status: {
398
+ type: 'active',
399
+ features: [{ id: 'blockchain_txs', status: 'active' }],
400
+ },
401
+ chainId: 288,
402
+ name: 'Boba',
403
+ unit: { name: 'ETH', code: 'ETH', magnitude: 18 },
404
+ node: {
405
+ type: 'external',
406
+ uri: 'https://boba.coin.ledger.com',
407
+ },
408
+ explorer: {
409
+ type: 'etherscan',
410
+ uri: 'https://api.routescan.io/v2/network/mainnet/evm/288/etherscan',
411
+ },
412
+ },
413
+ syscoin: {
414
+ status: {
415
+ type: 'active',
416
+ features: [{ id: 'blockchain_txs', status: 'active' }],
417
+ },
418
+ chainId: 57,
419
+ name: 'Syscoin',
420
+ unit: { name: 'SYS', code: 'SYS', magnitude: 18 },
421
+ node: {
422
+ type: 'external',
423
+ uri: 'https://syscoin.coin.ledger.com',
424
+ },
425
+ explorer: {
426
+ type: 'blockscout',
427
+ uri: 'https://explorer.syscoin.org/api',
428
+ },
429
+ },
430
+ telos_evm: {
431
+ status: {
432
+ type: 'active',
433
+ features: [{ id: 'blockchain_txs', status: 'active' }],
434
+ },
435
+ chainId: 40,
436
+ name: 'Telos',
437
+ unit: { name: 'TLOS', code: 'TLOS', magnitude: 18 },
438
+ node: {
439
+ type: 'external',
440
+ uri: 'https://telos-evm.coin.ledger.com',
441
+ },
442
+ explorer: {
443
+ type: 'teloscan',
444
+ uri: 'https://api.teloscan.io/api',
445
+ },
446
+ },
447
+ sei_evm: {
448
+ status: {
449
+ type: 'active',
450
+ features: [{ id: 'blockchain_txs', status: 'active' }],
451
+ },
452
+ chainId: 1329,
453
+ name: 'SEI Network (EVM)',
454
+ unit: { name: 'SEI', code: 'SEI', magnitude: 18 },
455
+ node: {
456
+ type: 'external',
457
+ uri: 'https://sei-evm.coin.ledger.com',
458
+ },
459
+ explorer: {
460
+ type: 'etherscan',
461
+ uri: 'https://proxyetherscan.api.live.ledger.com/v2/api/1329',
462
+ },
463
+ },
464
+ berachain: {
465
+ status: {
466
+ type: 'active',
467
+ features: [{ id: 'blockchain_txs', status: 'active' }],
468
+ },
469
+ chainId: 80094,
470
+ name: 'Berachain',
471
+ unit: { name: 'BERA', code: 'BERA', magnitude: 18 },
472
+ node: {
473
+ type: 'external',
474
+ uri: 'https://berachain.coin.ledger.com',
475
+ },
476
+ explorer: {
477
+ type: 'etherscan',
478
+ uri: 'https://proxyetherscan.api.live.ledger.com/v2/api/80094',
479
+ },
480
+ },
481
+ hyperevm: {
482
+ status: {
483
+ type: 'active',
484
+ features: [{ id: 'blockchain_txs', status: 'active' }],
485
+ },
486
+ chainId: 999,
487
+ name: 'HyperEVM',
488
+ unit: { name: 'HYPE', code: 'HYPE', magnitude: 18 },
489
+ node: {
490
+ type: 'external',
491
+ uri: 'https://hyperliquid.coin.ledger.com',
492
+ },
493
+ explorer: {
494
+ type: 'etherscan',
495
+ uri: 'https://proxyetherscan.api.live.ledger.com/v2/api/999',
496
+ },
497
+ },
498
+ polygon_zk_evm: {
499
+ status: {
500
+ type: 'active',
501
+ features: [{ id: 'blockchain_txs', status: 'active' }],
502
+ },
503
+ chainId: 1101,
504
+ name: 'Polygon zkEVM',
505
+ unit: { name: 'ETH', code: 'ETH', magnitude: 18 },
506
+ node: {
507
+ type: 'external',
508
+ uri: 'https://polygon-zkevm.coin.ledger.com',
509
+ },
510
+ explorer: {
511
+ type: 'etherscan',
512
+ uri: 'https://proxyetherscan.api.live.ledger.com/v2/api/1101',
513
+ },
514
+ },
515
+ base: {
516
+ status: {
517
+ type: 'active',
518
+ features: [{ id: 'blockchain_txs', status: 'active' }],
519
+ },
520
+ chainId: 8453,
521
+ name: 'Base',
522
+ unit: { name: 'ETH', code: 'ETH', magnitude: 18 },
523
+ node: {
524
+ type: 'external',
525
+ uri: 'https://base.coin.ledger.com',
526
+ },
527
+ explorer: {
528
+ type: 'etherscan',
529
+ uri: 'https://proxyetherscan.api.live.ledger.com/v2/api/8453',
530
+ },
531
+ },
532
+ klaytn: {
533
+ status: {
534
+ type: 'active',
535
+ features: [{ id: 'blockchain_txs', status: 'active' }],
536
+ },
537
+ chainId: 8217,
538
+ name: 'Klaytn',
539
+ unit: { name: 'KLAY', code: 'KLAY', magnitude: 18 },
540
+ node: {
541
+ type: 'external',
542
+ uri: 'https://kaia.coin.ledger.com',
543
+ },
544
+ explorer: {
545
+ type: 'klaytnfinder',
546
+ uri: 'https://cypress-oapi.klaytnfinder.io/api',
547
+ },
548
+ },
549
+ klaytn_baobab: {
550
+ status: {
551
+ type: 'active',
552
+ features: [{ id: 'blockchain_txs', status: 'active' }],
553
+ },
554
+ chainId: 1001,
555
+ name: 'Klaytn Baobab',
556
+ unit: { name: 'KLAY', code: 'KLAY', magnitude: 18 },
557
+ node: {
558
+ type: 'external',
559
+ uri: 'https://api.baobab.klaytn.net:8651',
560
+ },
561
+ explorer: {
562
+ type: 'klaytnfinder',
563
+ uri: 'https://baobab-oapi.klaytnfinder.io/api',
564
+ },
565
+ },
566
+ neon_evm: {
567
+ status: {
568
+ type: 'active',
569
+ features: [{ id: 'blockchain_txs', status: 'active' }],
570
+ },
571
+ chainId: 245022934,
572
+ name: 'Neon EVM',
573
+ unit: { name: 'NEON', code: 'NEON', magnitude: 18 },
574
+ node: {
575
+ type: 'external',
576
+ uri: 'https://neon-evm.coin.ledger.com',
577
+ },
578
+ explorer: {
579
+ type: 'blockscout',
580
+ uri: 'https://neon.blockscout.com/api',
581
+ },
582
+ },
583
+ lukso: {
584
+ status: {
585
+ type: 'active',
586
+ features: [{ id: 'blockchain_txs', status: 'active' }],
587
+ },
588
+ chainId: 42,
589
+ name: 'Lukso',
590
+ unit: { name: 'LYX', code: 'LYX', magnitude: 18 },
591
+ node: {
592
+ type: 'external',
593
+ uri: 'https://lukso.coin.ledger.com',
594
+ },
595
+ explorer: {
596
+ type: 'blockscout',
597
+ uri: 'https://explorer.execution.mainnet.lukso.network/api/v1/',
598
+ },
599
+ },
600
+ linea: {
601
+ status: {
602
+ type: 'active',
603
+ features: [{ id: 'blockchain_txs', status: 'active' }],
604
+ },
605
+ chainId: 59144,
606
+ name: 'Linea',
607
+ unit: { name: 'ETH', code: 'ETH', magnitude: 18 },
608
+ node: {
609
+ type: 'external',
610
+ uri: 'https://linea.coin.ledger.com',
611
+ },
612
+ explorer: {
613
+ type: 'etherscan',
614
+ uri: 'https://proxyetherscan.api.live.ledger.com/v2/api/59144',
615
+ },
616
+ },
617
+ // testnets
618
+ ethereum_sepolia: {
619
+ status: {
620
+ type: 'active',
621
+ features: [{ id: 'blockchain_txs', status: 'active' }],
622
+ },
623
+ chainId: 11155111,
624
+ name: 'Ethereum Sepolia',
625
+ unit: { name: 'ether', code: 'ETH', magnitude: 18 },
626
+ node: { type: 'ledger', explorerId: 'eth_sepolia' },
627
+ explorer: { type: 'ledger', explorerId: 'eth_sepolia' },
628
+ gasTracker: { type: 'ledger', explorerId: 'eth_sepolia' },
629
+ },
630
+ ethereum_hoodi: {
631
+ status: {
632
+ type: 'active',
633
+ features: [{ id: 'blockchain_txs', status: 'active' }],
634
+ },
635
+ chainId: 560048,
636
+ name: 'Ethereum Hoodi',
637
+ unit: { name: 'ether', code: 'ETH', magnitude: 18 },
638
+ node: { type: 'ledger', explorerId: 'eth_hoodi' },
639
+ explorer: { type: 'ledger', explorerId: 'eth_hoodi' },
640
+ gasTracker: { type: 'ledger', explorerId: 'eth_hoodi' },
641
+ },
642
+ polygon_amoy: {
643
+ status: {
644
+ type: 'active',
645
+ features: [{ id: 'blockchain_txs', status: 'active' }],
646
+ },
647
+ chainId: 80002,
648
+ name: 'Polygon Amoy',
649
+ unit: { name: 'POL', code: 'POL', magnitude: 18 },
650
+ node: { type: 'ledger', explorerId: 'matic_amoy' },
651
+ explorer: { type: 'ledger', explorerId: 'matic_amoy' },
652
+ gasTracker: { type: 'ledger', explorerId: 'matic_amoy' },
653
+ },
654
+ arbitrum_sepolia: {
655
+ status: { type: 'active' },
656
+ chainId: 421614,
657
+ name: 'Arbitrum Sepolia',
658
+ unit: { name: 'ether', code: 'ETH', magnitude: 18 },
659
+ node: { type: 'external', uri: 'https://arbitrum-sepolia.coin.ledger.com' },
660
+ explorer: {
661
+ type: 'etherscan',
662
+ uri: 'https://proxyetherscan.api.live.ledger.com/v2/api/421614',
663
+ },
664
+ },
665
+ polygon_zk_evm_testnet: {
666
+ status: {
667
+ type: 'active',
668
+ features: [{ id: 'blockchain_txs', status: 'active' }],
669
+ },
670
+ chainId: 1442,
671
+ name: 'Polygon zkEVM Testnet',
672
+ unit: { name: 'ETH', code: 'ETH', magnitude: 18 },
673
+ node: { type: 'external', uri: 'https://polygon-zkevm-cardona.coin.ledger.com' },
674
+ explorer: {
675
+ type: 'etherscan',
676
+ uri: 'https://proxyetherscan.api.live.ledger.com/v2/api/1442',
677
+ },
678
+ },
679
+ base_sepolia: {
680
+ status: {
681
+ type: 'active',
682
+ features: [{ id: 'blockchain_txs', status: 'active' }],
683
+ },
684
+ chainId: 84532,
685
+ name: 'Base Sepolia',
686
+ unit: { name: 'ETH', code: 'ETH', magnitude: 18 },
687
+ node: { type: 'external', uri: 'https://base-sepolia.coin.ledger.com' },
688
+ explorer: { type: 'blockscout', uri: 'https://base-sepolia.blockscout.com/api' },
689
+ },
690
+ linea_sepolia: {
691
+ status: {
692
+ type: 'active',
693
+ features: [{ id: 'blockchain_txs', status: 'active' }],
694
+ },
695
+ chainId: 59141,
696
+ name: 'Linea Sepolia',
697
+ unit: { name: 'ETH', code: 'ETH', magnitude: 18 },
698
+ node: { type: 'external', uri: 'https://linea-sepolia.coin.ledger.com' },
699
+ explorer: {
700
+ type: 'etherscan',
701
+ uri: 'https://proxyetherscan.api.live.ledger.com/v2/api/59141',
702
+ },
703
+ },
704
+ scroll: {
705
+ status: {
706
+ type: 'active',
707
+ features: [{ id: 'blockchain_txs', status: 'active' }],
708
+ },
709
+ chainId: 534352,
710
+ name: 'Scroll',
711
+ unit: { name: 'ETH', code: 'ETH', magnitude: 18 },
712
+ node: { type: 'external', uri: 'https://scroll.coin.ledger.com' },
713
+ explorer: {
714
+ type: 'blockscout',
715
+ uri: 'https://proxyblockscout.api.live.ledger.com/534352/api',
716
+ },
717
+ },
718
+ shape: {
719
+ status: {
720
+ type: 'active',
721
+ features: [{ id: 'blockchain_txs', status: 'active' }],
722
+ },
723
+ chainId: 360,
724
+ name: 'Shape',
725
+ unit: { name: 'ETH', code: 'ETH', magnitude: 18 },
726
+ node: { type: 'external', uri: 'https://mainnet.shape.network' },
727
+ explorer: { type: 'blockscout', uri: 'https://shapescan.xyz/api' },
728
+ },
729
+ story: {
730
+ status: {
731
+ type: 'active',
732
+ features: [{ id: 'blockchain_txs', status: 'active' }],
733
+ },
734
+ chainId: 1514,
735
+ name: 'Story',
736
+ unit: { name: 'IP', code: 'IP', magnitude: 18 },
737
+ node: { type: 'external', uri: 'https://story.coin.ledger.com' },
738
+ explorer: {
739
+ type: 'blockscout',
740
+ uri: 'https://proxyblockscout.api.live.ledger.com/1514/api',
741
+ },
742
+ },
743
+ etherlink: {
744
+ status: {
745
+ type: 'active',
746
+ features: [{ id: 'blockchain_txs', status: 'active' }],
747
+ },
748
+ chainId: 42793,
749
+ name: 'Etherlink',
750
+ unit: { name: 'XTZ', code: 'XTZ', magnitude: 18 },
751
+ node: { type: 'external', uri: 'https://node.mainnet.etherlink.com' },
752
+ explorer: { type: 'blockscout', uri: 'https://explorer.etherlink.com/api' },
753
+ },
754
+ zksync: {
755
+ status: {
756
+ type: 'active',
757
+ features: [{ id: 'blockchain_txs', status: 'active' }],
758
+ },
759
+ chainId: 324,
760
+ name: 'ZKsync',
761
+ unit: { name: 'ETH', code: 'ETH', magnitude: 18 },
762
+ node: { type: 'external', uri: 'https://zksync.coin.ledger.com' },
763
+ explorer: { type: 'blockscout', uri: 'https://proxyblockscout.api.live.ledger.com/324/api' },
764
+ },
765
+ zksync_sepolia: {
766
+ status: {
767
+ type: 'active',
768
+ features: [{ id: 'blockchain_txs', status: 'active' }],
769
+ },
770
+ chainId: 300,
771
+ name: 'ZKsync Sepolia',
772
+ unit: { name: 'ETH', code: 'ETH', magnitude: 18 },
773
+ node: { type: 'external', uri: 'https://zksync-sepolia.coin.ledger.com' },
774
+ explorer: { type: 'blockscout', uri: 'https://zksync-sepolia.blockscout.com/api' },
775
+ },
776
+ monad: {
777
+ status: {
778
+ type: 'active',
779
+ features: [{ id: 'blockchain_txs', status: 'active' }],
780
+ },
781
+ chainId: 143,
782
+ name: 'Monad',
783
+ unit: { name: 'MON', code: 'MON', magnitude: 18 },
784
+ node: {
785
+ type: 'external',
786
+ uri: 'https://monad.coin.ledger.com',
787
+ },
788
+ explorer: {
789
+ type: 'etherscan',
790
+ uri: 'https://proxyetherscan.api.live.ledger.com/v2/api/143',
791
+ },
792
+ },
793
+ monad_testnet: {
794
+ status: {
795
+ type: 'active',
796
+ features: [{ id: 'blockchain_txs', status: 'active' }],
797
+ },
798
+ chainId: 10143,
799
+ name: 'Monad Testnet',
800
+ unit: { name: 'MON', code: 'MON', magnitude: 18 },
801
+ node: {
802
+ type: 'external',
803
+ uri: 'https://monad-testnet.coin.ledger.com',
804
+ },
805
+ explorer: {
806
+ type: 'etherscan',
807
+ uri: 'https://proxyetherscan.api.live.ledger.com/v2/api/10143',
808
+ },
809
+ },
810
+ somnia: {
811
+ status: {
812
+ type: 'active',
813
+ features: [{ id: 'blockchain_txs', status: 'active' }],
814
+ },
815
+ chainId: 5031,
816
+ name: 'Somnia',
817
+ unit: { name: 'SOMI', code: 'SOMI', magnitude: 18 },
818
+ node: {
819
+ type: 'external',
820
+ uri: 'https://somnia-rpc.publicnode.com',
821
+ },
822
+ explorer: {
823
+ type: 'blockscout',
824
+ uri: 'https://mainnet.somnia.w3us.site/api',
825
+ },
826
+ },
827
+ zero_gravity: {
828
+ status: {
829
+ type: 'active',
830
+ features: [{ id: 'blockchain_txs', status: 'active' }],
831
+ },
832
+ chainId: 16661,
833
+ name: '0G',
834
+ unit: { name: '0G', code: '0G', magnitude: 18 },
835
+ node: {
836
+ type: 'external',
837
+ uri: 'https://zero-gravity.coin.ledger.com',
838
+ },
839
+ explorer: {
840
+ type: 'blockscout',
841
+ uri: 'https://chainscan.0g.ai/open/api',
842
+ maxLimit: 99,
843
+ },
844
+ minGasPrice: '2000000000',
845
+ },
846
+ adi: {
847
+ status: {
848
+ type: 'active',
849
+ features: [{ id: 'blockchain_txs', status: 'active' }],
850
+ },
851
+ chainId: 36900,
852
+ name: 'Adi',
853
+ unit: { name: 'ADI', code: 'ADI', magnitude: 18 },
854
+ node: {
855
+ type: 'external',
856
+ uri: 'https://rpc.adifoundation.ai',
857
+ },
858
+ explorer: {
859
+ type: 'blockscout',
860
+ uri: 'https://explorer-bls.adifoundation.ai/api',
861
+ },
862
+ },
863
+ unichain: {
864
+ status: {
865
+ type: 'active',
866
+ features: [{ id: 'blockchain_txs', status: 'active' }],
867
+ },
868
+ chainId: 130,
869
+ name: 'Unichain',
870
+ unit: { name: 'ether', code: 'ETH', magnitude: 18 },
871
+ node: {
872
+ type: 'external',
873
+ uri: 'https://unichain.coin.ledger.com',
874
+ },
875
+ explorer: {
876
+ type: 'blockscout',
877
+ uri: 'https://proxyblockscout.api.live.ledger.com/130/api',
878
+ },
879
+ },
880
+ unichain_sepolia: {
881
+ status: {
882
+ type: 'active',
883
+ features: [{ id: 'blockchain_txs', status: 'active' }],
884
+ },
885
+ chainId: 1301,
886
+ name: 'Unichain Sepolia',
887
+ unit: { name: 'ether', code: 'ETH', magnitude: 18 },
888
+ node: { type: 'external', uri: 'https://unichain-sepolia-rpc.publicnode.com' },
889
+ explorer: { type: 'blockscout', uri: 'https://unichain-sepolia.blockscout.com/api' },
890
+ },
891
+ arc: {
892
+ status: {
893
+ type: 'active',
894
+ features: [{ id: 'blockchain_txs', status: 'active' }],
895
+ },
896
+ chainId: 5042,
897
+ name: 'Arc',
898
+ unit: { name: 'USDC', code: 'USDC', magnitude: 18 },
899
+ node: {
900
+ type: 'external',
901
+ uri: 'https://arc.coin.ledger.com',
902
+ },
903
+ explorer: {
904
+ type: 'blockscout',
905
+ uri: 'https://proxyblockscout.api.live.ledger.com/5042/api',
906
+ },
907
+ nativeContracts: ['0x3600000000000000000000000000000000000000'],
908
+ feeHistoryBlockCount: 1024,
909
+ feeHistoryRewardPercentile: 60,
910
+ },
911
+ arc_testnet: {
912
+ status: {
913
+ type: 'active',
914
+ features: [{ id: 'blockchain_txs', status: 'active' }],
915
+ },
916
+ chainId: 5042002,
917
+ name: 'Arc Testnet',
918
+ unit: { name: 'USDC', code: 'USDC', magnitude: 18 },
919
+ node: { type: 'external', uri: 'https://rpc.testnet.arc.network' },
920
+ explorer: {
921
+ type: 'blockscout',
922
+ uri: 'https://proxyblockscout.api.live.ledger.com/5042002/api',
923
+ },
924
+ nativeContracts: ['0x3600000000000000000000000000000000000000'],
925
+ feeHistoryBlockCount: 1024,
926
+ feeHistoryRewardPercentile: 60,
927
+ },
928
+ robinhood: {
929
+ status: {
930
+ type: 'active',
931
+ features: [{ id: 'blockchain_txs', status: 'active' }],
932
+ },
933
+ chainId: 4663,
934
+ name: 'Robinhood Chain',
935
+ unit: { name: 'ether', code: 'ETH', magnitude: 18 },
936
+ node: { type: 'external', uri: 'https://robinhood.coin.ledger.com' },
937
+ explorer: {
938
+ type: 'blockscout',
939
+ uri: 'https://proxyblockscout.api.live.ledger.com/4663/api',
940
+ },
941
+ },
942
+ robinhood_testnet: {
943
+ status: {
944
+ type: 'active',
945
+ features: [{ id: 'blockchain_txs', status: 'active' }],
946
+ },
947
+ chainId: 46630,
948
+ name: 'Robinhood Chain Testnet',
949
+ unit: { name: 'ether', code: 'ETH', magnitude: 18 },
950
+ node: { type: 'external', uri: 'https://rpc.testnet.chain.robinhood.com' },
951
+ explorer: {
952
+ type: 'none',
953
+ },
954
+ },
955
+ alpen_testnet: {
956
+ status: {
957
+ type: 'active',
958
+ features: [{ id: 'blockchain_txs', status: 'active' }],
959
+ },
960
+ chainId: 20310,
961
+ name: 'Alpen Testnet',
962
+ unit: { name: 'BTC', code: 'BTC', magnitude: 18 },
963
+ node: { type: 'external', uri: 'https://alpen.testnet.alpen.org' },
964
+ explorer: {
965
+ type: 'blockscout',
966
+ uri: 'https://explorer.testnet.alpen.org/api',
967
+ },
968
+ // Alpen's fee market is sparse: the base fee holds at 0.000875-0.001 gwei and
969
+ // eth_feeHistory reports no tips, so EIP-1559 estimation falls back to a 1 gwei tip
970
+ // (~1000x the real cost). Zero-tip transactions are included, so price as legacy from
971
+ // eth_gasPrice with a 2x-base-fee floor. Re-measure after a regenesis and at mainnet.
972
+ forceLegacyTransactions: true,
973
+ minGasPrice: '2000000',
974
+ },
975
+ };
9
976
  //# sourceMappingURL=config.js.map