@ercworldio/blockchain-shared 1.0.13 → 1.0.15

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.
@@ -0,0 +1,574 @@
1
+ {
2
+ "1": {
3
+ "status": true,
4
+ "isTestnet": false,
5
+ "name": "Ethereum",
6
+ "blockchainType": "evm",
7
+ "chainId": 1,
8
+ "blockexplorerUrl": "https://etherscan.io",
9
+ "rpcBaseUrl": "https://rpc.ankr.com/eth",
10
+ "rpcBaseUrlWss": "wss://rpc.ankr.com/eth/ws",
11
+ "targetConfirmations": 10,
12
+ "accounting": {
13
+ "funding_wallet": "0xA9bEA932CFf638324eDa1046AB4D84723C84987c",
14
+ "treasury_receiver": "0x28DE9CeCd83D9b20Ee6A438d39114Add08ED5FF7",
15
+ "overflow_treasury_receiver": "0x28DE9CeCd83D9b20Ee6A438d39114Add08ED5FF7",
16
+ "overflow_threshold_decimal": 100000,
17
+ "min_funding_wallet_balance_usd": 5,
18
+ "allowed_receivers": [
19
+ "0x28DE9CeCd83D9b20Ee6A438d39114Add08ED5FF7"
20
+ ]
21
+ },
22
+ "custodialAlchemyWebhooks": [],
23
+ "quicknodeNotificationConfig": [
24
+ {
25
+ "name": "escrow-eth-stg-yb",
26
+ "network": "ethereum-mainnet",
27
+ "template": "evmWalletFilter",
28
+ "source": "contract",
29
+ "chain_id": 1
30
+ },
31
+ {
32
+ "name": "qn-custodial-webhook-eth-stg-yb",
33
+ "network": "ethereum-mainnet",
34
+ "template": "evmWalletFilter"
35
+ }
36
+ ],
37
+ "contracts": [
38
+ {
39
+ "type": "Escrow",
40
+ "version": "1",
41
+ "startingBlock": 24754256,
42
+ "escrowAlchemyWebhooks": [],
43
+ "addresses": [
44
+ "0x28DE9CeCd83D9b20Ee6A438d39114Add08ED5FF7"
45
+ ]
46
+ },
47
+ {
48
+ "type": "FundingWallet",
49
+ "version": "1",
50
+ "startingBlock": 1,
51
+ "escrowAlchemyWebhooks": [],
52
+ "addresses": [
53
+ "0xA9bEA932CFf638324eDa1046AB4D84723C84987c"
54
+ ]
55
+ }
56
+ ],
57
+ "paymentTokens": [
58
+ {
59
+ "name": "Ethereum",
60
+ "symbol": "ETH",
61
+ "token_standard": "ERC-20",
62
+ "type": "native",
63
+ "isStableCoin": false,
64
+ "decimals": 18,
65
+ "address": "0x0000000000000000000000000000000000000000",
66
+ "sweepThreshold": 0.004,
67
+ "sweepWalletMinBalance": 0.0002,
68
+ "recommendedMinBalanceFundingWallet": 0.025,
69
+ "recommendedMinBalanceEscrow": 0.5,
70
+ "recommendedMinBalanceRentEnergy": 0
71
+ },
72
+ {
73
+ "name": "Tether Token",
74
+ "symbol": "USDT",
75
+ "token_standard": "ERC-20",
76
+ "type": "erc20",
77
+ "isStableCoin": true,
78
+ "decimals": 6,
79
+ "address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
80
+ "sweepThreshold": 5,
81
+ "sweepWalletMinBalance": 1,
82
+ "recommendedMinBalanceFundingWallet": 0,
83
+ "recommendedMinBalanceEscrow": 100,
84
+ "recommendedMinBalanceRentEnergy": 0
85
+ },
86
+ {
87
+ "name": "Circle Token",
88
+ "symbol": "USDC",
89
+ "token_standard": "ERC-20",
90
+ "type": "erc20",
91
+ "isStableCoin": true,
92
+ "decimals": 6,
93
+ "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
94
+ "sweepThreshold": 1,
95
+ "sweepWalletMinBalance": 0.1,
96
+ "recommendedMinBalanceFundingWallet": 0,
97
+ "recommendedMinBalanceEscrow": 100,
98
+ "recommendedMinBalanceRentEnergy": 0
99
+ }
100
+ ]
101
+ },
102
+ "56": {
103
+ "status": true,
104
+ "isTestnet": false,
105
+ "name": "BNB Chain",
106
+ "blockchainType": "evm",
107
+ "chainId": 56,
108
+ "blockexplorerUrl": "https://bscscan.com",
109
+ "rpcBaseUrl": "https://rpc.ankr.com/bsc",
110
+ "rpcBaseUrlWss": "wss://rpc.ankr.com/bsc/ws",
111
+ "targetConfirmations": 5,
112
+ "accounting": {
113
+ "funding_wallet": "0xA9bEA932CFf638324eDa1046AB4D84723C84987c",
114
+ "treasury_receiver": "0x6d47B7230F5D466677795E271db3aEE4C59c0B47",
115
+ "overflow_treasury_receiver": "0x6d47B7230F5D466677795E271db3aEE4C59c0B47",
116
+ "overflow_threshold_decimal": 100000,
117
+ "min_funding_wallet_balance_usd": 5,
118
+ "allowed_receivers": [
119
+ "0x6d47B7230F5D466677795E271db3aEE4C59c0B47"
120
+ ]
121
+ },
122
+ "custodialAlchemyWebhooks": [],
123
+ "quicknodeNotificationConfig": [
124
+ {
125
+ "name": "escrow-bnb-stg-yb",
126
+ "network": "bnbchain-mainnet",
127
+ "template": "evmWalletFilter",
128
+ "source": "contract",
129
+ "chain_id": 56
130
+ },
131
+ {
132
+ "name": "qn-custodial-webhook-bnb-stg-yb",
133
+ "network": "bnbchain-mainnet",
134
+ "template": "evmWalletFilter"
135
+ }
136
+ ],
137
+ "contracts": [
138
+ {
139
+ "type": "Escrow",
140
+ "version": "1",
141
+ "startingBlock": 89178576,
142
+ "escrowAlchemyWebhooks": [],
143
+ "addresses": [
144
+ "0x6d47B7230F5D466677795E271db3aEE4C59c0B47"
145
+ ]
146
+ },
147
+ {
148
+ "type": "FundingWallet",
149
+ "version": "1",
150
+ "startingBlock": 1,
151
+ "escrowAlchemyWebhooks": [],
152
+ "addresses": [
153
+ "0xA9bEA932CFf638324eDa1046AB4D84723C84987c"
154
+ ]
155
+ }
156
+ ],
157
+ "paymentTokens": [
158
+ {
159
+ "name": "BNB Chain",
160
+ "symbol": "BNB",
161
+ "token_standard": "BEP-20",
162
+ "type": "native",
163
+ "isStableCoin": false,
164
+ "decimals": 18,
165
+ "address": "0x0000000000000000000000000000000000000000",
166
+ "sweepThreshold": 0.008,
167
+ "sweepWalletMinBalance": 0.0002,
168
+ "recommendedMinBalanceFundingWallet": 0.1,
169
+ "recommendedMinBalanceEscrow": 1,
170
+ "recommendedMinBalanceRentEnergy": 0
171
+ },
172
+ {
173
+ "name": "Tether Token",
174
+ "symbol": "USDT",
175
+ "token_standard": "BEP-20",
176
+ "type": "erc20",
177
+ "isStableCoin": true,
178
+ "decimals": 18,
179
+ "address": "0x55d398326f99059fF775485246999027B3197955",
180
+ "sweepThreshold": 5,
181
+ "sweepWalletMinBalance": 1,
182
+ "recommendedMinBalanceFundingWallet": 0,
183
+ "recommendedMinBalanceEscrow": 100,
184
+ "recommendedMinBalanceRentEnergy": 0
185
+ }
186
+ ]
187
+ },
188
+ "101": {
189
+ "status": true,
190
+ "isTestnet": false,
191
+ "name": "Solana",
192
+ "blockchainType": "solana",
193
+ "chainId": 101,
194
+ "blockexplorerUrl": "https://solscan.io",
195
+ "rpcBaseUrl": "https://rpc.ankr.com/solana",
196
+ "rpcBaseUrlWss": "wss://rpc.ankr.com/solana/ws",
197
+ "targetConfirmations": 32,
198
+ "accounting": {
199
+ "funding_wallet": "AeuBUW7EHTD2Er5FrtZKbMHLwdHmMmMtHi6sFJvfHAKL",
200
+ "treasury_receiver": "Etsf9vBYTwrJP69AFmvgJifFJ5FnNAufBPujPxxg1Y3z",
201
+ "overflow_treasury_receiver": "Etsf9vBYTwrJP69AFmvgJifFJ5FnNAufBPujPxxg1Y3z",
202
+ "overflow_threshold_decimal": 100000,
203
+ "min_funding_wallet_balance_usd": 5,
204
+ "allowed_receivers": [
205
+ "Etsf9vBYTwrJP69AFmvgJifFJ5FnNAufBPujPxxg1Y3z",
206
+ "AeuBUW7EHTD2Er5FrtZKbMHLwdHmMmMtHi6sFJvfHAKL"
207
+ ]
208
+ },
209
+ "custodialAlchemyWebhooks": [
210
+ {
211
+ "chainId": "101",
212
+ "network_symbol": "sol",
213
+ "network": "SOLANA_MAINNET",
214
+ "total_wallet_count": 10,
215
+ "endpoint": "webhook/alchemy/address-activity-sol",
216
+ "source": "wallet"
217
+ }
218
+ ],
219
+ "quicknodeNotificationConfig": [
220
+ {
221
+ "name": "escrow-sol-stg-sh",
222
+ "network": "solana-mainnet",
223
+ "template": "solanaWalletFilter",
224
+ "source": "contract",
225
+ "chain_id": 101
226
+ },
227
+ {
228
+ "name": "qn-custodial-webhook-sol-stg-sh",
229
+ "network": "solana-mainnet",
230
+ "template": "solanaWalletFilter"
231
+ }
232
+ ],
233
+ "contracts": [
234
+ {
235
+ "type": "Escrow",
236
+ "version": "1",
237
+ "startingBlock": 416497745,
238
+ "escrowAlchemyWebhooks": [
239
+ {
240
+ "chainId": "101",
241
+ "network_symbol": "sol",
242
+ "network": "SOLANA_MAINNET",
243
+ "type": "ADDRESS_ACTIVITY",
244
+ "endpoint": "webhook/alchemy/solana/escrow-events",
245
+ "source": "contract"
246
+ }
247
+ ],
248
+ "addresses": [
249
+ "Etsf9vBYTwrJP69AFmvgJifFJ5FnNAufBPujPxxg1Y3z"
250
+ ]
251
+ },
252
+ {
253
+ "type": "FundingWallet",
254
+ "version": "1",
255
+ "startingBlock": 45852351,
256
+ "escrowAlchemyWebhooks": [],
257
+ "addresses": [
258
+ "AeuBUW7EHTD2Er5FrtZKbMHLwdHmMmMtHi6sFJvfHAKL"
259
+ ]
260
+ }
261
+ ],
262
+ "paymentTokens": [
263
+ {
264
+ "name": "Solana",
265
+ "symbol": "SOL",
266
+ "token_standard": "SOL",
267
+ "type": "native",
268
+ "isStableCoin": false,
269
+ "decimals": 9,
270
+ "address": "11111111111111111111111111111111",
271
+ "sweepThreshold": 0.05,
272
+ "sweepWalletMinBalance": 0.01,
273
+ "recommendedMinBalanceFundingWallet": 0.1,
274
+ "recommendedMinBalanceEscrow": 1,
275
+ "recommendedMinBalanceRentEnergy": 0
276
+ },
277
+ {
278
+ "name": "Circle Token",
279
+ "symbol": "USDC",
280
+ "token_standard": "SOL",
281
+ "type": "erc20",
282
+ "isStableCoin": true,
283
+ "decimals": 6,
284
+ "address": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
285
+ "sweepThreshold": 1,
286
+ "sweepWalletMinBalance": 1,
287
+ "recommendedMinBalanceFundingWallet": 0,
288
+ "recommendedMinBalanceEscrow": 100,
289
+ "recommendedMinBalanceRentEnergy": 0
290
+ }
291
+ ]
292
+ },
293
+ "137": {
294
+ "status": true,
295
+ "isTestnet": false,
296
+ "name": "Polygon",
297
+ "blockchainType": "evm",
298
+ "chainId": 137,
299
+ "blockexplorerUrl": "https://polygonscan.com",
300
+ "rpcBaseUrl": "https://rpc.ankr.com/polygon",
301
+ "rpcBaseUrlWss": "wss://rpc.ankr.com/polygon/ws",
302
+ "targetConfirmations": 10,
303
+ "accounting": {
304
+ "funding_wallet": "0xA9bEA932CFf638324eDa1046AB4D84723C84987c",
305
+ "treasury_receiver": "0x6d47B7230F5D466677795E271db3aEE4C59c0B47",
306
+ "overflow_treasury_receiver": "0x6d47B7230F5D466677795E271db3aEE4C59c0B47",
307
+ "overflow_threshold_decimal": 100000,
308
+ "min_funding_wallet_balance_usd": 5,
309
+ "allowed_receivers": [
310
+ "0x6d47B7230F5D466677795E271db3aEE4C59c0B47"
311
+ ]
312
+ },
313
+ "custodialAlchemyWebhooks": [],
314
+ "quicknodeNotificationConfig": [
315
+ {
316
+ "name": "escrow-pol-stg-yb",
317
+ "network": "polygon-mainnet",
318
+ "template": "evmWalletFilter",
319
+ "source": "contract",
320
+ "chain_id": 137
321
+ },
322
+ {
323
+ "name": "qn-custodial-webhook-pol-stg-yb",
324
+ "network": "polygon-mainnet",
325
+ "template": "evmWalletFilter"
326
+ }
327
+ ],
328
+ "contracts": [
329
+ {
330
+ "type": "Escrow",
331
+ "version": "1",
332
+ "startingBlock": 84779780,
333
+ "escrowAlchemyWebhooks": [],
334
+ "addresses": [
335
+ "0x6d47B7230F5D466677795E271db3aEE4C59c0B47"
336
+ ]
337
+ },
338
+ {
339
+ "type": "FundingWallet",
340
+ "version": "1",
341
+ "startingBlock": 1,
342
+ "escrowAlchemyWebhooks": [],
343
+ "addresses": [
344
+ "0xA9bEA932CFf638324eDa1046AB4D84723C84987c"
345
+ ]
346
+ }
347
+ ],
348
+ "paymentTokens": [
349
+ {
350
+ "name": "Polygon",
351
+ "symbol": "POL",
352
+ "token_standard": "POL",
353
+ "type": "native",
354
+ "isStableCoin": false,
355
+ "decimals": 18,
356
+ "address": "0x0000000000000000000000000000000000000000",
357
+ "sweepThreshold": 10,
358
+ "sweepWalletMinBalance": 0.1,
359
+ "recommendedMinBalanceFundingWallet": 50,
360
+ "recommendedMinBalanceEscrow": 1000,
361
+ "recommendedMinBalanceRentEnergy": 0
362
+ },
363
+ {
364
+ "name": "Tether Token",
365
+ "symbol": "USDT",
366
+ "token_standard": "POL",
367
+ "type": "erc20",
368
+ "isStableCoin": true,
369
+ "decimals": 6,
370
+ "address": "0xc2132D05D31c914a87C6611C10748AEb04B58e8F",
371
+ "sweepThreshold": 0,
372
+ "sweepWalletMinBalance": 1,
373
+ "recommendedMinBalanceFundingWallet": 0,
374
+ "recommendedMinBalanceEscrow": 100,
375
+ "recommendedMinBalanceRentEnergy": 0
376
+ }
377
+ ]
378
+ },
379
+ "43114": {
380
+ "status": true,
381
+ "isTestnet": false,
382
+ "name": "Avalanche C-Chain",
383
+ "blockchainType": "evm",
384
+ "chainId": 43114,
385
+ "blockexplorerUrl": "https://snowtrace.io",
386
+ "rpcBaseUrl": "https://rpc.ankr.com/avalanche",
387
+ "rpcBaseUrlWss": "wss://rpc.ankr.com/avalanche/ws",
388
+ "targetConfirmations": 10,
389
+ "accounting": {
390
+ "funding_wallet": "0xA9bEA932CFf638324eDa1046AB4D84723C84987c",
391
+ "treasury_receiver": "0x51bDD157950FB7C8B56F7E3A09828E991c1BDB17",
392
+ "overflow_treasury_receiver": "0x51bDD157950FB7C8B56F7E3A09828E991c1BDB17",
393
+ "overflow_threshold_decimal": 100000,
394
+ "min_funding_wallet_balance_usd": 5,
395
+ "allowed_receivers": [
396
+ "0x51bDD157950FB7C8B56F7E3A09828E991c1BDB17"
397
+ ]
398
+ },
399
+ "custodialAlchemyWebhooks": [],
400
+ "quicknodeNotificationConfig": [
401
+ {
402
+ "name": "escrow-avax-stg-yb",
403
+ "network": "avalanche-mainnet",
404
+ "template": "evmWalletFilter",
405
+ "source": "contract",
406
+ "chain_id": 43114
407
+ },
408
+ {
409
+ "name": "qn-custodial-webhook-avax-stg-yb",
410
+ "network": "avalanche-mainnet",
411
+ "template": "evmWalletFilter"
412
+ }
413
+ ],
414
+ "contracts": [
415
+ {
416
+ "type": "Escrow",
417
+ "version": "1",
418
+ "startingBlock": 81474572,
419
+ "escrowAlchemyWebhooks": [],
420
+ "addresses": [
421
+ "0x51bDD157950FB7C8B56F7E3A09828E991c1BDB17"
422
+ ]
423
+ },
424
+ {
425
+ "type": "FundingWallet",
426
+ "version": "1",
427
+ "startingBlock": 1,
428
+ "escrowAlchemyWebhooks": [],
429
+ "addresses": [
430
+ "0xA9bEA932CFf638324eDa1046AB4D84723C84987c"
431
+ ]
432
+ }
433
+ ],
434
+ "paymentTokens": [
435
+ {
436
+ "name": "Avalanche",
437
+ "symbol": "AVAX",
438
+ "token_standard": "AVAXC",
439
+ "type": "native",
440
+ "isStableCoin": false,
441
+ "decimals": 18,
442
+ "address": "0x0000000000000000000000000000000000000000",
443
+ "sweepThreshold": 0.05,
444
+ "sweepWalletMinBalance": 0.01,
445
+ "recommendedMinBalanceFundingWallet": 1,
446
+ "recommendedMinBalanceEscrow": 10,
447
+ "recommendedMinBalanceRentEnergy": 0
448
+ },
449
+ {
450
+ "name": "Tether Token",
451
+ "symbol": "USDT",
452
+ "token_standard": "AVAXC",
453
+ "type": "erc20",
454
+ "isStableCoin": true,
455
+ "decimals": 6,
456
+ "address": "0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7",
457
+ "sweepThreshold": 5,
458
+ "sweepWalletMinBalance": 1,
459
+ "recommendedMinBalanceFundingWallet": 0,
460
+ "recommendedMinBalanceEscrow": 100,
461
+ "recommendedMinBalanceRentEnergy": 0
462
+ }
463
+ ]
464
+ },
465
+ "728126428": {
466
+ "status": true,
467
+ "isTestnet": false,
468
+ "name": "Tron",
469
+ "blockchainType": "tron",
470
+ "chainId": 728126428,
471
+ "blockexplorerUrl": "https://tronscan.org",
472
+ "tronConfig": {
473
+ "trxTransferCost": 270000,
474
+ "trc20TransferCost": 4000000,
475
+ "rentEnergyWallet": ""
476
+ },
477
+ "accounting": {
478
+ "funding_wallet": "TH3fM3JAgBsXyzBHw3vE6XcZpFtnyxhXN1",
479
+ "treasury_receiver": "TH3fM3JAgBsXyzBHw3vE6XcZpFtnyxhXN1",
480
+ "overflow_treasury_receiver": "TH3fM3JAgBsXyzBHw3vE6XcZpFtnyxhXN1",
481
+ "overflow_threshold_decimal": 100000,
482
+ "min_funding_wallet_balance_usd": 5,
483
+ "allowed_receivers": [
484
+ "TH3fM3JAgBsXyzBHw3vE6XcZpFtnyxhXN1",
485
+ "TCxAEDMEsB7k4CsnouPT1kxTtZ9SQcG4zH"
486
+ ]
487
+ },
488
+ "rpcMetadata": {
489
+ "rpcBaseUrl": "https://rpc.ankr.com/premium-http/tron",
490
+ "tronGridApi": "https://api.trongrid.io"
491
+ },
492
+ "rpcBaseUrl": "https://rpc.ankr.com/premium-http/tron",
493
+ "rpcBaseUrlWss": "",
494
+ "targetConfirmations": 2,
495
+ "quicknodeStreams": [
496
+ {
497
+ "network": "tron-mainnet",
498
+ "dataset": "logs",
499
+ "name": "tron-custodial-transfers",
500
+ "listConfig": {
501
+ "key": "custodial-addresses"
502
+ }
503
+ }
504
+ ],
505
+ "custodialAlchemyWebhooks": [],
506
+ "contracts": [
507
+ {
508
+ "type": "FundingWallet",
509
+ "version": "1",
510
+ "startingBlock": 1,
511
+ "escrowAlchemyWebhooks": [],
512
+ "addresses": [
513
+ "TH3fM3JAgBsXyzBHw3vE6XcZpFtnyxhXN1"
514
+ ]
515
+ }
516
+ ],
517
+ "paymentTokens": [
518
+ {
519
+ "name": "Tron",
520
+ "symbol": "TRX",
521
+ "token_standard": "TRX",
522
+ "type": "native",
523
+ "isStableCoin": false,
524
+ "decimals": 6,
525
+ "address": "0000000000000000000000000000000000000000",
526
+ "sweepThreshold": 10,
527
+ "sweepWalletMinBalance": 6,
528
+ "recommendedMinBalanceFundingWallet": 333,
529
+ "recommendedMinBalanceEscrow": 0,
530
+ "recommendedMinBalanceRentEnergy": 50
531
+ },
532
+ {
533
+ "name": "Tether Token",
534
+ "symbol": "USDT",
535
+ "token_standard": "TRC-20",
536
+ "type": "trc20",
537
+ "isStableCoin": true,
538
+ "decimals": 6,
539
+ "address": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
540
+ "sweepThreshold": 2,
541
+ "sweepWalletMinBalance": 0.1,
542
+ "recommendedMinBalanceFundingWallet": 100,
543
+ "recommendedMinBalanceEscrow": 0,
544
+ "recommendedMinBalanceRentEnergy": 0
545
+ }
546
+ ]
547
+ },
548
+ "1000000000": {
549
+ "status": true,
550
+ "isTestnet": false,
551
+ "name": "BTC Lightning",
552
+ "blockchainType": "lightning",
553
+ "chainId": 1000000000,
554
+ "blockexplorerUrl": "https://mempool.space/lightning",
555
+ "rpcBaseUrl": "",
556
+ "rpcBaseUrlWss": "",
557
+ "targetConfirmations": 1,
558
+ "custodialAlchemyWebhooks": [],
559
+ "contracts": [],
560
+ "paymentTokens": [
561
+ {
562
+ "name": "Bitcoin",
563
+ "symbol": "BTC",
564
+ "token_standard": "LIGHTNING",
565
+ "type": "native",
566
+ "isStableCoin": false,
567
+ "decimals": 8,
568
+ "address": "000000000000000000000000000000000000000000",
569
+ "sweepThreshold": 0.001,
570
+ "sweepWalletMinBalance": 0.01
571
+ }
572
+ ]
573
+ }
574
+ }
@@ -11,15 +11,24 @@
11
11
  "targetConfirmations": 10,
