@cityofzion/bs-neo-legacy 0.4.2 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/.rush/temp/package-deps_build.json +21 -0
  2. package/.rush/temp/shrinkwrap-deps.json +2 -2
  3. package/bs-neo-legacy.build.log +1 -86
  4. package/dist/BSNeoLegacy.d.ts +20 -23
  5. package/dist/BSNeoLegacy.js +118 -135
  6. package/dist/CryptoCompareEDSNeoLegacy.d.ts +7 -0
  7. package/dist/CryptoCompareEDSNeoLegacy.js +41 -0
  8. package/dist/DoraBDSNeoLegacy.d.ts +15 -0
  9. package/dist/DoraBDSNeoLegacy.js +162 -0
  10. package/dist/assets/tokens/common.json +18 -0
  11. package/dist/assets/tokens/mainnet.json +620 -0
  12. package/dist/constants.d.ts +10 -4
  13. package/dist/constants.js +20 -17
  14. package/dist/index.d.ts +3 -2
  15. package/dist/index.js +3 -2
  16. package/docs/assets/search.js +1 -1
  17. package/docs/classes/BDSNeoLegacy.html +13 -13
  18. package/docs/classes/BSNeoLegacy.html +81 -37
  19. package/docs/interfaces/DoraNeoLegacyAsset.html +7 -7
  20. package/docs/interfaces/DoraNeoLegacyAssetResponse.html +9 -9
  21. package/docs/interfaces/DoraNeoLegacyBalance.html +5 -5
  22. package/docs/interfaces/DoraNeoLegacyConsensusNode.html +3 -3
  23. package/docs/interfaces/DoraNeoLegacyDetails.html +12 -12
  24. package/docs/interfaces/DoraNeoLegacyEntriesEntity.html +8 -8
  25. package/docs/interfaces/DoraNeoLegacyNameEntity.html +3 -3
  26. package/docs/interfaces/DoraNeoLegacyScriptsEntity.html +3 -3
  27. package/docs/interfaces/DoraNeoLegacyTransaction.html +14 -14
  28. package/docs/interfaces/DoraNeoLegacyTransactionsHistory.html +6 -6
  29. package/docs/interfaces/DoraNeoLegacyUnclaimed.html +4 -4
  30. package/docs/interfaces/DoraNeoLegacyVinEntity.html +3 -3
  31. package/docs/interfaces/DoraNeoLegacyVoutEntity.html +5 -5
  32. package/docs/variables/DORA_NEO_LEGACY_ASSET.html +1 -1
  33. package/docs/variables/DORA_NEO_LEGACY_BALANCE.html +1 -1
  34. package/docs/variables/DORA_NEO_LEGACY_CONTRACT.html +1 -1
  35. package/docs/variables/DORA_NEO_LEGACY_HISTORY_TRANSACTIONS.html +1 -1
  36. package/docs/variables/DORA_NEO_LEGACY_NODES.html +1 -1
  37. package/docs/variables/DORA_NEO_LEGACY_TRANSACTION.html +1 -1
  38. package/docs/variables/DORA_NEO_LEGACY_UNCLAIMED.html +1 -1
  39. package/docs/variables/explorerNeoLegacyOption.html +1 -1
  40. package/jest.config.ts +13 -0
  41. package/jest.setup.ts +1 -0
  42. package/package.json +10 -6
  43. package/src/BSNeoLegacy.ts +184 -152
  44. package/src/CryptoCompareEDSNeoLegacy.ts +40 -0
  45. package/src/DoraBDSNeoLegacy.ts +171 -0
  46. package/src/__tests__/BDSNeoLegacy.spec.ts +120 -0
  47. package/src/__tests__/BSNeoLegacy.spec.ts +127 -0
  48. package/src/__tests__/CryptoCompareExchange.spec.ts +46 -0
  49. package/src/assets/tokens/common.json +18 -0
  50. package/src/assets/tokens/mainnet.json +620 -0
  51. package/src/constants.ts +20 -17
  52. package/src/index.ts +3 -2
  53. package/tsconfig.build.json +4 -0
  54. package/tsconfig.json +3 -7
  55. package/bs-neo-legacy.build.error.log +0 -84
  56. package/src/BDSNeoLegacy.ts +0 -163
  57. package/src/asset/blockchain_icon_neo_legacy.png +0 -0
  58. package/src/asset/blockchain_icon_neo_legacy_white.png +0 -0
  59. package/src/asset/tokens.json +0 -481
  60. package/src/explorer/dora/DoraResponsesNeoLegacy.ts +0 -107
  61. package/src/explorer/dora/DoraRoutesNeoLegacy.ts +0 -7
  62. package/src/explorer/index.ts +0 -8
