@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.
Files changed (54) hide show
  1. package/build/chains/networks_dev.json +9 -55
  2. package/build/chains/networks_prod-bu.json +31 -5
  3. package/build/chains/networks_prod.json +239 -227
  4. package/build/chains/networks_stg-bu.json +6 -6
  5. package/build/chains/networks_stg-dz.json +5 -5
  6. package/build/interfaces/config.d.ts +4 -0
  7. package/build/interfaces/config.d.ts.map +1 -1
  8. package/build/services/AccountingService.d.ts +1 -1
  9. package/build/services/AccountingService.d.ts.map +1 -1
  10. package/build/services/AlchemyWebhookSignature.d.ts +3 -3
  11. package/build/services/AlchemyWebhookSignature.d.ts.map +1 -1
  12. package/build/services/AlchemyWebhookSignature.js +8 -8
  13. package/build/services/ChainManager.d.ts.map +1 -1
  14. package/build/services/ChainManager.js +10 -8
  15. package/build/services/ClaimJobService.d.ts +1 -0
  16. package/build/services/ClaimJobService.d.ts.map +1 -1
  17. package/build/services/ClaimJobService.js +9 -0
  18. package/build/services/DepositAddressService.d.ts +1 -0
  19. package/build/services/DepositAddressService.d.ts.map +1 -1
  20. package/build/services/DepositAddressService.js +11 -0
  21. package/build/services/InvoiceQueue.d.ts +1 -1
  22. package/build/services/InvoiceQueue.d.ts.map +1 -1
  23. package/build/services/KeyVaultService.d.ts +1 -1
  24. package/build/services/KeyVaultService.d.ts.map +1 -1
  25. package/build/services/KeyVaultService.js +3 -30
  26. package/build/services/ProviderManager.d.ts.map +1 -1
  27. package/build/services/ProviderManager.js +6 -1
  28. package/build/services/QuicknodeWebhookSignature.d.ts +3 -3
  29. package/build/services/QuicknodeWebhookSignature.d.ts.map +1 -1
  30. package/build/services/QuicknodeWebhookSignature.js +8 -8
  31. package/build/services/Redis.d.ts +20 -9
  32. package/build/services/Redis.d.ts.map +1 -1
  33. package/build/services/Redis.js +246 -199
  34. package/build/services/RedisListQueue.d.ts.map +1 -1
  35. package/build/services/RedisListQueue.js +7 -1
  36. package/build/services/StorageService.js +2 -2
  37. package/build/services/SweepJobService.d.ts +1 -0
  38. package/build/services/SweepJobService.d.ts.map +1 -1
  39. package/build/services/SweepJobService.js +9 -0
  40. package/build/services/TimerManager.d.ts.map +1 -1
  41. package/build/services/TimerManager.js +9 -1
  42. package/build/services/WithdrawalManager.d.ts +1 -1
  43. package/build/services/WithdrawalManager.d.ts.map +1 -1
  44. package/build/services/WithdrawalManager.js +41 -37
  45. package/build/services/solana/escrow/SolanaEscrowAdmin.d.ts +1 -1
  46. package/build/services/solana/escrow/SolanaEscrowAdmin.d.ts.map +1 -1
  47. package/build/services/solana/escrow/services/EscrowAdminUtility.d.ts +2 -1
  48. package/build/services/solana/escrow/services/EscrowAdminUtility.d.ts.map +1 -1
  49. package/build/services/solana/escrow/services/EscrowAdminUtility.js +4 -2
  50. package/build/services/utils/alchemy.js +1 -1
  51. package/build/utils/AsyncRateLimiter.d.ts.map +1 -1
  52. package/build/utils/AsyncRateLimiter.js +3 -0
  53. package/build/utils/custodial.js +2 -2
  54. package/package.json +2 -2
