@ercworldio/blockchain-shared 1.0.0-dev.4 → 1.0.0-dev.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/build/chains/networks_dev.json +9 -55
- package/build/chains/networks_prod-bu.json +31 -5
- package/build/chains/networks_prod.json +239 -227
- package/build/chains/networks_stg-bu.json +6 -6
- package/build/chains/networks_stg-dz.json +5 -5
- package/build/interfaces/config.d.ts +4 -0
- package/build/interfaces/config.d.ts.map +1 -1
- package/build/services/AccountingService.d.ts +1 -1
- package/build/services/AccountingService.d.ts.map +1 -1
- package/build/services/AlchemyWebhookSignature.d.ts +3 -3
- package/build/services/AlchemyWebhookSignature.d.ts.map +1 -1
- package/build/services/AlchemyWebhookSignature.js +8 -8
- package/build/services/ChainManager.d.ts.map +1 -1
- package/build/services/ChainManager.js +10 -8
- package/build/services/ClaimJobService.d.ts +1 -0
- package/build/services/ClaimJobService.d.ts.map +1 -1
- package/build/services/ClaimJobService.js +9 -0
- package/build/services/DepositAddressService.d.ts +1 -0
- package/build/services/DepositAddressService.d.ts.map +1 -1
- package/build/services/DepositAddressService.js +11 -0
- package/build/services/InvoiceQueue.d.ts +1 -1
- package/build/services/InvoiceQueue.d.ts.map +1 -1
- package/build/services/KeyVaultService.d.ts +1 -1
- package/build/services/KeyVaultService.d.ts.map +1 -1
- package/build/services/KeyVaultService.js +3 -30
- package/build/services/ProviderManager.d.ts.map +1 -1
- package/build/services/ProviderManager.js +6 -1
- package/build/services/QuicknodeWebhookSignature.d.ts +3 -3
- package/build/services/QuicknodeWebhookSignature.d.ts.map +1 -1
- package/build/services/QuicknodeWebhookSignature.js +8 -8
- package/build/services/Redis.d.ts +20 -9
- package/build/services/Redis.d.ts.map +1 -1
- package/build/services/Redis.js +246 -199
- package/build/services/RedisListQueue.d.ts.map +1 -1
- package/build/services/RedisListQueue.js +7 -1
- package/build/services/StorageService.js +2 -2
- package/build/services/SweepJobService.d.ts +1 -0
- package/build/services/SweepJobService.d.ts.map +1 -1
- package/build/services/SweepJobService.js +9 -0
- package/build/services/TimerManager.d.ts.map +1 -1
- package/build/services/TimerManager.js +9 -1
- package/build/services/WithdrawalManager.d.ts +1 -1
- package/build/services/WithdrawalManager.d.ts.map +1 -1
- package/build/services/WithdrawalManager.js +41 -37
- package/build/services/solana/escrow/SolanaEscrowAdmin.d.ts +1 -1
- package/build/services/solana/escrow/SolanaEscrowAdmin.d.ts.map +1 -1
- package/build/services/solana/escrow/services/EscrowAdminUtility.d.ts +2 -1
- package/build/services/solana/escrow/services/EscrowAdminUtility.d.ts.map +1 -1
- package/build/services/solana/escrow/services/EscrowAdminUtility.js +4 -2
- package/build/services/utils/alchemy.js +1 -1
- package/build/utils/AsyncRateLimiter.d.ts.map +1 -1
- package/build/utils/AsyncRateLimiter.js +3 -0
- package/build/utils/custodial.js +2 -2
- 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":
|
|
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
|
}
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"decimals": 6,
|
|
76
76
|
"address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
|
|
77
77
|
"sweepThreshold": 5,
|
|
78
|
-
"sweepWalletMinBalance":
|
|
78
|
+
"sweepWalletMinBalance": 1
|
|
79
79
|
}
|
|
80
80
|
]
|
|
81
81
|
},
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
"decimals": 18,
|
|
156
156
|
"address": "0x55d398326f99059fF775485246999027B3197955",
|
|
157
157
|
"sweepThreshold": 5,
|
|
158
|
-
"sweepWalletMinBalance":
|
|
158
|
+
"sweepWalletMinBalance": 1
|
|
159
159
|
}
|
|
160
160
|
]
|
|
161
161
|
},
|
|
@@ -235,7 +235,7 @@
|
|
|
235
235
|
"decimals": 6,
|
|
236
236
|
"address": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
|
|
237
237
|
"sweepThreshold": 1,
|
|
238
|
-
"sweepWalletMinBalance":
|
|
238
|
+
"sweepWalletMinBalance": 1
|
|
239
239
|
}
|
|
240
240
|
]
|
|
241
241
|
},
|
|
@@ -464,7 +464,7 @@
|
|
|
464
464
|
"decimals": 6,
|
|
465
465
|
"address": "0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7",
|
|
466
466
|
"sweepThreshold": 5,
|
|
467
|
-
"sweepWalletMinBalance":
|
|
467
|
+
"sweepWalletMinBalance": 1
|
|
468
468
|
}
|
|
469
469
|
]
|
|
470
470
|
},
|
|
@@ -535,7 +535,33 @@
|
|
|
535
535
|
"decimals": 6,
|
|
536
536
|
"address": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
|
|
537
537
|
"sweepThreshold": 5,
|
|
538
|
-
"sweepWalletMinBalance":
|
|
538
|
+
"sweepWalletMinBalance": 1
|
|
539
|
+
}
|
|
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
|
|
539
565
|
}
|
|
540
566
|
]
|
|
541
567
|
}
|