@@ -0,0 +1,620 @@
1
+ [
2
+ {
3
+ "symbol": "ACAT",
4
+ "type": "NEP5",
5
+ "name": "ACAT Token",
6
+ "hash": "7f86d61ff377f1b12e589a5907152b57e2ad9a7a",
7
+ "decimals": 8,
8
+ "blockchain": "neoLegacy"
9
+ },
10
+ {
11
+ "symbol": "APH",
12
+ "type": "NEP5",
13
+ "name": "Aphelion",
14
+ "hash": "a0777c3ce2b169d4a23bcba4565e3225a0122d95",
15
+ "decimals": 8,
16
+ "blockchain": "neoLegacy"
17
+ },
18
+ {
19
+ "symbol": "APT",
20
+ "type": "NEP5",
21
+ "name": "APPOSTOKEN",
22
+ "hash": "7cd338644833db2fd8824c410e364890d179e6f8",
23
+ "decimals": 8,
24
+ "blockchain": "neoLegacy"
25
+ },
26
+ {
27
+ "symbol": "ASA",
28
+ "type": "NEP5",
29
+ "name": "Asura World Coin",
30
+ "hash": "a58b56b30425d3d1f8902034996fcac4168ef71d",
31
+ "decimals": 8,
32
+ "blockchain": "neoLegacy"
33
+ },
34
+ {
35
+ "symbol": "AVA",
36
+ "cryptocompareSymbol": "AVALA",
37
+ "type": "NEP5",
38
+ "name": "Travala",
39
+ "hash": "de2ed49b691e76754c20fe619d891b78ef58e537",
40
+ "decimals": 8,
41
+ "blockchain": "neoLegacy"
42
+ },
43
+ {
44
+ "symbol": "BCS",
45
+ "type": "NEP5",
46
+ "name": "Block chain store",
47
+ "hash": "546c5872a992b2754ef327154f4c119baabff65f",
48
+ "decimals": 8,
49
+ "blockchain": "neoLegacy"
50
+ },
51
+ {
52
+ "symbol": "BDN",
53
+ "type": "NEP5",
54
+ "name": "Business Data Network",
55
+ "hash": "d0394dd3ee1cdd8ae18665a22c7ca3af52aafd7a",
56
+ "decimals": 6,
57
+ "blockchain": "neoLegacy"
58
+ },
59
+ {
60
+ "symbol": "CGAS",
61
+ "type": "NEP5",
62
+ "name": "NEP5 GAS",
63
+ "hash": "74f2dc36a68fdc4682034178eb2220729231db76",
64
+ "decimals": 8,
65
+ "blockchain": "neoLegacy"
66
+ },
67
+ {
68
+ "symbol": "CGE",
69
+ "type": "NEP5",
70
+ "name": "Concierge Token",
71
+ "hash": "34579e4614ac1a7bd295372d3de8621770c76cdc",
72
+ "decimals": 8,
73
+ "blockchain": "neoLegacy"
74
+ },
75
+ {
76
+ "symbol": "SWTH (OLD)",
77
+ "type": "NEP5",
78
+ "name": "Switcheo Legacy V2",
79
+ "hash": "ab38352559b8b203bde5fddfa0b07d8b2525e132",
80
+ "decimals": 8,
81
+ "blockchain": "neoLegacy"
82
+ },
83
+ {
84
+ "symbol": "CGL",
85
+ "type": "NEP5",
86
+ "name": "CrazyGladiator",
87
+ "hash": "cbbe4c3c0d2a3622e9e8d65fe9f6240078f356c9",
88
+ "decimals": 0,
89
+ "blockchain": "neoLegacy"
90
+ },
91
+ {
92
+ "symbol": "CNEO",
93
+ "type": "NEP5",
94
+ "name": "NEP5 NEO",
95
+ "hash": "c074a05e9dcf0141cbe6b4b3475dd67baf4dcb60",
96
+ "decimals": 8,
97
+ "blockchain": "neoLegacy"
98
+ },
99
+ {
100
+ "symbol": "COUP",
101
+ "type": "NEP5",
102
+ "name": "Coupit",
103
+ "hash": "87d6c2ae68d6a6f411eb72232e75133b2ffc7142",
104
+ "decimals": 8,
105
+ "blockchain": "neoLegacy"
106
+ },
107
+ {
108
+ "symbol": "CPX",
109
+ "type": "NEP5",
110
+ "name": "CPX Token",
111
+ "hash": "45d493a6f73fa5f404244a5fb8472fc014ca5885",
112
+ "decimals": 8,
113
+ "blockchain": "neoLegacy"
114
+ },
115
+ {
116
+ "symbol": "DAD",
117
+ "type": "NEP5",
118
+ "name": "DAD",
119
+ "hash": "bb23c20466c21600b3e38a615c691d15ef251f9c",
120
+ "decimals": 8,
121
+ "blockchain": "neoLegacy"
122
+ },
123
+ {
124
+ "symbol": "DBC",
125
+ "type": "NEP5",
126
+ "name": "DeepBrain Coin",
127
+ "hash": "b951ecbbc5fe37a9c280a76cb0ce0014827294cf",
128
+ "decimals": 8,
129
+ "blockchain": "neoLegacy"
130
+ },
131
+ {
132
+ "symbol": "EDS",
133
+ "type": "NEP5",
134
+ "name": "Endorsit Shares",
135
+ "hash": "81c089ab996fc89c468a26c0a88d23ae2f34b5c0",
136
+ "decimals": 8,
137
+ "blockchain": "neoLegacy"
138
+ },
139
+ {
140
+ "symbol": "EFX",
141
+ "type": "NEP5",
142
+ "name": "Effect.AI Token",
143
+ "hash": "acbc532904b6b51b5ea6d19b803d78af70e7e6f9",
144
+ "decimals": 8,
145
+ "blockchain": "neoLegacy"
146
+ },
147
+ {
148
+ "symbol": "EPN",
149
+ "type": "NEP5",
150
+ "name": "Epiphany",
151
+ "hash": "a79cb7b4e85c8b23940d47bb3ddef76a5f13e449",
152
+ "decimals": 8,
153
+ "blockchain": "neoLegacy"
154
+ },
155
+ {
156
+ "symbol": "EXT",
157
+ "type": "NEP5",
158
+ "name": "Experience Token",
159
+ "hash": "e8f98440ad0d7a6e76d84fb1c3d3f8a16e162e97",
160
+ "decimals": 8,
161
+ "blockchain": "neoLegacy"
162
+ },
163
+ {
164
+ "symbol": "FLM",
165
+ "type": "NEP5",
166
+ "name": "Flamingo Finance",
167
+ "hash": "4d9eab13620fe3569ba3b0e56e2877739e4145e3",
168
+ "decimals": 8,
169
+ "blockchain": "neoLegacy"
170
+ },
171
+ {
172
+ "symbol": "FTW",
173
+ "type": "NEP5",
174
+ "name": "For The Win",
175
+ "hash": "11dbc2316f35ea031449387f615d9e4b0cbafe8b",
176
+ "decimals": 8,
177
+ "blockchain": "neoLegacy"
178
+ },
179
+ {
180
+ "symbol": "FTX",
181
+ "type": "NEP5",
182
+ "name": "For The Win X",
183
+ "hash": "aac66f9779ca67d819d05492805d251dab02fc7b",
184
+ "decimals": 8,
185
+ "blockchain": "neoLegacy"
186
+ },
187
+ {
188
+ "symbol": "GALA",
189
+ "type": "NEP5",
190
+ "name": "Galaxy Token",
191
+ "hash": "9577c3f972d769220d69d1c4ddbd617c44d067aa",
192
+ "decimals": 8,
193
+ "blockchain": "neoLegacy"
194
+ },
195
+ {
196
+ "symbol": "GDM",
197
+ "type": "NEP5",
198
+ "name": "Guardium",
199
+ "hash": "d1e37547d88bc9607ff9d73116ebd9381c156f79",
200
+ "decimals": 8,
201
+ "blockchain": "neoLegacy"
202
+ },
203
+ {
204
+ "symbol": "GTA",
205
+ "type": "NEP5",
206
+ "name": "GagaPay network token",
207
+ "hash": "06f4b1235f6300477d56b9a1f1de5b0172dfe103",
208
+ "decimals": 8,
209
+ "blockchain": "neoLegacy"
210
+ },
211
+ {
212
+ "symbol": "GUARD",
213
+ "type": "NEP5",
214
+ "name": "Guardium GUARD",
215
+ "hash": "591f92493cd6dd003470e41376f79a515abc707f",
216
+ "decimals": 8,
217
+ "blockchain": "neoLegacy"
218
+ },
219
+ {
220
+ "symbol": "IAM",
221
+ "type": "NEP5",
222
+ "name": "Bridge Token",
223
+ "hash": "891daf0e1750a1031ebe23030828ad7781d874d6",
224
+ "decimals": 8,
225
+ "blockchain": "neoLegacy"
226
+ },
227
+ {
228
+ "symbol": "JWT",
229
+ "type": "NEP5",
230
+ "name": "Jarvis+ World cup 2018 Token",
231
+ "hash": "b4cf9f4af5272d209b80ad1a06885e21568a4bfa",
232
+ "decimals": 8,
233
+ "blockchain": "neoLegacy"
234
+ },
235
+ {
236
+ "symbol": "LRN",
237
+ "type": "NEP5",
238
+ "name": "Loopring Neo Token",
239
+ "hash": "06fa8be9b6609d963e8fc63977b9f8dc5f10895f",
240
+ "decimals": 8,
241
+ "blockchain": "neoLegacy"
242
+ },
243
+ {
244
+ "symbol": "LX",
245
+ "type": "NEP5",
246
+ "name": "Moonlight Lux",
247
+ "hash": "cea5a3963a5813a26accc6bc67e9be9d14d395f0",
248
+ "decimals": 8,
249
+ "blockchain": "neoLegacy"
250
+ },
251
+ {
252
+ "symbol": "MCT",
253
+ "type": "NEP5",
254
+ "name": "Master Contract Token",
255
+ "hash": "a87cc2a513f5d8b4a42432343687c2127c60bc3f",
256
+ "decimals": 8,
257
+ "blockchain": "neoLegacy"
258
+ },
259
+ {
260
+ "symbol": "MRG",
261
+ "type": "NEP5",
262
+ "name": "merge",
263
+ "hash": "5a3973149608ddbc9b509fc951b3ff2c47419774",
264
+ "decimals": 8,
265
+ "blockchain": "neoLegacy"
266
+ },
267
+ {
268
+ "symbol": "MRW",
269
+ "type": "NEP5",
270
+ "name": "MirrorRoid World Coin",
271
+ "hash": "02f5f3c6e6bd07c8ff07ad779bb4f7bf9dc735e3",
272
+ "decimals": 8,
273
+ "blockchain": "neoLegacy"
274
+ },
275
+ {
276
+ "symbol": "NEX",
277
+ "type": "NEP5",
278
+ "name": "NEX Token",
279
+ "hash": "3a4acd3647086e7c44398aac0349802e6a171129",
280
+ "decimals": 8,
281
+ "blockchain": "neoLegacy"
282
+ },
283
+ {
284
+ "symbol": "NKN",
285
+ "type": "NEP5",
286
+ "name": "NKN",
287
+ "hash": "c36aee199dbba6c3f439983657558cfb67629599",
288
+ "decimals": 8,
289
+ "blockchain": "neoLegacy"
290
+ },
291
+ {
292
+ "symbol": "NNC",
293
+ "type": "NEP5",
294
+ "name": "NEO Name Credit",
295
+ "hash": "fc732edee1efdf968c23c20a9628eaa5a6ccb934",
296
+ "decimals": 2,
297
+ "blockchain": "neoLegacy"
298
+ },
299
+ {
300
+ "symbol": "NNN",
301
+ "type": "NEP5",
302
+ "name": "Novem Gold Token",
303
+ "hash": "53b7577befb37d4d3b95a02f60f5da8933ab5f04",
304
+ "decimals": 8,
305
+ "blockchain": "neoLegacy"
306
+ },
307
+ {
308
+ "symbol": "NOS",
309
+ "type": "NEP5",
310
+ "name": "nOS",
311
+ "hash": "c9c0fc5a2b66a29d6b14601e752e6e1a445e088d",
312
+ "decimals": 8,
313
+ "blockchain": "neoLegacy"
314
+ },
315
+ {
316
+ "symbol": "NRVE",
317
+ "type": "NEP5",
318
+ "name": "Narrative Token",
319
+ "hash": "a721d5893480260bd28ca1f395f2c465d0b5b1c2",
320
+ "decimals": 8,
321
+ "blockchain": "neoLegacy"
322
+ },
323
+ {
324
+ "symbol": "NVL",
325
+ "type": "NEP5",
326
+ "name": "Nevula Token",
327
+ "hash": "6c5fa71d1cfb37eb579458af8accd3128e6b1fca",
328
+ "decimals": 4,
329
+ "blockchain": "neoLegacy"
330
+ },
331
+ {
332
+ "symbol": "NVM",
333
+ "type": "NEP5",
334
+ "name": "Novem Token",
335
+ "hash": "2077a653306adb450516ea4813aebfbcdf594c97",
336
+ "decimals": 8,
337
+ "blockchain": "neoLegacy"
338
+ },
339
+ {
340
+ "symbol": "OBT",
341
+ "type": "NEP5",
342
+ "name": "Orbis",
343
+ "hash": "0e86a40588f715fcaf7acd1812d50af478e6e917",
344
+ "decimals": 8,
345
+ "blockchain": "neoLegacy"
346
+ },
347
+ {
348
+ "symbol": "ONT",
349
+ "type": "NEP5",
350
+ "name": "Ontology Token",
351
+ "hash": "ceab719b8baa2310f232ee0d277c061704541cfb",
352
+ "decimals": 8,
353
+ "blockchain": "neoLegacy"
354
+ },
355
+ {
356
+ "symbol": "PEGCNY",
357
+ "type": "NEP5",
358
+ "name": "FiatPeg CNY",
359
+ "hash": "dc054310dfdb455e58fea2b05d085924708065b8",
360
+ "decimals": 8,
361
+ "blockchain": "neoLegacy"
362
+ },
363
+ {
364
+ "symbol": "PEGUSD",
365
+ "type": "NEP5",
366
+ "name": "FiatPeg USD",
367
+ "hash": "ce150fa3ded336886871664e827f16fb70c45ceb",
368
+ "decimals": 8,
369
+ "blockchain": "neoLegacy"
370
+ },
371
+ {
372
+ "symbol": "PHX",
373
+ "type": "NEP5",
374
+ "name": "Red Pulse Phoenix Token",
375
+ "hash": "1578103c13e39df15d0d29826d957e85d770d8c9",
376
+ "decimals": 8,
377
+ "blockchain": "neoLegacy"
378
+ },
379
+ {
380
+ "symbol": "PKC",
381
+ "type": "NEP5",
382
+ "name": "Pikcio Token",
383
+ "hash": "af7c7328eee5a275a3bcaee2bf0cf662b5e739be",
384
+ "decimals": 8,
385
+ "blockchain": "neoLegacy"
386
+ },
387
+ {
388
+ "symbol": "PROQ",
389
+ "type": "NEP5",
390
+ "name": "Quarteria Token",
391
+ "hash": "2199c8dd506f73afddcbd6146c6271626931f735",
392
+ "decimals": 8,
393
+ "blockchain": "neoLegacy"
394
+ },
395
+ {
396
+ "symbol": "QLC",
397
+ "type": "NEP5",
398
+ "name": "Qlink Token",
399
+ "hash": "0d821bd7b6d53f5c2b40e217c6defc8bbe896cf5",
400
+ "decimals": 8,
401
+ "blockchain": "neoLegacy"
402
+ },
403
+ {
404
+ "symbol": "RCPT",
405
+ "type": "NEP5",
406
+ "name": "Recoupit",
407
+ "hash": "0dc27e3977160128c0dd6077a4b5a8b088eed151",
408
+ "decimals": 8,
409
+ "blockchain": "neoLegacy"
410
+ },
411
+ {
412
+ "symbol": "RHT",
413
+ "type": "NEP5",
414
+ "name": "Redeemable HashPuppy Token",
415
+ "hash": "2328008e6f6c7bd157a342e789389eb034d9cbc4",
416
+ "decimals": 0,
417
+ "blockchain": "neoLegacy"
418
+ },
419
+ {
420
+ "symbol": "RPX",
421
+ "type": "NEP5",
422
+ "name": "Red Pulse Token",
423
+ "hash": "ecc6b20d3ccac1ee9ef109af5a7cdb85706b1df9",
424
+ "decimals": 8,
425
+ "blockchain": "neoLegacy"
426
+ },
427
+ {
428
+ "symbol": "SCC",
429
+ "type": "NEP5",
430
+ "name": "Stem Cell Coin",
431
+ "hash": "323571cfc42a40d48d64832a7da594039fbac76a",
432
+ "decimals": 8,
433
+ "blockchain": "neoLegacy"
434
+ },
435
+ {
436
+ "symbol": "SDS",
437
+ "type": "NEP5",
438
+ "name": "Standards",
439
+ "hash": "6fad54d8cc692fc808fd97a207836a846c217705",
440
+ "decimals": 8,
441
+ "blockchain": "neoLegacy"
442
+ },
443
+ {
444
+ "symbol": "SDT",
445
+ "type": "NEP5",
446
+ "name": "Special Drawing Token",
447
+ "hash": "a4f408df2a1ec2a950ec5fd06d7b9dc5f83b9e73",
448
+ "decimals": 8,
449
+ "blockchain": "neoLegacy"
450
+ },
451
+ {
452
+ "symbol": "SENNO",
453
+ "type": "NEP5",
454
+ "name": "The Senno Token",
455
+ "hash": "d3526b437d65f8c12c902e14320abd440ad1f726",
456
+ "decimals": 8,
457
+ "blockchain": "neoLegacy"
458
+ },
459
+ {
460
+ "symbol": "SGAS",
461
+ "type": "NEP5",
462
+ "name": "NEP5.5 Coin With GAS 1:1",
463
+ "hash": "961e628cc93d61bf636dc0443cf0548947a50dbe",
464
+ "decimals": 8,
465
+ "blockchain": "neoLegacy"
466
+ },
467
+ {
468
+ "symbol": "SGT",
469
+ "type": "NEP5",
470
+ "name": "Safeguard Token",
471
+ "hash": "02728be64b898d1af733aa7f3f00f33b1b209dae",
472
+ "decimals": 8,
473
+ "blockchain": "neoLegacy"
474
+ },
475
+ {
476
+ "symbol": "SOUL",
477
+ "cryptocompareSymbol": "SOUL*",
478
+ "type": "NEP5",
479
+ "name": "Phantasma",
480
+ "hash": "ed07cffad18f1308db51920d99a2af60ac66a7b3",
481
+ "decimals": 8,
482
+ "blockchain": "neoLegacy"
483
+ },
484
+ {
485
+ "symbol": "SPOT",
486
+ "type": "NEP5",
487
+ "name": "Spotcoin",
488
+ "hash": "0a91cdc3c5ff89983c79e3c72e1ccd9e5beaa5d5",
489
+ "decimals": 8,
490
+ "blockchain": "neoLegacy"
491
+ },
492
+ {
493
+ "symbol": "SWH",
494
+ "type": "NEP5",
495
+ "name": "Switcheo",
496
+ "hash": "78e6d16b914fe15bc16150aeb11d0c2a8e532bdd",
497
+ "decimals": 8,
498
+ "blockchain": "neoLegacy"
499
+ },
500
+ {
501
+ "symbol": "THOR",
502
+ "type": "NEP5",
503
+ "name": "Thor Token",
504
+ "hash": "67a5086bac196b67d5fd20745b0dc9db4d2930ed",
505
+ "decimals": 8,
506
+ "blockchain": "neoLegacy"
507
+ },
508
+ {
509
+ "symbol": "TKY",
510
+ "type": "NEP5",
511
+ "name": "THEKEY Token",
512
+ "hash": "132947096727c84c7f9e076c90f08fec3bc17f18",
513
+ "decimals": 8,
514
+ "blockchain": "neoLegacy"
515
+ },
516
+ {
517
+ "symbol": "TMN",
518
+ "type": "NEP5",
519
+ "name": "TranslateMe Network Token",
520
+ "hash": "d613223fa138a1555ff711581982462acde209c5",
521
+ "decimals": 8,
522
+ "blockchain": "neoLegacy"
523
+ },
524
+ {
525
+ "symbol": "TNC",
526
+ "type": "NEP5",
527
+ "name": "Trinity Network Credit",
528
+ "hash": "08e8c4400f1af2c20c28e0018f29535eb85d15b6",
529
+ "decimals": 8,
530
+ "blockchain": "neoLegacy"
531
+ },
532
+ {
533
+ "symbol": "BRDG",
534
+ "type": "NEP5",
535
+ "name": "Bridge Protocol",
536
+ "hash": "bac0d143a547dc66a1d6a2b7d66b06de42614971",
537
+ "decimals": 8,
538
+ "blockchain": "neoLegacy"
539
+ },
540
+ {
541
+ "symbol": "UTD",
542
+ "type": "NEP5",
543
+ "name": "AIRDROP UNITED",
544
+ "hash": "8399031038683d2867fbe1ba06fb26965ccd1de0",
545
+ "decimals": 8,
546
+ "blockchain": "neoLegacy"
547
+ },
548
+ {
549
+ "symbol": "WANDN",
550
+ "type": "NEP5",
551
+ "name": "WAND NEO",
552
+ "hash": "7703bf394b5f884ebf57b9c6d22f106035e2c029",
553
+ "decimals": 8,
554
+ "blockchain": "neoLegacy"
555
+ },
556
+ {
557
+ "symbol": "WHT",
558
+ "type": "NEP5",
559
+ "name": "World Hideout Coin",
560
+ "hash": "25bd2b29636fed5945d26e1d03d279e1d9259320",
561
+ "decimals": 8,
562
+ "blockchain": "neoLegacy"
563
+ },
564
+ {
565
+ "symbol": "WWB",
566
+ "type": "NEP5",
567
+ "name": "Wowbit",
568
+ "hash": "40bb36a54bf28872b6ffdfa7fbc6480900e58448",
569
+ "decimals": 8,
570
+ "blockchain": "neoLegacy"
571
+ },
572
+ {
573
+ "symbol": "XQT",
574
+ "type": "NEP5",
575
+ "name": "Quarteria Token",
576
+ "hash": "7ac4a2bb052a047506f2f2d3d1528b89cc38e8d4",
577
+ "decimals": 8,
578
+ "blockchain": "neoLegacy"
579
+ },
580
+ {
581
+ "symbol": "XQTA",
582
+ "type": "NEP5",
583
+ "name": "Quarteria Token",
584
+ "hash": "6eca2c4bd2b3ed97b2aa41b26128a40ce2bd8d1a",
585
+ "decimals": 8,
586
+ "blockchain": "neoLegacy"
587
+ },
588
+ {
589
+ "symbol": "YEZ",
590
+ "type": "NEP5",
591
+ "name": "Yezcoin",
592
+ "hash": "b0036a6e8cf172146c7e71a3b53912556d5788e3",
593
+ "decimals": 8,
594
+ "blockchain": "neoLegacy"
595
+ },
596
+ {
597
+ "symbol": "LFX",
598
+ "type": "NEP5",
599
+ "name": "LIFEX",
600
+ "hash": "c54fc1e02a674ce2de52493b3138fb80ccff5a6e",
601
+ "decimals": 8,
602
+ "blockchain": "neoLegacy"
603
+ },
604
+ {
605
+ "symbol": "ZPT",
606
+ "type": "NEP5",
607
+ "name": "Zeepin Token",
608
+ "hash": "ac116d4b8d4ca55e6b6d4ecce2192039b51cccc5",
609
+ "decimals": 8,
610
+ "blockchain": "neoLegacy"
611
+ },
612
+ {
613
+ "symbol": "SWTH",
614
+ "type": "NEP5",
615
+ "name": "Switcheo V3",
616
+ "hash": "3e09e602eeeb401a2fec8e8ea137d59aae54a139",
617
+ "decimals": 8,
618
+ "blockchain": "neoLegacy"
619
+ }
620
+ ]
package/src/constants.ts CHANGED
@@ -1,20 +1,23 @@
1
- import { TokenInfo } from "@cityofzion/blockchain-service"
1
+ import { NetworkType, Token } from '@cityofzion/blockchain-service'
2
+ import commom from './assets/tokens/common.json'
3
+ import mainnet from './assets/tokens/mainnet.json'
2
4
 