@@ -1,100 +1,27 @@
1
1
  {
2
- "1000000000": {
3
- "status": true,
4
- "isTestnet": false,
5
- "name": "Lightning Network",
6
- "blockchainType": "lightning",
7
- "chainId": 1000000000,
8
- "blockexplorerUrl": "https://mempool.space/lightning",
9
- "rpcBaseUrl": "",
10
- "rpcBaseUrlWss": "",
11
- "targetConfirmations": 1,
12
- "custodialAlchemyWebhooks": [],
13
- "contracts": [],
14
- "paymentTokens": []
15
- },
16
- "728126428": {
17
- "status": true,
18
- "isTestnet": false,
19
- "name": "Tron",
20
- "blockchainType": "tron",
21
- "chainId": 728126428,
22
- "blockexplorerUrl": "https://tronscan.org",
23
- "tronConfig": {
24
- "trxTransferCost": 270000,
25
- "trc20TransferCost": 4000000
26
- },
27
- "accounting": {
28
- "funding_wallet": "TN4tXH5F36BxWEe8UQuUeMr1EuPwJjNUFJ",
29
- "treasury_receiver": "TN4tXH5F36BxWEe8UQuUeMr1EuPwJjNUFJ",
30
- "overflow_treasury_receiver": "TCdE3ZGvBjUcqVCreT25SWwF36gkiLYTGD",
31
- "overflow_threshold_decimal": 100000
32
- },
33
- "rpcMetadata": {
34
- "rpcBaseUrl": "https://rpc.ankr.com/premium-http/tron",
35
- "tronGridApi": "https://api.trongrid.io"
36
- },
37
- "rpcBaseUrl": "https://api.nileex.io",
38
- "rpcBaseUrlWss": "",
39
- "targetConfirmations": 2,
40
- "quicknodeStreams": [
41
- {
42
- "network": "tron-mainnet",
43
- "dataset": "logs",
44
- "name": "tron-custodial-transfers",
45
- "listConfig": {
46
- "key": "custodial-addresses"
47
- }
48
- }
49
- ],
50
- "custodialAlchemyWebhooks": [],
51
- "contracts": [],
52
- "paymentTokens": [
53
- {
54
- "name": "Tron",
55
- "symbol": "TRX",
56
- "token_standard": "TRX",
57
- "type": "native",
58
- "decimals": 6,
59
- "address": "0000000000000000000000000000000000000000",
60
- "sweepThreshold": 10,
61
- "sweepWalletMinBalance": 6
62
- },
63
- {
64
- "name": "Tether Token",
65
- "symbol": "USDT",
66
- "token_standard": "TRC-20",
67
- "type": "trc20",
68
- "decimals": 6,
69
- "address": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
70
- "sweepThreshold": 5,
71
- "sweepWalletMinBalance": 0
72
- }
73
- ]
74
- },
75
- "101": {
2
+ "1": {
76
3
  "status": true,
77
4
  "isTestnet": false,
78
- "name": "Solana",
79
- "blockchainType": "solana",
80
- "chainId": 101,
81
- "blockexplorerUrl": "https://solscan.io",
82
- "rpcBaseUrl": "https://rpc.ankr.com/solana",
83
- "rpcBaseUrlWss": "wss://rpc.ankr.com/solana/ws",
84
- "targetConfirmations": 2,
5
+ "name": "Ethereum",
6
+ "blockchainType": "evm",
7
+ "chainId": 1,
8
+ "blockexplorerUrl": "https://sepolia.etherscan.io",
9
+ "rpcBaseUrl": "https://rpc.ankr.com/eth_sepolia",
10
+ "rpcBaseUrlWss": "wss://rpc.ankr.com/eth_sepolia/ws",
11
+ "targetConfirmations": 10,
85
12
  "accounting": {
86
- "funding_wallet": "GLfRJqsRtTNDVvYVccXrz8RCKNnad2hqQfgFaApAKXCq",
87
- "treasury_receiver": "AAuFzrm6H4Vv7UyJi8R5Gsm4ixtR2yVmqzLmuyUTS5cu",
88
- "overflow_treasury_receiver": "GLfRJqsRtTNDVvYVccXrz8RCKNnad2hqQfgFaApAKXCq",
13
+ "funding_wallet": "0xF84a78E56fBACAADd73E59eDAe02b3b80e4966C8",
14
+ "treasury_receiver": "0xEA8Ad078561B83724EEcDBb5b5A4f03369115Cf8",
15
+ "overflow_treasury_receiver": "0xF84a78E56fBACAADd73E59eDAe02b3b80e4966C8",
89
16
  "overflow_threshold_decimal": 100000
90
17
  },
91
18
  "custodialAlchemyWebhooks": [
92
19
  {
93
- "chainId": "101",
94
- "network_symbol": "sol",
95
- "network": "SOLANA_MAINNET",
20
+ "chainId": "1",
21
+ "network_symbol": "eth",
22
+ "network": "ETH_MAINNET",
96
23
  "total_wallet_count": 10,
97
- "endpoint": "webhook/alchemy/address-activity-sol",
24
+ "endpoint": "webhook/alchemy/address-activity-eth",
98
25
  "source": "wallet"
99
26
  }
100
27
  ],
@@ -102,51 +29,51 @@
102
29
  {
103
30
  "type": "Escrow",
104
31
  "version": "1",
105
- "startingBlock": 416497745,
32
+ "startingBlock": 7130234,
106
33
  "escrowAlchemyWebhooks": [
107
34
  {
108
- "chainId": "101",
109
- "network_symbol": "sol",
110
- "network": "SOLANA_MAINNET",
111
- "type": "ADDRESS_ACTIVITY",
112
- "endpoint": "webhook/alchemy/solana/escrow-events",
35
+ "chainId": "1",
36
+ "network_symbol": "eth",
37
+ "network": "ETH_MAINNET",
38
+ "type": "GRAPHQL",
39
+ "endpoint": "webhook/alchemy/escrow-events",
113
40
  "source": "contract"
114
41
  }
115
42
  ],
116
43
  "addresses": [
117
- "AAuFzrm6H4Vv7UyJi8R5Gsm4ixtR2yVmqzLmuyUTS5cu"
44
+ "0xEA8Ad078561B83724EEcDBb5b5A4f03369115Cf8"
118
45
  ]
119
46
  },
120
47
  {
121
- "type": "FundingWallet",
48
+ "type": "Erc20",
122
49
  "version": "1",
123
- "startingBlock": 45852351,
50
+ "startingBlock": 0,
124
51
  "escrowAlchemyWebhooks": [],
125
52
  "addresses": [
126
- "GLfRJqsRtTNDVvYVccXrz8RCKNnad2hqQfgFaApAKXCq"
53
+ "0xd36A20dB12953F0bf09C66B08c1771ae046D2152"
127
54
  ]
128
55
  }
129
56
  ],
130
57
  "paymentTokens": [
131
58
  {
132
- "name": "Solana",
133
- "symbol": "SOL",
134
- "token_standard": "SOL",
59
+ "name": "Ethereum",
60
+ "symbol": "ETH",
61
+ "token_standard": "ERC-20",
135
62
  "type": "native",
136
- "decimals": 9,
137
- "address": "11111111111111111111111111111111",
138
- "sweepThreshold": 0.06,
139
- "sweepWalletMinBalance": 0.01
63
+ "decimals": 18,
64
+ "address": "0x0000000000000000000000000000000000000000",
65
+ "sweepThreshold": 0.003,
66
+ "sweepWalletMinBalance": 0.001
140
67
  },
141
68
  {
142
- "name": "Circle Token",
143
- "symbol": "USDC",
144
- "token_standard": "SOL",
69
+ "name": "Tether Token",
70
+ "symbol": "USDT",
71
+ "token_standard": "ERC-20",
145
72
  "type": "erc20",
146
73
  "decimals": 6,
147
- "address": "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU",
74
+ "address": "0xd36A20dB12953F0bf09C66B08c1771ae046D2152",
148
75
  "sweepThreshold": 5,
149
- "sweepWalletMinBalance": 0
76
+ "sweepWalletMinBalance": 1
150
77
  }
151
78
  ]
152
79
  },
@@ -224,33 +151,33 @@
224
151
  "decimals": 6,
225
152
  "address": "0x24607248E7F55B28548971B75A64d74515b49584",
226
153
  "sweepThreshold": 5,
227
- "sweepWalletMinBalance": 0
154
+ "sweepWalletMinBalance": 1
228
155
  }
