@ercworldio/blockchain-shared 1.0.0-dev.4 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/build/chains/networks_dev.json +9 -55
  2. package/build/chains/networks_prod-bu.json +26 -0
  3. package/build/chains/networks_prod.json +233 -221
  4. package/build/services/AccountingService.d.ts +1 -1
  5. package/build/services/AccountingService.d.ts.map +1 -1
  6. package/build/services/ChainManager.d.ts.map +1 -1
  7. package/build/services/ChainManager.js +10 -8
  8. package/build/services/ClaimJobService.d.ts +1 -0
  9. package/build/services/ClaimJobService.d.ts.map +1 -1
  10. package/build/services/ClaimJobService.js +9 -0
  11. package/build/services/DepositAddressService.d.ts +1 -0
  12. package/build/services/DepositAddressService.d.ts.map +1 -1
  13. package/build/services/DepositAddressService.js +11 -0
  14. package/build/services/InvoiceQueue.d.ts +1 -1
  15. package/build/services/InvoiceQueue.d.ts.map +1 -1
  16. package/build/services/ProviderManager.d.ts.map +1 -1
  17. package/build/services/ProviderManager.js +6 -1
  18. package/build/services/Redis.d.ts +20 -9
  19. package/build/services/Redis.d.ts.map +1 -1
  20. package/build/services/Redis.js +246 -199
  21. package/build/services/RedisListQueue.d.ts.map +1 -1
  22. package/build/services/RedisListQueue.js +7 -1
  23. package/build/services/SweepJobService.d.ts +1 -0
  24. package/build/services/SweepJobService.d.ts.map +1 -1
  25. package/build/services/SweepJobService.js +9 -0
  26. package/build/services/TimerManager.d.ts.map +1 -1
  27. package/build/services/TimerManager.js +9 -1
  28. package/build/services/WithdrawalManager.d.ts +1 -1
  29. package/build/services/WithdrawalManager.d.ts.map +1 -1
  30. package/build/services/WithdrawalManager.js +41 -37
  31. package/build/services/solana/escrow/SolanaEscrowAdmin.d.ts +1 -1
  32. package/build/services/solana/escrow/SolanaEscrowAdmin.d.ts.map +1 -1
  33. package/build/services/solana/escrow/services/EscrowAdminUtility.d.ts +2 -1
  34. package/build/services/solana/escrow/services/EscrowAdminUtility.d.ts.map +1 -1
  35. package/build/services/solana/escrow/services/EscrowAdminUtility.js +4 -2
  36. package/build/services/utils/alchemy.js +1 -1
  37. package/build/utils/AsyncRateLimiter.d.ts.map +1 -1
  38. package/build/utils/AsyncRateLimiter.js +3 -0
  39. package/build/utils/custodial.js +2 -2
  40. package/package.json +2 -2
@@ -25,52 +25,6 @@
25
25
  }
26
26
  ]
27
27
  },
28
- "728126428": {
29
- "status": false,
30
- "isTestnet": false,
31
- "name": "Tron Mainnet",
32
- "blockchainType": "tron",
33
- "chainId": 728126428,
34
- "blockexplorerUrl": "https://tronscan.org",
35
- "tronConfig": {
36
- "trxTransferCost": 270000,
37
- "trc20TransferCost": 4000000
38
- },
39
- "rpcMetadata": {
40
- "rpcBaseUrl": "https://rpc.ankr.com/premium-http/tron",
41
- "tronGridApi": "https://api.trongrid.io"
42
- },
43
- "rpcBaseUrl": "https://api.nileex.io",
44
- "rpcBaseUrlWss": "",
45
- "targetConfirmations": 2,
46
- "quicknodeStreams": [],
47
- "custodialAlchemyWebhooks": [],
48
- "contracts": [],
49
- "paymentTokens": [
50
- {
51
- "name": "Tron",
52
- "symbol": "TRX",
53
- "token_standard": "TRX",
54
- "type": "native",
55
- "isStableCoin": false,
56
- "decimals": 6,
57
- "address": "0000000000000000000000000000000000000000",
58
- "sweepThreshold": 10,
59
- "sweepWalletMinBalance": 6
60
- },
61
- {
62
- "name": "Tether Token",
63
- "symbol": "USDT",
64
- "token_standard": "TRC-20",
65
- "type": "trc20",
66
- "isStableCoin": true,
67
- "decimals": 6,
68
- "address": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
69
- "sweepThreshold": 1,
70
- "sweepWalletMinBalance": 0
71
- }
72
- ]
73
- },
74
28
  "3448148188": {
75
29
  "status": true,
76
30
  "isTestnet": true,
@@ -145,7 +99,7 @@
145
99
  "decimals": 6,
146
100
  "address": "TXYZopYRdj2D9XRtbG411XZZ3kM5VkAeBf",
147
101
  "sweepThreshold": 1,
148
- "sweepWalletMinBalance": 0
102
+ "sweepWalletMinBalance": 0.1
149
103
  }
