@pioneer-platform/pioneer-discovery 8.11.5 → 8.11.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pioneer-platform/pioneer-discovery",
3
- "version": "8.11.5",
3
+ "version": "8.11.6",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/main.d.ts",
6
6
  "_moduleAliases": {
@@ -307,6 +307,293 @@
307
307
  "chainId": "eip155:1",
308
308
  "error": "Rate limited",
309
309
  "attempts": 1
310
+ },
311
+ "eip155:1/erc20:0x048aa6e69d5117bd665af4128383a6982b8367b3": {
312
+ "symbol": "VXON",
313
+ "name": "VoxNET",
314
+ "chainId": "eip155:1",
315
+ "error": "Not found",
316
+ "attempts": 1
317
+ },
318
+ "eip155:1/erc20:0x04969cd041c0cafb6ac462bd65b536a5bdb3a670": {
319
+ "symbol": "WOMI",
320
+ "name": "Wrapped ECOMI",
321
+ "chainId": "eip155:1",
322
+ "error": "Rate limited",
323
+ "attempts": 1
324
+ },
325
+ "eip155:1/erc20:0x04e3a2932bfe7b669c9f18df44b2b0a0ee681c19": {
326
+ "symbol": "PASTA",
327
+ "name": "Pastafarian",
328
+ "chainId": "eip155:1",
329
+ "error": "Not found",
330
+ "attempts": 1
331
+ },
332
+ "eip155:1/erc20:0x051d7e5609917bd9b73f04bac0ded8dd46a74301": {
333
+ "symbol": "CRVWSBTC",
334
+ "name": "Curve fi wBTC sBTC",
335
+ "chainId": "eip155:1",
336
+ "error": "Not found",
337
+ "attempts": 1
338
+ },
339
+ "eip155:1/erc20:0x05030203674173fa6df6f9f7e34d6e70e9a761d7": {
340
+ "symbol": "MU",
341
+ "name": "Muverse",
342
+ "chainId": "eip155:1",
343
+ "error": "Rate limited",
344
+ "attempts": 1
345
+ },
346
+ "eip155:1/erc20:0x04cb855a5e5c4e92dd90bce82548669b4fe88702": {
347
+ "symbol": "BOOK",
348
+ "name": "BOOK",
349
+ "chainId": "eip155:1",
350
+ "error": "Rate limited",
351
+ "attempts": 1
352
+ },
353
+ "eip155:1/erc20:0x04e0af0af1b7f0023c6b12af5a94df59b0e8cf59": {
354
+ "symbol": "SETS",
355
+ "name": "Sensitrust on Ethereum",
356
+ "chainId": "eip155:1",
357
+ "error": "Rate limited",
358
+ "attempts": 1
359
+ },
360
+ "eip155:1/erc20:0x05079687d35b93538cbd59fe5596380cae9054a9": {
361
+ "symbol": "BTSG",
362
+ "name": "BitSong",
363
+ "chainId": "eip155:1",
364
+ "error": "Not found",
365
+ "attempts": 1
366
+ },
367
+ "eip155:1/erc20:0x056fd409e1d7a124bd7017459dfea2f387b6d5cd": {
368
+ "symbol": "GUSD",
369
+ "name": "Gemini Dollar",
370
+ "chainId": "eip155:1",
371
+ "error": "Rate limited",
372
+ "attempts": 1
373
+ },
374
+ "eip155:1/erc20:0x05fb86775fd5c16290f1e838f5caaa7342bd9a63": {
375
+ "symbol": "HAI",
376
+ "name": "Hacken on Ethereum",
377
+ "chainId": "eip155:1",
378
+ "error": "Rate limited",
379
+ "attempts": 1
380
+ },
381
+ "eip155:1/erc20:0x05bbe7240de66f6480c9aeda77c1376b13393f83": {
382
+ "symbol": "XNO",
383
+ "name": "Xeno",
384
+ "chainId": "eip155:1",
385
+ "error": "Rate limited",
386
+ "attempts": 1
387
+ },
388
+ "eip155:1/erc20:0x0642026e7f0b6ccac5925b4e7fa61384250e1701": {
389
+ "symbol": "H2O",
390
+ "name": "H2O",
391
+ "chainId": "eip155:1",
392
+ "error": "Not found",
393
+ "attempts": 1
394
+ },
395
+ "eip155:1/erc20:0x06576eb3b212d605b797dc15523d9dc9f4f66db4": {
396
+ "symbol": "TCP",
397
+ "name": "The Crypto Prophecies",
398
+ "chainId": "eip155:1",
399
+ "error": "Not found",
400
+ "attempts": 1
401
+ },
402
+ "eip155:1/erc20:0x06874f973dc3c96dc22a10ef0d0609f877f335ea": {
403
+ "symbol": "STA",
404
+ "name": "STOA Network",
405
+ "chainId": "eip155:1",
406
+ "error": "Not found",
407
+ "attempts": 1
408
+ },
409
+ "eip155:1/erc20:0x069f967be0ca21c7d793d8c343f71e597d9a49b3": {
410
+ "symbol": "HZM",
411
+ "name": "HZM Coin",
412
+ "chainId": "eip155:1",
413
+ "error": "Rate limited",
414
+ "attempts": 1
415
+ },
416
+ "eip155:1/erc20:0x068e3563b1c19590f822c0e13445c4fa1b9eefa5": {
417
+ "symbol": "WUSD",
418
+ "name": "Wrapped USD",
419
+ "chainId": "eip155:1",
420
+ "error": "Not found",
421
+ "attempts": 1
422
+ },
423
+ "eip155:1/erc20:0x06af07097c9eeb7fd685c692751d5c66db49c215": {
424
+ "symbol": "CHAI",
425
+ "name": "Chai",
426
+ "chainId": "eip155:1",
427
+ "error": "Not found",
428
+ "attempts": 1
429
+ },
430
+ "eip155:1/erc20:0x070e984fda37dd942f5c953f6b2375339adac308": {
431
+ "symbol": "AXE",
432
+ "name": "Axe Cap",
433
+ "chainId": "eip155:1",
434
+ "error": "Rate limited",
435
+ "attempts": 1
436
+ },
437
+ "eip155:1/erc20:0x06e0feb0d74106c7ada8497754074d222ec6bcdf": {
438
+ "symbol": "BTB",
439
+ "name": "Bitball",
440
+ "chainId": "eip155:1",
441
+ "error": "Rate limited",
442
+ "attempts": 1
443
+ },
444
+ "eip155:1/erc20:0x075067a4b236f68f123fc0553f4560311937491d": {
445
+ "symbol": "CATPAY",
446
+ "name": "CATpay on Ethereum",
447
+ "chainId": "eip155:1",
448
+ "error": "Rate limited",
449
+ "attempts": 1
450
+ },
451
+ "eip155:1/erc20:0x06b884e60794ce02aafab13791b59a2e6a07442f": {
452
+ "symbol": "UNBNK",
453
+ "name": "Unbanked",
454
+ "chainId": "eip155:1",
455
+ "error": "Rate limited",
456
+ "attempts": 1
457
+ },
458
+ "eip155:1/erc20:0x077212c69a66261cf7bd1fd3b5c5db7cffa948ee": {
459
+ "symbol": "BB_stMATIC",
460
+ "name": "PoLido MATIC Junior Tranche",
461
+ "chainId": "eip155:1",
462
+ "error": "Not found",
463
+ "attempts": 1
464
+ },
465
+ "eip155:1/erc20:0x07c904d8c04323ef9fe6bf13aaeba05b62c54825": {
466
+ "symbol": "EEYOR",
467
+ "name": "Eeyor",
468
+ "chainId": "eip155:1",
469
+ "error": "Rate limited",
470
+ "attempts": 1
471
+ },
472
+ "eip155:1/erc20:0x0763fdccf1ae541a5961815c0872a8c5bc6de4d7": {
473
+ "symbol": "SUKU",
474
+ "name": "SUKU",
475
+ "chainId": "eip155:1",
476
+ "error": "Rate limited",
477
+ "attempts": 1
478
+ },
479
+ "eip155:1/erc20:0x078c4adf3fee52eb77f6018d9805dfc69e911d39": {
480
+ "symbol": "GLORY",
481
+ "name": "Eternity GLORY Token",
482
+ "chainId": "eip155:1",
483
+ "error": "Rate limited",
484
+ "attempts": 1
485
+ },
486
+ "eip155:1/erc20:0x07ac55797d4f43f57ca92a49e65ca582cc287c27": {
487
+ "symbol": "TBT",
488
+ "name": "Rebasing TBT",
489
+ "chainId": "eip155:1",
490
+ "error": "Rate limited",
491
+ "attempts": 1
492
+ },
493
+ "eip155:1/erc20:0x0799de3f4e111b70e845edb7a8646d934a51e210": {
494
+ "symbol": "50CAL",
495
+ "name": "50cal",
496
+ "chainId": "eip155:1",
497
+ "error": "Not found",
498
+ "attempts": 1
499
+ },
500
+ "eip155:1/erc20:0x07e3c70653548b04f0a75970c1f81b4cbbfb606f": {
501
+ "symbol": "DLT",
502
+ "name": "Agrello",
503
+ "chainId": "eip155:1",
504
+ "error": "Not found",
505
+ "attempts": 1
506
+ },
507
+ "eip155:1/erc20:0x07f9702ce093db82dfdc92c2c6e578d6ea8d5e22": {
508
+ "symbol": "OBT",
509
+ "name": "Oobit on Ethereum",
510
+ "chainId": "eip155:1",
511
+ "error": "Rate limited",
512
+ "attempts": 1
513
+ },
514
+ "eip155:1/erc20:0x07ef9e82721ac16809d24dafbe1792ce01654db4": {
515
+ "symbol": "BNANA",
516
+ "name": "Chimpion",
517
+ "chainId": "eip155:1",
518
+ "error": "Not found",
519
+ "attempts": 1
520
+ },
521
+ "eip155:1/erc20:0x081a4c60fbc381dc861bae6629c93d835d5f9a89": {
522
+ "symbol": "MODS",
523
+ "name": "Modulus Domain Service",
524
+ "chainId": "eip155:1",
525
+ "error": "Rate limited",
526
+ "attempts": 1
527
+ },
528
+ "eip155:1/erc20:0x082646b22a3960da69ef7a778c16dd6fb85dd999": {
529
+ "symbol": "FKPEPE",
530
+ "name": "Fuck Pepe",
531
+ "chainId": "eip155:1",
532
+ "error": "Not found",
533
+ "attempts": 1
534
+ },
535
+ "eip155:1/erc20:0x089729b0786c8803cff972c16e402f3344d079ea": {
536
+ "symbol": "BGPT",
537
+ "name": "BlockGPT",
538
+ "chainId": "eip155:1",
539
+ "error": "Not found",
540
+ "attempts": 1
541
+ },
542
+ "eip155:1/erc20:0x0888fd2960ddf57cfb561b59d73dd2b9524f6a26": {
543
+ "symbol": "MIKAWA",
544
+ "name": "Mikawa Inu",
545
+ "chainId": "eip155:1",
546
+ "error": "Not found",
547
+ "attempts": 1
548
+ },
549
+ "eip155:1/erc20:0x08ba718f288c3b12b01146816bef9fa03cc635bc": {
550
+ "symbol": "CENT",
551
+ "name": "Centaurify on Ethereum",
552
+ "chainId": "eip155:1",
553
+ "error": "Rate limited",
554
+ "attempts": 1
555
+ },
556
+ "eip155:1/erc20:0x08711d3b02c8758f2fb3ab4e80228418a7f8e39c": {
557
+ "symbol": "EDG",
558
+ "name": "Edgeless",
559
+ "chainId": "eip155:1",
560
+ "error": "Not found",
561
+ "attempts": 1
562
+ },
563
+ "eip155:1/erc20:0x082716b6734b31791407d7dd0e2a2c41260029b2": {
564
+ "symbol": "HICOOLCATS",
565
+ "name": "hiCOOLCATS",
566
+ "chainId": "eip155:1",
567
+ "error": "Not found",
568
+ "attempts": 1
569
+ },
570
+ "eip155:1/erc20:0x08f7be99ed83369541501d60f4e66f8e34c3f736": {
571
+ "symbol": "CKU",
572
+ "name": "Cryptoku",
573
+ "chainId": "eip155:1",
574
+ "error": "Not found",
575
+ "attempts": 1
576
+ },
577
+ "eip155:1/erc20:0x0944d5848bd9f60a34ba92aea300d4286696eb76": {
578
+ "symbol": "PLT",
579
+ "name": "Palette",
580
+ "chainId": "eip155:1",
581
+ "error": "Rate limited",
582
+ "attempts": 1
583
+ },
584
+ "eip155:1/erc20:0x095797fd4297fb79883cc912a5ba6313b15c445d": {
585
+ "symbol": "GOLC",
586
+ "name": "GOLCOIN on Ethereum",
587
+ "chainId": "eip155:1",
588
+ "error": "Not found",
589
+ "attempts": 1
590
+ },
591
+ "eip155:1/erc20:0x08f5a9235b08173b7569f83645d2c7fb55e8ccd8": {
592
+ "symbol": "TNT",
593
+ "name": "Tierion",
594
+ "chainId": "eip155:1",
595
+ "error": "Not found",
596
+ "attempts": 1
310
597
  }