229
156
  ]
230
157
  },
231
- "43114": {
158
+ "101": {
232
159
  "status": true,
233
160
  "isTestnet": false,
234
- "name": "Avalanche C-Chain",
235
- "blockchainType": "evm",
236
- "chainId": 43114,
237
- "blockexplorerUrl": "https://snowtrace.io",
238
- "rpcBaseUrl": "https://rpc.ankr.com/avalanche-c",
239
- "rpcBaseUrlWss": "wss://rpc.ankr.com/avalanche-c/ws",
240
- "targetConfirmations": 10,
161
+ "name": "Solana",
162
+ "blockchainType": "solana",
163
+ "chainId": 101,
164
+ "blockexplorerUrl": "https://solscan.io",
165
+ "rpcBaseUrl": "https://rpc.ankr.com/solana",
166
+ "rpcBaseUrlWss": "wss://rpc.ankr.com/solana/ws",
167
+ "targetConfirmations": 2,
241
168
  "accounting": {
242
- "funding_wallet": "0xF84a78E56fBACAADd73E59eDAe02b3b80e4966C8",
243
- "treasury_receiver": "0x89DecB6b265D7714A69EE05E3Bc50Fd829D7Ef90",
244
- "overflow_treasury_receiver": "0xF84a78E56fBACAADd73E59eDAe02b3b80e4966C8",
169
+ "funding_wallet": "GLfRJqsRtTNDVvYVccXrz8RCKNnad2hqQfgFaApAKXCq",
170
+ "treasury_receiver": "AAuFzrm6H4Vv7UyJi8R5Gsm4ixtR2yVmqzLmuyUTS5cu",
171
+ "overflow_treasury_receiver": "GLfRJqsRtTNDVvYVccXrz8RCKNnad2hqQfgFaApAKXCq",
245
172
  "overflow_threshold_decimal": 100000
246
173
  },
247
174
  "custodialAlchemyWebhooks": [
248
175
  {
249
- "chainId": "43114",
250
- "network_symbol": "avax",
251
- "network": "AVAX_MAINNET",
176
+ "chainId": "101",
177
+ "network_symbol": "sol",
178
+ "network": "SOLANA_MAINNET",
252
179
  "total_wallet_count": 10,
253
- "endpoint": "webhook/alchemy/address-activity-avax",
180
+ "endpoint": "webhook/alchemy/address-activity-sol",
254
181
  "source": "wallet"
255
182
  }
256
183
  ],
@@ -258,129 +185,51 @@
258
185
  {
259
186
  "type": "Escrow",
260
187
  "version": "1",
261
- "startingBlock": 36790396,
188
+ "startingBlock": 416497745,
262
189
  "escrowAlchemyWebhooks": [
263
190
  {
264
- "chainId": "43114",
265
- "network_symbol": "avax",
266
- "network": "AVAX_MAINNET",
267
- "type": "GRAPHQL",
268
- "endpoint": "webhook/alchemy/escrow-events",
191
+ "chainId": "101",
192
+ "network_symbol": "sol",
193
+ "network": "SOLANA_MAINNET",
194
+ "type": "ADDRESS_ACTIVITY",
195
+ "endpoint": "webhook/alchemy/solana/escrow-events",
269
196
  "source": "contract"
270
197
  }
271
198
  ],
272
199
  "addresses": [
273
- "0x89DecB6b265D7714A69EE05E3Bc50Fd829D7Ef90"
200
+ "AAuFzrm6H4Vv7UyJi8R5Gsm4ixtR2yVmqzLmuyUTS5cu"
274
201
  ]
275
202
  },
276
203
  {
277
- "type": "Erc20",
204
+ "type": "FundingWallet",
278
205
  "version": "1",
279
- "startingBlock": 0,
206
+ "startingBlock": 45852351,
280
207
  "escrowAlchemyWebhooks": [],
281
208
  "addresses": [
282
- "0x6F8cCEFD7Ba389713C3DCFA6C145f2d4fC2731a9"
209
+ "GLfRJqsRtTNDVvYVccXrz8RCKNnad2hqQfgFaApAKXCq"
283
210
  ]
284
211
  }
285
212
  ],
286
213
  "paymentTokens": [
287
214
  {
288
- "name": "Avalanche",
289
- "symbol": "AVAX",
290
- "token_standard": "AVAXC",
215
+ "name": "Solana",
216
+ "symbol": "SOL",
217
+ "token_standard": "SOL",
291
218
  "type": "native",
292
- "decimals": 18,
293
- "address": "0x0000000000000000000000000000000000000000",
294
- "sweepThreshold": 0.1,
219
+ "decimals": 9,
220
+ "address": "11111111111111111111111111111111",
221
+ "sweepThreshold": 0.06,
295
222
  "sweepWalletMinBalance": 0.01
296
223
  },
297
224
  {
298
- "name": "Tether Token",
299
- "symbol": "USDT",
300
- "token_standard": "AVAXC",
301
- "type": "erc20",
302
- "decimals": 6,
303
- "address": "0x6F8cCEFD7Ba389713C3DCFA6C145f2d4fC2731a9",
304
- "sweepThreshold": 5,
305
- "sweepWalletMinBalance": 0
306
- }
307
- ]
308
- },
309
- "1": {
310
- "status": true,
311
- "isTestnet": false,
312
- "name": "Ethereum",
313
- "blockchainType": "evm",
314
- "chainId": 1,
315
- "blockexplorerUrl": "https://sepolia.etherscan.io",
316
- "rpcBaseUrl": "https://rpc.ankr.com/eth_sepolia",
317
- "rpcBaseUrlWss": "wss://rpc.ankr.com/eth_sepolia/ws",
318
- "targetConfirmations": 10,
319
- "accounting": {
320
- "funding_wallet": "0xF84a78E56fBACAADd73E59eDAe02b3b80e4966C8",
321
- "treasury_receiver": "0xEA8Ad078561B83724EEcDBb5b5A4f03369115Cf8",
322
- "overflow_treasury_receiver": "0xF84a78E56fBACAADd73E59eDAe02b3b80e4966C8",
323
- "overflow_threshold_decimal": 100000
324
- },
325
- "custodialAlchemyWebhooks": [
326
- {
327
- "chainId": "1",
328
- "network_symbol": "eth",
329
- "network": "ETH_MAINNET",
330
- "total_wallet_count": 10,
331
- "endpoint": "webhook/alchemy/address-activity-eth",
332
- "source": "wallet"
333
- }
334
- ],
335
- "contracts": [
336
- {
337
- "type": "Escrow",
338
- "version": "1",
339
- "startingBlock": 7130234,
340
- "escrowAlchemyWebhooks": [
341
- {
342
- "chainId": "1",
343
- "network_symbol": "eth",
344
- "network": "ETH_MAINNET",
345
- "type": "GRAPHQL",
346
- "endpoint": "webhook/alchemy/escrow-events",
347
- "source": "contract"
348
- }
349
- ],
350
- "addresses": [
351
- "0xEA8Ad078561B83724EEcDBb5b5A4f03369115Cf8"
352
- ]
353
- },
354
- {
355
- "type": "Erc20",
356
- "version": "1",
357
- "startingBlock": 0,
358
- "escrowAlchemyWebhooks": [],
359
- "addresses": [
360
- "0xd36A20dB12953F0bf09C66B08c1771ae046D2152"
361
- ]
362
- }
363
- ],
364
- "paymentTokens": [
365
- {
366
- "name": "Ethereum",
367
- "symbol": "ETH",
368
- "token_standard": "ERC-20",
369
- "type": "native",
370
- "decimals": 18,
371
- "address": "0x0000000000000000000000000000000000000000",
372
- "sweepThreshold": 0.003,
373
- "sweepWalletMinBalance": 0.001
374
- },
375
- {
376
- "name": "Tether Token",
377
- "symbol": "USDT",
378
- "token_standard": "ERC-20",
225
+ "name": "Circle Token",
226
+ "symbol": "USDC",
227
+ "token_standard": "SOL",
379
228
  "type": "erc20",
380
229
  "decimals": 6,
381
- "address": "0xd36A20dB12953F0bf09C66B08c1771ae046D2152",
230
+ "address": "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU",
382
231
  "sweepThreshold": 5,
383
- "sweepWalletMinBalance": 0
232
+ "sweepWalletMinBalance": 1
384
233
  }
385
234
  ]
386
235
  },