150
104
  ]
151
105
  },
@@ -224,7 +178,7 @@
224
178
  "decimals": 6,
225
179
  "address": "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU",
226
180
  "sweepThreshold": 1,
227
- "sweepWalletMinBalance": 0
181
+ "sweepWalletMinBalance": 0.1
228
182
  }
229
183
  ]
230
184
  },
@@ -304,7 +258,7 @@
304
258
  "isStableCoin": true,
305
259
  "address": "0x24607248E7F55B28548971B75A64d74515b49584",
306
260
  "sweepThreshold": 10,
307
- "sweepWalletMinBalance": 0
261
+ "sweepWalletMinBalance": 0.1
308
262
  }
309
263
  ]
310
264
  },
@@ -376,7 +330,7 @@
376
330
  "decimals": 6,
377
331
  "address": "0x00E15B31f48aC6DB632aABf5B656e118b31b1BeB",
378
332
  "sweepThreshold": 10,
379
- "sweepWalletMinBalance": 0
333
+ "sweepWalletMinBalance": 0.1
380
334
  }
381
335
  ]
382
336
  },
@@ -456,12 +410,12 @@
456
410
  "decimals": 6,
457
411
  "address": "0x6F8cCEFD7Ba389713C3DCFA6C145f2d4fC2731a9",
458
412
  "sweepThreshold": 10,
459
- "sweepWalletMinBalance": 0
413
+ "sweepWalletMinBalance": 0.1
460
414
  }
461
415
  ]
462
416
  },
463
417
  "200810": {
464
- "status": true,
418
+ "status": false,
465
419
  "isTestnet": true,
466
420
  "name": "Bitlayer Testnet",
467
421
  "blockchainType": "evm",
@@ -550,7 +504,7 @@
550
504
  "decimals": 6,
551
505
  "address": "0xd36A20dB12953F0bf09C66B08c1771ae046D2152",
552
506
  "sweepThreshold": 10,
553
- "sweepWalletMinBalance": 0
507
+ "sweepWalletMinBalance": 0.1
554
508
  }
555
509
  ]
556
510
  },
@@ -629,7 +583,7 @@
629
583
  "isStableCoin": true,
630
584
  "address": "0x6F8cCEFD7Ba389713C3DCFA6C145f2d4fC2731a9",
631
585
  "sweepThreshold": 10,
632
- "sweepWalletMinBalance": 0
586
+ "sweepWalletMinBalance": 0.1
633
587
  }
634
588
  ]
635
589
  },
@@ -708,7 +662,7 @@
708
662
  "decimals": 6,
709
663
  "address": "0xc60f378d2C9Cc06c4830B788976bc1003d5159fe",
710
664
  "sweepThreshold": 10,
711
- "sweepWalletMinBalance": 0
665
+ "sweepWalletMinBalance": 0.1
712
666
  }
713
667
  ]
714
668
  }
@@ -538,5 +538,31 @@
538
538
  "sweepWalletMinBalance": 0
539
539
  }
540
540
  ]
541
+ },
542
+ "1000000000": {
543
+ "status": true,
544
+ "isTestnet": false,
545
+ "name": "BTC Lightning",
546
+ "blockchainType": "lightning",
547
+ "chainId": 1000000000,
548
+ "blockexplorerUrl": "https://mempool.space/lightning",
549
+ "rpcBaseUrl": "",
550
+ "rpcBaseUrlWss": "",
551
+ "targetConfirmations": 1,
552
+ "custodialAlchemyWebhooks": [],
553
+ "contracts": [],
554
+ "paymentTokens": [
555
+ {
556
+ "name": "Bitcoin",
557
+ "symbol": "BTC",
558
+ "token_standard": "LIGHTNING",
559
+ "type": "native",
560
+ "isStableCoin": false,
561
+ "decimals": 8,
562
+ "address": "000000000000000000000000000000000000000000",
563
+ "sweepThreshold": 0.001,
564
+ "sweepWalletMinBalance": 0.01
565
+ }
566
+ ]
541
567
  }
542
568
  }