3
- export const unclaimedTokenNeoLegacy = {
4
- symbol: 'GAS',
5
- name: 'GAS',
6
- hash: '0x602c79718b16e442de58778e148d0b1084e3b2dffd5de6b7b16cee7969282de7'
5
+ export const TOKENS: Record<NetworkType, Token[]> = {
6
+ mainnet: [...commom, ...mainnet],
7
+ testnet: commom,
8
+ custom: commom,
7
9
  }
8
10
 
9
- export const nativeAssetsNeoLegacy: TokenInfo[] = [
10
- {
11
- decimals: 8,
12
- symbol: 'GAS',
13
- hash: '0x602c79718b16e442de58778e148d0b1084e3b2dffd5de6b7b16cee7969282de7'
14
- },
15
- {
16
- decimals: 0,
17
- symbol: 'NEO',
18
- hash: '0xc56f33fc6ecfcd0c225c4ab356fee59390af8560be0e930faebe74a6daff7c9b'
19
- }
20
- ]
11
+ export const LEGACY_NETWORK_BY_NETWORK_TYPE: Record<Exclude<NetworkType, 'custom'>, string> = {
12
+ mainnet: 'MainNet',
13
+ testnet: 'TestNet',
14
+ }
15
+
16
+ export const NATIVE_ASSETS = commom
17
+
18
+ export const DEFAULT_URL_BY_NETWORK_TYPE: Record<Exclude<NetworkType, 'custom'>, string> = {
19
+ mainnet: 'http://seed9.ngd.network:10332',
20
+ testnet: 'http://seed5.ngd.network:20332',
21
+ }
22
+
23
+ export const DERIVATION_PATH = "m/44'/888'/0'/0/?"
package/src/index.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export * from './BSNeoLegacy'
2
- export * from './BDSNeoLegacy'
3
- export * from './explorer'
2
+ export * from './DoraBDSNeoLegacy'
3
+ export * from './constants'
4
+ export * from './CryptoCompareEDSNeoLegacy'
@@ -0,0 +1,4 @@
1
+ {
2
+ "extends": "./tsconfig.json",
3
+ "exclude": ["src/__tests__"]
4
+ }
package/tsconfig.json CHANGED
@@ -4,15 +4,11 @@
4
4
  "lib": ["ESNext"],
5
5
  "outDir": "./dist"
6
6
  },
7
- "include": [
8
- "src"
9
- ],
10
- "exclude": [
11
- "node_modules"
12
- ],
7
+ "include": ["src"],
8
+ "exclude": ["node_modules"],
13
9
  "typedocOptions": {
14
10
  "entryPoints": ["./src/index.ts"],
15
11
  "out": "docs",
16
12
  "exclude": "**/node_modules/**"
17
13
  }
18
- }
14
+ }