@@ -457,7 +306,7 @@
457
306
  "decimals": 6,
458
307
  "address": "0xc2132D05D31c914a87C6611C10748AEb04B58e8F",
459
308
  "sweepThreshold": 5,
460
- "sweepWalletMinBalance": 0
309
+ "sweepWalletMinBalance": 1
461
310
  }
462
311
  ]
463
312
  },
@@ -534,7 +383,170 @@
534
383
  "decimals": 6,
535
384
  "address": "0xc60f378d2C9Cc06c4830B788976bc1003d5159fe",
536
385
  "sweepThreshold": 5,
537
- "sweepWalletMinBalance": 0
386
+ "sweepWalletMinBalance": 1
387
+ }
388
+ ]
389
+ },
390
+ "43114": {
391
+ "status": true,
392
+ "isTestnet": false,
393
+ "name": "Avalanche C-Chain",
394
+ "blockchainType": "evm",
395
+ "chainId": 43114,
396
+ "blockexplorerUrl": "https://snowtrace.io",
397
+ "rpcBaseUrl": "https://rpc.ankr.com/avalanche-c",
398
+ "rpcBaseUrlWss": "wss://rpc.ankr.com/avalanche-c/ws",
399
+ "targetConfirmations": 10,
400
+ "accounting": {
401
+ "funding_wallet": "0xF84a78E56fBACAADd73E59eDAe02b3b80e4966C8",
402
+ "treasury_receiver": "0x89DecB6b265D7714A69EE05E3Bc50Fd829D7Ef90",
403
+ "overflow_treasury_receiver": "0xF84a78E56fBACAADd73E59eDAe02b3b80e4966C8",
404
+ "overflow_threshold_decimal": 100000
405
+ },
406
+ "custodialAlchemyWebhooks": [
407
+ {
408
+ "chainId": "43114",
409
+ "network_symbol": "avax",
410
+ "network": "AVAX_MAINNET",
411
+ "total_wallet_count": 10,
412
+ "endpoint": "webhook/alchemy/address-activity-avax",
413
+ "source": "wallet"
414
+ }
415
+ ],
416
+ "contracts": [
417
+ {
418
+ "type": "Escrow",
419
+ "version": "1",
420
+ "startingBlock": 36790396,
421
+ "escrowAlchemyWebhooks": [
422
+ {
423
+ "chainId": "43114",
424
+ "network_symbol": "avax",
425
+ "network": "AVAX_MAINNET",
426
+ "type": "GRAPHQL",
427
+ "endpoint": "webhook/alchemy/escrow-events",
428
+ "source": "contract"
429
+ }
430
+ ],
431
+ "addresses": [
432
+ "0x89DecB6b265D7714A69EE05E3Bc50Fd829D7Ef90"
433
+ ]
434
+ },
435
+ {
436
+ "type": "Erc20",
437
+ "version": "1",
438
+ "startingBlock": 0,
439
+ "escrowAlchemyWebhooks": [],
440
+ "addresses": [
441
+ "0x6F8cCEFD7Ba389713C3DCFA6C145f2d4fC2731a9"
442
+ ]
443
+ }
444
+ ],
445
+ "paymentTokens": [
446
+ {
447
+ "name": "Avalanche",
448
+ "symbol": "AVAX",
449
+ "token_standard": "AVAXC",
450
+ "type": "native",
451
+ "decimals": 18,
452
+ "address": "0x0000000000000000000000000000000000000000",
453
+ "sweepThreshold": 0.1,
454
+ "sweepWalletMinBalance": 0.01
455
+ },
456
+ {
457
+ "name": "Tether Token",
458
+ "symbol": "USDT",
459
+ "token_standard": "AVAXC",
460
+ "type": "erc20",
461
+ "decimals": 6,
462
+ "address": "0x6F8cCEFD7Ba389713C3DCFA6C145f2d4fC2731a9",
463
+ "sweepThreshold": 5,
464
+ "sweepWalletMinBalance": 1
465
+ }
466
+ ]
467
+ },
468
+ "728126428": {
469
+ "status": true,
470
+ "isTestnet": false,
471
+ "name": "Tron",
472
+ "blockchainType": "tron",
473
+ "chainId": 728126428,
474
+ "blockexplorerUrl": "https://tronscan.org",
475
+ "tronConfig": {
476
+ "trxTransferCost": 270000,
477
+ "trc20TransferCost": 4000000
478
+ },
479
+ "accounting": {
480
+ "funding_wallet": "TN4tXH5F36BxWEe8UQuUeMr1EuPwJjNUFJ",
481
+ "treasury_receiver": "TN4tXH5F36BxWEe8UQuUeMr1EuPwJjNUFJ",
482
+ "overflow_treasury_receiver": "TCdE3ZGvBjUcqVCreT25SWwF36gkiLYTGD",
483
+ "overflow_threshold_decimal": 100000
484
+ },
485
+ "rpcMetadata": {
486
+ "rpcBaseUrl": "https://rpc.ankr.com/premium-http/tron",
487
+ "tronGridApi": "https://api.trongrid.io"
488
+ },
489
+ "rpcBaseUrl": "https://api.nileex.io",
490
+ "rpcBaseUrlWss": "",
491
+ "targetConfirmations": 2,
492
+ "quicknodeStreams": [
493
+ {
494
+ "network": "tron-mainnet",
495
+ "dataset": "logs",
496
+ "name": "tron-custodial-transfers",
497
+ "listConfig": {
498
+ "key": "custodial-addresses"
499
+ }
500
+ }
501
+ ],
502
+ "custodialAlchemyWebhooks": [],
503
+ "contracts": [],
504
+ "paymentTokens": [
505
+ {
506
+ "name": "Tron",
507
+ "symbol": "TRX",
508
+ "token_standard": "TRX",
509
+ "type": "native",
510
+ "decimals": 6,
511
+ "address": "0000000000000000000000000000000000000000",
512
+ "sweepThreshold": 10,
513
+ "sweepWalletMinBalance": 6
514
+ },
515
+ {
516
+ "name": "Tether Token",
517
+ "symbol": "USDT",
518
+ "token_standard": "TRC-20",
519
+ "type": "trc20",
520
+ "decimals": 6,
521
+ "address": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
522
+ "sweepThreshold": 5,
523
+ "sweepWalletMinBalance": 1
524
+ }
525
+ ]
526
+ },
527
+ "1000000000": {
528
+ "status": true,
529
+ "isTestnet": false,
530
+ "name": "BTC Lightning",
531
+ "blockchainType": "lightning",
532
+ "chainId": 1000000000,
533
+ "blockexplorerUrl": "https://mempool.space/lightning",
534
+ "rpcBaseUrl": "",
535
+ "rpcBaseUrlWss": "",
536
+ "targetConfirmations": 1,
537
+ "custodialAlchemyWebhooks": [],
538
+ "contracts": [],
539
+ "paymentTokens": [
540
+ {
541
+ "name": "Bitcoin",
542
+ "symbol": "BTC",
543
+ "token_standard": "LIGHTNING",
544
+ "type": "native",
545
+ "isStableCoin": false,
546
+ "decimals": 8,
547
+ "address": "000000000000000000000000000000000000000000",
548
+ "sweepThreshold": 0.001,
549
+ "sweepWalletMinBalance": 0.01
538
550
  }
539
551
  ]
540
552
  }
