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