311
598
  }
312
599
  }
@@ -25,7 +25,56 @@
25
25
  "eip155:1/erc20:0x03be5c903c727ee2c8c4e9bc0acc860cca4715e2": "coingecko",
26
26
  "eip155:1/erc20:0x0414d8c87b271266a5864329fb4932bbe19c0c49": "coingecko",
27
27
  "eip155:1/erc20:0x044d078f1c86508e13328842cc75ac021b272958": "coingecko",
28
- "eip155:1/erc20:0x046eee2cc3188071c02bfc1745a6b17c656e3f3d": "coingecko"
28
+ "eip155:1/erc20:0x046eee2cc3188071c02bfc1745a6b17c656e3f3d": "coingecko",
29
+ "eip155:1/erc20:0x0488401c3f535193fa8df029d9ffe615a06e74e6": "coingecko",
30
+ "eip155:1/erc20:0x04c17b9d3b29a78f7bd062a57cf44fc633e71f85": "coingecko",
31
+ "eip155:1/erc20:0x04c618cdbc1d59142dfeb4b9864835a06983ec2d": "coingecko",
32
+ "eip155:1/erc20:0x048fe49be32adfc9ed68c37d32b5ec9df17b3603": "coingecko",
33
+ "eip155:1/erc20:0x04a020325024f130988782bd5276e53595e8d16e": "coingecko",
34
+ "eip155:1/erc20:0x04c154b66cb340f3ae24111cc767e0184ed00cc6": "coingecko",
35
+ "eip155:1/erc20:0x049715c70fdbdd2be4814f76a53dc3d6f4367756": "coingecko",
36
+ "eip155:1/erc20:0x049e9f5369358786a1ce6483d668d062cfe547ec": "coingecko",
37
+ "eip155:1/erc20:0x04fa0d235c4abf4bcf4787af4cf447de572ef828": "coingecko",
38
+ "eip155:1/erc20:0x050d94685c6b0477e1fc555888af6e2bb8dfbda5": "coingecko",
39
+ "eip155:1/erc20:0x054d64b73d3d8a21af3d764efd76bcaa774f3bb2": "coingecko",
40
+ "eip155:1/erc20:0x0501b9188436e35bb10f35998c40adc079003866": "coingecko",
41
+ "eip155:1/erc20:0x056c1d42fb1326f57da7f19ebb7dda4673f1ff55": "coingecko",
42
+ "eip155:1/erc20:0x054f76beed60ab6dbeb23502178c52d6c5debe40": "coingecko",
43
+ "eip155:1/erc20:0x0563dce613d559a47877ffd1593549fb9d3510d6": "coingecko",
44
+ "eip155:1/erc20:0x05d3606d5c81eb9b7b18530995ec9b29da05faba": "coingecko",
45
+ "eip155:1/erc20:0x0590cc9232ebf68d81f6707a119898219342ecb9": "coingecko",
46
+ "eip155:1/erc20:0x05ec93c0365baaeabf7aeffb0972ea7ecdd39cf1": "coingecko",
47
+ "eip155:1/erc20:0x0557e0d15aec0b9026dd17aa874fdf7d182a2ceb": "coingecko",
48
+ "eip155:1/erc20:0x064797ac7f833d01faeeae0e69f3af5a52a91fc8": "coingecko",
49
+ "eip155:1/erc20:0x06450dee7fd2fb8e39061434babcfc05599a6fb8": "coingecko",
50
+ "eip155:1/erc20:0x05fe069626543842439ef90d9fa1633640c50cf1": "coingecko",
51
+ "eip155:1/erc20:0x066798d9ef0833ccc719076dab77199ecbd178b0": "coingecko",
52
+ "eip155:1/erc20:0x06677dc4fe12d3ba3c7ccfd0df8cd45e4d4095bf": "coingecko",
53
+ "eip155:1/erc20:0x06a00715e6f92210af9d7680b584931faf71a833": "coingecko",
54
+ "eip155:1/erc20:0x06a01a4d579479dd5d884ebf61a31727a3d8d442": "coingecko",
55
+ "eip155:1/erc20:0x07150e919b4de5fd6a63de1f9384828396f25fdc": "coingecko",
56
+ "eip155:1/erc20:0x06f3c323f0238c72bf35011071f2b5b7f43a054c": "coingecko",
57
+ "eip155:1/erc20:0x06ddb3a8bc0abc14f85e974cf1a93a6f8d4909d9": "coingecko",
58
+ "eip155:1/erc20:0x07bac35846e5ed502aa91adf6a9e7aa210f2dcbe": "coingecko",
59
+ "eip155:1/erc20:0x075b1bb99792c9e1041ba13afef80c91a1e70fb3": "coingecko",
60
+ "eip155:1/erc20:0x076641af1b8f06b7f8c92587156143c109002cbe": "coingecko",
61
+ "eip155:1/erc20:0x0789dbae94fb18e5789b8e4489bcb7a1adb58622": "coingecko",
62
+ "eip155:1/erc20:0x07e0edf8ce600fb51d44f51e3348d77d67f298ae": "coingecko",
63
+ "eip155:1/erc20:0x08037036451c768465369431da5c671ad9b37dbc": "coingecko",
64
+ "eip155:1/erc20:0x081131434f93063751813c619ecca9c4dc7862a3": "coingecko",
65
+ "eip155:1/erc20:0x081f67afa0ccf8c7b17540767bbe95df2ba8d97f": "coingecko",
66
+ "eip155:1/erc20:0x0808e6c4400bde1d70db0d02170b67de05e07ef5": "coingecko",
67
+ "eip155:1/erc20:0x089453742936dd35134383aee9d78bee63a69b01": "coingecko",
68
+ "eip155:1/erc20:0x083d41d6dd21ee938f0c055ca4fb12268df0efac": "coingecko",
69
+ "eip155:1/erc20:0x08a1c30bbb26425c1031ee9e43fa0b9960742539": "coingecko",
70
+ "eip155:1/erc20:0x08c32b0726c5684024ea6e141c50ade9690bbdcc": "coingecko",
71
+ "eip155:1/erc20:0x08389495d7456e1951ddf7c3a1314a4bfb646d8b": "coingecko",
72
+ "eip155:1/erc20:0x08d32b0da63e2c3bcf8019c9c5d849d7a9d791e6": "coingecko",
73
+ "eip155:1/erc20:0x08d0222a206d1aee59a9b66969c04fd1e8a0f864": "coingecko",
74
+ "eip155:1/erc20:0x08f40811c7d6c013744166f3d4cb1a9a92d3d54e": "coingecko",
75
+ "eip155:1/erc20:0x0954906da0bf32d5479e25f46056d22f08464cab": "coingecko",
76
+ "eip155:1/erc20:0x090185f2135308bad17527004364ebcc2d37e5f6": "coingecko",
77
+ "eip155:1/erc20:0x08d967bb0134f2d07f7cfb6e246680c53927dd30": "coingecko"
29
78
  },