@@ -75,7 +75,7 @@
75
75
  "decimals": 6,
76
76
  "address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
77
77
  "sweepThreshold": 5,
78
- "sweepWalletMinBalance": 0
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": 0
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": 0
238
+ "sweepWalletMinBalance": 1
239
239
  }
240
240
  ]
241
241
  },
@@ -315,7 +315,7 @@
315
315
  "decimals": 6,
316
316
  "address": "0xc2132D05D31c914a87C6611C10748AEb04B58e8F",
317
317
  "sweepThreshold": 0,
318
- "sweepWalletMinBalance": 0
318
+ "sweepWalletMinBalance": 1
319
319
  }
320
320
  ]
321
321
  },
@@ -464,7 +464,7 @@
464
464
  "decimals": 6,
465
465
  "address": "0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7",
466
466
  "sweepThreshold": 5,
467
- "sweepWalletMinBalance": 0
467
+ "sweepWalletMinBalance": 1
468
468
  }
469
469
  ]
470
470
  },
@@ -535,7 +535,7 @@
535
535
  "decimals": 6,
536
536
  "address": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
537
537
  "sweepThreshold": 5,
538
- "sweepWalletMinBalance": 0
538
+ "sweepWalletMinBalance": 1
539
539
  }
540
540
  ]
541
541
  },