12
12
  "accounting": {
13
13
  "funding_wallet": "0xA9bEA932CFf638324eDa1046AB4D84723C84987c",
14
- "treasury_receiver": "0x28DE9CeCd83D9b20Ee6A438d39114Add08ED5FF7",
15
- "overflow_treasury_receiver": "0x28DE9CeCd83D9b20Ee6A438d39114Add08ED5FF7",
14
+ "treasury_receiver": "0x1C631D70b172E8D2f134123D193a1427817f5705",
15
+ "overflow_treasury_receiver": "0x1C631D70b172E8D2f134123D193a1427817f5705",
16
16
  "overflow_threshold_decimal": 100000,
17
17
  "min_funding_wallet_balance_usd": 5,
18
18
  "allowed_receivers": [
19
- "0x28DE9CeCd83D9b20Ee6A438d39114Add08ED5FF7"
19
+ "0x1C631D70b172E8D2f134123D193a1427817f5705"
20
20
  ]
21
21
  },
22
- "custodialAlchemyWebhooks": [],
22
+ "custodialAlchemyWebhooks": [
23
+ {
24
+ "chainId": "1",
25
+ "network_symbol": "eth",
26
+ "network": "ETH_MAINNET",
27
+ "total_wallet_count": 10,
28
+ "endpoint": "webhook/alchemy/address-activity-eth",
29
+ "source": "wallet"
30
+ }
31
+ ],
23
32
  "quicknodeNotificationConfig": [
24
33
  {
25
34
  "name": "escrow-eth-stg-yb",
@@ -37,11 +46,20 @@
37
46
  "contracts": [
38
47
  {
39
48
  "type": "Escrow",
40
- "version": "1",
49
+ "version": "2",
41
50
  "startingBlock": 24754256,
42
- "escrowAlchemyWebhooks": [],
51
+ "escrowAlchemyWebhooks": [
52
+ {
53
+ "chainId": "1",
54
+ "network_symbol": "eth",
55
+ "network": "ETH_MAINNET",
56
+ "type": "GRAPHQL",
57
+ "endpoint": "webhook/alchemy/escrow-events",
58
+ "source": "contract"
59
+ }
60
+ ],
43
61
  "addresses": [
44
- "0x28DE9CeCd83D9b20Ee6A438d39114Add08ED5FF7"
62
+ "0x1C631D70b172E8D2f134123D193a1427817f5705"
45
63
  ]
46
64
  },
47
65
  {
@@ -111,12 +129,12 @@
111
129
  "targetConfirmations": 5,
112
130
  "accounting": {
113
131
  "funding_wallet": "0xA9bEA932CFf638324eDa1046AB4D84723C84987c",
114
- "treasury_receiver": "0x6d47B7230F5D466677795E271db3aEE4C59c0B47",
115
- "overflow_treasury_receiver": "0x6d47B7230F5D466677795E271db3aEE4C59c0B47",
132
+ "treasury_receiver": "0xdDb7aCeFb523bcC43F65C4d24aca69D03c6D0A51",
133
+ "overflow_treasury_receiver": "0xdDb7aCeFb523bcC43F65C4d24aca69D03c6D0A51",
116
134
  "overflow_threshold_decimal": 100000,
117
135
  "min_funding_wallet_balance_usd": 5,
118
136
  "allowed_receivers": [
119
- "0x6d47B7230F5D466677795E271db3aEE4C59c0B47"
137
+ "0xdDb7aCeFb523bcC43F65C4d24aca69D03c6D0A51"
120
138
  ]
121
139
  },
122
140
  "custodialAlchemyWebhooks": [],
@@ -137,16 +155,25 @@
137
155
  "contracts": [
138
156
  {
139
157
  "type": "Escrow",
140
- "version": "1",
158
+ "version": "2",
141
159
  "startingBlock": 89178576,
142
- "escrowAlchemyWebhooks": [],
160
+ "escrowAlchemyWebhooks": [
161
+ {
162
+ "chainId": "56",
163
+ "network_symbol": "bnb",
164
+ "network": "BNB_MAINNET",
165
+ "type": "GRAPHQL",
166
+ "endpoint": "webhook/alchemy/escrow-events",
167
+ "source": "contract"
168
+ }
169
+ ],
143
170
  "addresses": [
144
- "0x6d47B7230F5D466677795E271db3aEE4C59c0B47"
171
+ "0xdDb7aCeFb523bcC43F65C4d24aca69D03c6D0A51"
145
172
  ]
146
173
  },
147
174
  {
148
175
  "type": "FundingWallet",
149
- "version": "1",
176
+ "version": "2",
150
177
  "startingBlock": 1,
151
178
  "escrowAlchemyWebhooks": [],
152
179
  "addresses": [
@@ -302,12 +329,12 @@
302
329
  "targetConfirmations": 10,
303
330
  "accounting": {
304
331
  "funding_wallet": "0xA9bEA932CFf638324eDa1046AB4D84723C84987c",
305
- "treasury_receiver": "0x6d47B7230F5D466677795E271db3aEE4C59c0B47",
306
- "overflow_treasury_receiver": "0x6d47B7230F5D466677795E271db3aEE4C59c0B47",
332
+ "treasury_receiver": "0x819Aad7CE45bF3C322ECE66e8375EA914643A013",
333
+ "overflow_treasury_receiver": "0x819Aad7CE45bF3C322ECE66e8375EA914643A013",
307
334
  "overflow_threshold_decimal": 100000,
308
335
  "min_funding_wallet_balance_usd": 5,
309
336
  "allowed_receivers": [
310
- "0x6d47B7230F5D466677795E271db3aEE4C59c0B47"
337
+ "0x819Aad7CE45bF3C322ECE66e8375EA914643A013"
311
338
  ]
312
339
  },
313
340
  "custodialAlchemyWebhooks": [],
@@ -328,11 +355,11 @@
328
355
  "contracts": [
329
356
  {
330
357
  "type": "Escrow",
331
- "version": "1",
358
+ "version": "2",
332
359
  "startingBlock": 84779780,
333
360
  "escrowAlchemyWebhooks": [],
334
361
  "addresses": [
335
- "0x6d47B7230F5D466677795E271db3aEE4C59c0B47"
362
+ "0x819Aad7CE45bF3C322ECE66e8375EA914643A013"
336
363
  ]
337
364
  },
338
365
  {
@@ -388,12 +415,12 @@
388
415
  "targetConfirmations": 10,
389
416
  "accounting": {
390
417
  "funding_wallet": "0xA9bEA932CFf638324eDa1046AB4D84723C84987c",
391
- "treasury_receiver": "0x51bDD157950FB7C8B56F7E3A09828E991c1BDB17",
392
- "overflow_treasury_receiver": "0x51bDD157950FB7C8B56F7E3A09828E991c1BDB17",
418
+ "treasury_receiver": "0x955ae2FE4337BD3862dD23c88d16Eb815505Ea25",
419
+ "overflow_treasury_receiver": "0x955ae2FE4337BD3862dD23c88d16Eb815505Ea25",
393
420
  "overflow_threshold_decimal": 100000,
394
421
  "min_funding_wallet_balance_usd": 5,
395
422
  "allowed_receivers": [
396
- "0x51bDD157950FB7C8B56F7E3A09828E991c1BDB17"
423
+ "0x955ae2FE4337BD3862dD23c88d16Eb815505Ea25"
397
424
  ]
398
425
  },
399
426
  "custodialAlchemyWebhooks": [],
@@ -414,11 +441,11 @@
414
441
  "contracts": [
415
442
  {
416
443
  "type": "Escrow",
417
- "version": "1",
444
+ "version": "2",
418
445
  "startingBlock": 81474572,
419
446
  "escrowAlchemyWebhooks": [],
420
447
  "addresses": [
421
- "0x51bDD157950FB7C8B56F7E3A09828E991c1BDB17"
448
+ "0x955ae2FE4337BD3862dD23c88d16Eb815505Ea25"
422
449
  ]
423
450
  },
424
451
  {
@@ -1 +1 @@
1
- {"version":3,"file":"AlchemyWebhooks.d.ts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,7 +127,9 @@ class AlchemyWebhooks {
127
127
  // Get network settings
128
128
  const settings = required_custodial_webhooks.find((setting) => setting.network === network);
129
129
  if (!settings) {
130
- throw new Error(`Settings not found for network ${network}`);
130
+ // throw new Error(`Settings not found for network ${network}`);
131
+ this.logger.warn(`Startup::AlchemyWebhooks: Settings not found for network ${network}`);
132
+ continue;
131
133
  }
132
134
  // Calculate estimated webhook count for given total wallet address count
133
135
  let total_wallet_count = (settings === null || settings === void 0 ? void 0 : settings.total_wallet_count) || 0;
@@ -168,7 +170,8 @@ class AlchemyWebhooks {
168
170
  // Fetch the configured settings for current network
169
171
  const settings = required_custodial_webhooks.find((setting) => setting.network === chain.network);
170
172
  if (!settings) {
171
- throw new Error(`Settings not found for network ${chain.network}`);
173
+ this.logger.warn(`Startup::AlchemyWebhooks: Settings not found for network ${chain.network}`);
174
+ continue;
172
175
  }
173
176
  // Only need 1 webhook for each escrow contract
174
177
  const required_webhook_count = 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ercworldio/blockchain-shared",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "description": "Shared library for blockchain projects",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",