30
79
  "timestamp": 1761709065992
31
80
  }
@@ -0,0 +1,211 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * Generate Native Gas Asset Definitions
4
+ *
5
+ * This script generates asset definitions for native blockchain gas assets
6
+ * (BTC, ETH, ATOM, etc.) using data from pioneer-coins and pioneer-caip.
7
+ *
8
+ * These assets were missing from generatedAssetData.json, causing getGasAssets()
9
+ * to fail during SDK initialization.
10
+ *
11
+ * Usage: node scripts/generate-native-assets.js
12
+ */
13
+
14
+ // Native gas assets configuration
15
+ // Format: { symbol, name, chainId (CAIP), icon URL, decimals }
16
+ const NATIVE_GAS_ASSETS = [
17
+ {
18
+ symbol: 'BTC',
19
+ name: 'Bitcoin',
20
+ chainId: 'bip122:000000000019d6689c085ae165831e93',
21
+ icon: 'https://assets.coingecko.com/coins/images/1/small/bitcoin.png?1547033579',
22
+ decimals: 8,
23
+ },
24
+ {
25
+ symbol: 'ETH',
26
+ name: 'Ethereum',
27
+ chainId: 'eip155:1',
28
+ icon: 'https://assets.coingecko.com/coins/images/279/large/ethereum.png?1595348880',
29
+ decimals: 18,
30
+ },
31
+ {
32
+ symbol: 'ATOM',
33
+ name: 'Cosmos',
34
+ chainId: 'cosmos:cosmoshub-4',
35
+ icon: 'https://assets.coingecko.com/coins/images/16724/thumb/atom.png',
36
+ decimals: 6,
37
+ },
38
+ {
39
+ symbol: 'OSMO',
40
+ name: 'Osmosis',
41
+ chainId: 'cosmos:osmosis-1',
42
+ icon: 'https://assets.coingecko.com/coins/images/16724/thumb/osmo.png',
43
+ decimals: 6,
44
+ },
45
+ {
46
+ symbol: 'RUNE',
47
+ name: 'THORChain',
48
+ chainId: 'cosmos:thorchain-mainnet-v1',
49
+ icon: 'https://assets.coingecko.com/coins/images/6595/thumb/RUNE.png',
50
+ decimals: 8,
51
+ },
52
+ {
53
+ symbol: 'CACAO',
54
+ name: 'Mayachain',
55
+ chainId: 'cosmos:mayachain-mainnet-v1',
56
+ icon: 'https://assets.coingecko.com/coins/images/25662/small/cacao.png',
57
+ decimals: 10,
58
+ },
59
+ {
60
+ symbol: 'LTC',
61
+ name: 'Litecoin',
62
+ chainId: 'bip122:12a765e31ffd4059bada1e25190f6e98',
63
+ icon: 'https://assets.coingecko.com/coins/images/16724/thumb/ltc.png',
64
+ decimals: 8,
65
+ },
66
+ {
67
+ symbol: 'BCH',
68
+ name: 'Bitcoin Cash',
69
+ chainId: 'bip122:000000000000000000651ef99cb9fcbe',
70
+ icon: 'https://assets.coingecko.com/coins/images/780/thumb/bitcoin-cash-circle.png?1594689492',
71
+ decimals: 8,
72
+ },
73
+ {
74
+ symbol: 'DOGE',
75
+ name: 'Dogecoin',
76
+ chainId: 'bip122:00000000001a91e3dace36e2be3bf030',
77
+ icon: 'https://assets.coingecko.com/coins/images/5/small/dogecoin.png?1547792256',
78
+ decimals: 8,
79
+ },
80
+ {
81
+ symbol: 'DASH',
82
+ name: 'Dash',
83
+ chainId: 'bip122:000007d91d1254d60e2dd1ae58038307',
84
+ icon: 'https://assets.coingecko.com/coins/images/19/small/dash-logo.png?1548385930',
85
+ decimals: 8,
86
+ },
87
+ {
88
+ symbol: 'BNB',
89
+ name: 'BNB',
90
+ chainId: 'binance:bnb-beacon-chain',
91
+ icon: 'https://assets.coingecko.com/coins/images/825/thumb/binance-coin-logo.png?1547034615',
92
+ decimals: 8,
93
+ },
94
+ {
95
+ symbol: 'AVAX',
96
+ name: 'Avalanche',
97
+ chainId: 'eip155:43114',
98
+ icon: 'https://assets.coingecko.com/coins/images/12559/small/coin-round-red.png?1604021818',
99
+ decimals: 18,
100
+ },
101
+ {
102
+ symbol: 'MATIC',
103
+ name: 'Polygon',
104
+ chainId: 'eip155:137',
105
+ icon: 'https://assets.coingecko.com/coins/images/4713/small/matic-token-icon.png?1624446912',
106
+ decimals: 18,
107
+ },
108
+ {
109
+ symbol: 'ARB',
110
+ name: 'Arbitrum',
111
+ chainId: 'eip155:42161',
112
+ icon: 'https://assets.coingecko.com/coins/images/16547/small/photo_2023-03-29_21.47.00.jpeg?1680097630',
113
+ decimals: 18,
114
+ },
115
+ {
116
+ symbol: 'OP',
117
+ name: 'Optimism',
118
+ chainId: 'eip155:10',
119
+ icon: 'https://assets.coingecko.com/coins/images/25244/small/Optimism.png?1660904599',
120
+ decimals: 18,
121
+ },
122
+ {
123
+ symbol: 'BASE',
124
+ name: 'Base',
125
+ chainId: 'eip155:8453',
126
+ icon: 'https://assets.coingecko.com/coins/images/279/large/ethereum.png?1595348880', // Using ETH icon as Base uses ETH
127
+ decimals: 18,
128
+ },
129
+ ];
130
+
131
+ /**
132
+ * Generate asset data entries in the format expected by generatedAssetData.json
133
+ */
134
+ function generateNativeAssetData() {
135
+ const assetData = {};
136
+
137
+ for (const asset of NATIVE_GAS_ASSETS) {
138
+ // Create CAIP assetId with slip44 for native assets
139
+ const assetId = `${asset.chainId}/slip44:${getSlip44(asset.symbol)}`;
140
+
141
+ assetData[assetId] = {
142
+ symbol: asset.symbol,
143
+ name: asset.name,
144
+ chainId: asset.chainId,
145
+ icon: asset.icon,
146
+ assetId: assetId,
147
+ decimals: asset.decimals,
148
+ isNative: true, // Mark as native gas asset for easy filtering
149
+ };
150
+ }
151
+
152
+ return assetData;
153
+ }
154
+
155
+ /**
156
+ * Get SLIP44 coin type for a given symbol
157
+ * Reference: https://github.com/satoshilabs/slips/blob/master/slip-0044.md
158
+ */
159
+ function getSlip44(symbol) {
160
+ const slip44Map = {
161
+ 'BTC': 0,
162
+ 'LTC': 2,
163
+ 'DOGE': 3,
164
+ 'DASH': 5,
165
+ 'DGB': 20,
166
+ 'ETH': 60,
167
+ 'AVAX': 60,
168
+ 'MATIC': 60,
169
+ 'ARB': 60,
170
+ 'OP': 60,
171
+ 'BASE': 60,
172
+ 'ATOM': 118,
173
+ 'OSMO': 118,
174
+ 'BCH': 145,
175
+ 'XRP': 144,
176
+ 'EOS': 194,
177
+ 'BNB': 714,
178
+ 'RUNE': 931,
179
+ 'THOR': 931,
180
+ 'CACAO': 931,
181
+ 'MAYA': 931,
182
+ };
183
+
184
+ return slip44Map[symbol] || 0;
185
+ }
186
+
187
+ /**
188
+ * Output the generated asset data
189
+ */
190
+ function main() {
191
+ const nativeAssets = generateNativeAssetData();
192
+
193
+ console.log('Generated Native Gas Assets:');
194
+ console.log(JSON.stringify(nativeAssets, null, 2));
195
+ console.log(`\nTotal: ${Object.keys(nativeAssets).length} native gas assets`);
196
+
197
+ // Instructions for manual integration
198
+ console.log('\n=== Integration Instructions ===');
199
+ console.log('1. Copy the JSON output above');
200
+ console.log('2. Add it to the TOP of generatedAssetData.json (before ERC20 tokens)');
201
+ console.log('3. Run: cd modules/pioneer/pioneer-discovery && bun run build');
202
+ console.log('4. Run: cd modules/pioneer/pioneer-sdk && bun run build');
203
+ console.log('5. Test: getGasAssets() should now return native assets\n');
204
+ }
205
+
206
+ // Execute if run directly
207
+ if (require.main === module) {
208
+ main();
209
+ }
210
+
211
+ module.exports = { generateNativeAssetData, NATIVE_GAS_ASSETS };