@@ -73,7 +73,7 @@
73
73
  "decimals": 6,
74
74
  "address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
75
75
  "sweepThreshold": 5,
76
- "sweepWalletMinBalance": 0
76
+ "sweepWalletMinBalance": 1
77
77
  }
78
78
  ]
79
79
  },
@@ -151,7 +151,7 @@
151
151
  "decimals": 18,
152
152
  "address": "0x55d398326f99059fF775485246999027B3197955",
153
153
  "sweepThreshold": 5,
154
- "sweepWalletMinBalance": 0
154
+ "sweepWalletMinBalance": 1
155
155
  }
156
156
  ]
157
157
  },
@@ -229,7 +229,7 @@
229
229
  "decimals": 6,
230
230
  "address": "0xc2132D05D31c914a87C6611C10748AEb04B58e8F",
231
231
  "sweepThreshold": 0,
232
- "sweepWalletMinBalance": 0
232
+ "sweepWalletMinBalance": 1
233
233
  }
234
234
  ]
235
235
  },
@@ -375,7 +375,7 @@
375
375
  "decimals": 6,
376
376
  "address": "0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7",
377
377
  "sweepThreshold": 5,
378
- "sweepWalletMinBalance": 0
378
+ "sweepWalletMinBalance": 1
379
379
  }
380
380
  ]
381
381
  },
@@ -444,7 +444,7 @@
444
444
  "decimals": 6,
445
445
  "address": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
446
446
  "sweepThreshold": 5,
447
- "sweepWalletMinBalance": 0
447
+ "sweepWalletMinBalance": 1
448
448
  }
449
449
  ]
450
450
  }