@cryptorubic/web3 1.0.0-alpha.no-sdk.46 → 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cryptorubic/web3",
3
- "version": "1.0.0-alpha.no-sdk.46",
3
+ "version": "1.0.0",
4
4
  "dependencies": {
5
5
  "@ethersproject/bignumber": "^5.8.0",
6
6
  "@mysten/sui": "^1.24.0",
@@ -10,6 +10,7 @@ const viem_blockchain_mapping_1 = require("../../../constants/viem-blockchain-ma
10
10
  const parse_evm_error_1 = require("../utils/parse-evm-error");
11
11
  const rubic_sdk_error_1 = require("../../../../errors/rubic-sdk.error");
12
12
  const tx_reverted_in_chain_error_1 = require("../../../../errors/common/tx-reverted-in-chain.error");
13
+ const bignumber_js_1 = require("bignumber.js");
13
14
  class EvmAdapterSigner extends abstract_adapter_signer_1.AbstractAdapterSigner {
14
15
  get publicClient() {
15
16
  if (!this.publicRef.public) {
@@ -73,15 +74,18 @@ class EvmAdapterSigner extends abstract_adapter_signer_1.AbstractAdapterSigner {
73
74
  ...(params.txOptions.data && { data: params.txOptions.data })
74
75
  };
75
76
  const gas = await this.publicClient.estimateGas(gaslessParams);
77
+ const calculatedGas = params.txOptions.gasLimitRatio
78
+ ? BigInt(new bignumber_js_1.default(gas.toString()).multipliedBy(params.txOptions.gasLimitRatio).toFixed(0))
79
+ : gas;
76
80
  const gasfulParams = {
77
81
  ...gaslessParams,
78
82
  ...(0, options_1.getGasOptions)(params.txOptions),
79
- gas: gas.toString()
83
+ gas: calculatedGas.toString()
80
84
  };
81
85
  const gasfulViemParams = {
82
86
  ...gaslessParams,
83
87
  ...(0, options_1.getViemGasOptions)(params.txOptions),
84
- gas
88
+ gas: calculatedGas
85
89
  };
86
90
  try {
87
91
  await this.publicClient.estimateGas(gasfulViemParams);
@@ -58,4 +58,8 @@ export interface SwapTransactionOptions {
58
58
  tradeId: string;
59
59
  feePayer: string;
60
60
  };
61
+ /**
62
+ * gasLimit multiplier (to change ratio for specific chain)
63
+ */
64
+ gasLimitRatio?: number;
61
65
  }
@@ -22,7 +22,7 @@ exports.viemConfig = {
22
22
  testnet: true,
23
23
  contracts: {
24
24
  multicall3: {
25
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
25
+ address: '0x49a390a3dFd2d01389f799965F3af5961f87d228'
26
26
  }
27
27
  }
28
28
  }),
@@ -41,7 +41,7 @@ exports.viemConfig = {
41
41
  testnet: false,
42
42
  contracts: {
43
43
  multicall3: {
44
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
44
+ address: '0xdDCbf776dF3dE60163066A5ddDF2277cB445E0F3'
45
45
  }
46
46
  }
47
47
  }),
@@ -117,7 +117,7 @@ exports.viemConfig = {
117
117
  testnet: false,
118
118
  contracts: {
119
119
  multicall3: {
120
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
120
+ address: '0x15dc8b5ed578AA7a019dd0139B330cfD625cA795'
121
121
  }
122
122
  }
123
123
  }),
@@ -136,7 +136,7 @@ exports.viemConfig = {
136
136
  testnet: false,
137
137
  contracts: {
138
138
  multicall3: {
139
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
139
+ address: '0xe0e3887b158F7F9c80c835a61ED809389BC08d1b'
140
140
  }
141
141
  }
142
142
  }),
@@ -155,7 +155,7 @@ exports.viemConfig = {
155
155
  testnet: false,
156
156
  contracts: {
157
157
  multicall3: {
158
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
158
+ address: '0x5ba1e12693dc8f9c48aad8770482f4739beed696'
159
159
  }
160
160
  }
161
161
  }),
@@ -174,7 +174,7 @@ exports.viemConfig = {
174
174
  testnet: false,
175
175
  contracts: {
176
176
  multicall3: {
177
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
177
+ address: '0x22D4cF72C45F8198CfbF4B568dBdB5A85e8DC0B5'
178
178
  }
179
179
  }
180
180
  }),
@@ -193,7 +193,7 @@ exports.viemConfig = {
193
193
  testnet: false,
194
194
  contracts: {
195
195
  multicall3: {
196
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
196
+ address: '0x80C7DD17B01855a6D2347444a0FCC36136a314de'
197
197
  }
198
198
  }
199
199
  }),
@@ -233,7 +233,7 @@ exports.viemConfig = {
233
233
  testnet: true,
234
234
  contracts: {
235
235
  multicall3: {
236
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
236
+ address: '0x5ba1e12693dc8f9c48aad8770482f4739beed696'
237
237
  }
238
238
  }
239
239
  }),
@@ -252,7 +252,7 @@ exports.viemConfig = {
252
252
  testnet: false,
253
253
  contracts: {
254
254
  multicall3: {
255
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
255
+ address: '0x5e954f5972EC6BFc7dECd75779F10d848230345F'
256
256
  }
257
257
  }
258
258
  }),
@@ -292,7 +292,7 @@ exports.viemConfig = {
292
292
  testnet: false,
293
293
  contracts: {
294
294
  multicall3: {
295
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
295
+ address: '0x67dA5f2FfaDDfF067AB9d5F025F8810634d84287'
296
296
  }
297
297
  }
298
298
  }),
@@ -311,7 +311,7 @@ exports.viemConfig = {
311
311
  testnet: false,
312
312
  contracts: {
313
313
  multicall3: {
314
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
314
+ address: '0xdDCbf776dF3dE60163066A5ddDF2277cB445E0F3'
315
315
  }
316
316
  }
317
317
  }),
@@ -330,7 +330,7 @@ exports.viemConfig = {
330
330
  testnet: false,
331
331
  contracts: {
332
332
  multicall3: {
333
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
333
+ address: '0x0769fd68dFb93167989C6f7254cd0D766Fb2841F'
334
334
  }
335
335
  }
336
336
  }),
@@ -368,7 +368,7 @@ exports.viemConfig = {
368
368
  testnet: false,
369
369
  contracts: {
370
370
  multicall3: {
371
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
371
+ address: '0x9aac9048fC8139667D6a2597B902865bfdc225d3'
372
372
  }
373
373
  }
374
374
  }),
@@ -389,7 +389,7 @@ exports.viemConfig = {
389
389
  testnet: true,
390
390
  contracts: {
391
391
  multicall3: {
392
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
392
+ address: '0x805488daa81c1b9e7c5ce3f1dcea28f21448ec6a'
393
393
  }
394
394
  }
395
395
  }),
@@ -408,7 +408,7 @@ exports.viemConfig = {
408
408
  testnet: false,
409
409
  contracts: {
410
410
  multicall3: {
411
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
411
+ address: '0x96a5Eac3fa7BB87c61881Dc093884C06719Bcd1E'
412
412
  }
413
413
  }
414
414
  }),
@@ -467,7 +467,7 @@ exports.viemConfig = {
467
467
  testnet: false,
468
468
  contracts: {
469
469
  multicall3: {
470
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
470
+ address: '0x6BB10762aE02d0544a0E948B62EaeBD991100622'
471
471
  }
472
472
  }
473
473
  }),
@@ -486,7 +486,7 @@ exports.viemConfig = {
486
486
  testnet: false,
487
487
  contracts: {
488
488
  multicall3: {
489
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
489
+ address: '0x176730799C812d70C6608F51aEa6C7e5cdA7eA50'
490
490
  }
491
491
  }
492
492
  }),
@@ -562,7 +562,7 @@ exports.viemConfig = {
562
562
  testnet: false,
563
563
  contracts: {
564
564
  multicall3: {
565
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
565
+ address: '0x270f2F35bED92B7A59eA5F08F6B3fd34c8D9D9b5'
566
566
  }
567
567
  }
568
568
  }),
@@ -585,7 +585,7 @@ exports.viemConfig = {
585
585
  testnet: false,
586
586
  contracts: {
587
587
  multicall3: {
588
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
588
+ address: '0x5b24224dC16508DAD755756639E420817DD4c99E'
589
589
  }
590
590
  }
591
591
  }),
@@ -625,7 +625,7 @@ exports.viemConfig = {
625
625
  testnet: false,
626
626
  contracts: {
627
627
  multicall3: {
628
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
628
+ address: '0xeAa6877139d436Dc6d1f75F3aF15B74662617B2C'
629
629
  }
630
630
  }
631
631
  }),
@@ -664,7 +664,7 @@ exports.viemConfig = {
664
664
  testnet: false,
665
665
  contracts: {
666
666
  multicall3: {
667
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
667
+ address: '0x53dC7535028e2fcaCa0d847AD108b9240C0801b1'
668
668
  }
669
669
  }
670
670
  }),
@@ -702,7 +702,7 @@ exports.viemConfig = {
702
702
  testnet: false,
703
703
  contracts: {
704
704
  multicall3: {
705
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
705
+ address: '0xF4d73326C13a4Fc5FD7A064217e12780e9Bd62c3'
706
706
  }
707
707
  }
708
708
  }),
@@ -740,7 +740,7 @@ exports.viemConfig = {
740
740
  testnet: false,
741
741
  contracts: {
742
742
  multicall3: {
743
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
743
+ address: '0x45be772faE4a9F31401dfF4738E5DC7DD439aC0b'
744
744
  }
745
745
  }
746
746
  }),
@@ -759,7 +759,7 @@ exports.viemConfig = {
759
759
  testnet: false,
760
760
  contracts: {
761
761
  multicall3: {
762
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
762
+ address: '0x6477204E12A7236b9619385ea453F370aD897bb2'
763
763
  }
764
764
  }
765
765
  }),
@@ -778,7 +778,7 @@ exports.viemConfig = {
778
778
  testnet: false,
779
779
  contracts: {
780
780
  multicall3: {
781
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
781
+ address: '0xd11dfc2ab34abd3e1abfba80b99aefbd6255c4b8'
782
782
  }
783
783
  }
784
784
  }),
@@ -835,7 +835,7 @@ exports.viemConfig = {
835
835
  testnet: false,
836
836
  contracts: {
837
837
  multicall3: {
838
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
838
+ address: '0xf43727c9BEb4C0aA3fEE1281A902e518f8586E54'
839
839
  }
840
840
  }
841
841
  }),
@@ -873,7 +873,7 @@ exports.viemConfig = {
873
873
  testnet: false,
874
874
  contracts: {
875
875
  multicall3: {
876
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
876
+ address: '0xc39aBB6c4451089dE48Cffb013c39d3110530e5C'
877
877
  }
878
878
  }
879
879
  }),
@@ -892,7 +892,7 @@ exports.viemConfig = {
892
892
  testnet: false,
893
893
  contracts: {
894
894
  multicall3: {
895
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
895
+ address: '0xDA294FDE76F7369ed93D7C7A3FD2d5277C2003B5'
896
896
  }
897
897
  }
898
898
  }),
@@ -930,7 +930,7 @@ exports.viemConfig = {
930
930
  testnet: false,
931
931
  contracts: {
932
932
  multicall3: {
933
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
933
+ address: '0x0c50a45401fA051F5F38e98d0E323f08eFa3bb0b'
934
934
  }
935
935
  }
936
936
  }),
@@ -949,7 +949,7 @@ exports.viemConfig = {
949
949
  testnet: false,
950
950
  contracts: {
951
951
  multicall3: {
952
- address: '0xeF65be81CF435238E742487De1fc27f1940D8B26'
952
+ address: '0x45CFd6FB7999328F189aaD2739Fba4Be6C45E5bf'
953
953
  }
954
954
  }
955
955
  }),
@@ -968,7 +968,7 @@ exports.viemConfig = {
968
968
  testnet: false,
969
969
  contracts: {
970
970
  multicall3: {
971
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
971
+ address: '0x0747CFe82D3Bee998f634569FE2B0005dF9d8EDE'
972
972
  }
973
973
  }
974
974
  }),
@@ -1006,7 +1006,7 @@ exports.viemConfig = {
1006
1006
  testnet: false,
1007
1007
  contracts: {
1008
1008
  multicall3: {
1009
- address: '0x1AA0663FBA06B1D5482E7CaA675aa12fB04F4D0f'
1009
+ address: '0xa385B1436fD2A6a1c6865E22c522A1aA40CaDCC6'
1010
1010
  }
1011
1011
  }
1012
1012
  }),
@@ -1025,7 +1025,7 @@ exports.viemConfig = {
1025
1025
  testnet: false,
1026
1026
  contracts: {
1027
1027
  multicall3: {
1028
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
1028
+ address: '0x5ba1e12693dc8f9c48aad8770482f4739beed696'
1029
1029
  }
1030
1030
  }
1031
1031
  }),
@@ -1082,7 +1082,7 @@ exports.viemConfig = {
1082
1082
  testnet: false,
1083
1083
  contracts: {
1084
1084
  multicall3: {
1085
- address: '0xF9cda624FBC7e059355ce98a31693d299FACd963'
1085
+ address: '0xDBA7ab3Ed22044417380E9358aAabCF85683f3c8'
1086
1086
  }
1087
1087
  }
1088
1088
  }),
@@ -1139,7 +1139,7 @@ exports.viemConfig = {
1139
1139
  testnet: false,
1140
1140
  contracts: {
1141
1141
  multicall3: {
1142
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
1142
+ address: '0x74F689bb9f86BD24d370BE2a2B9C74446ce08843'
1143
1143
  }
1144
1144
  }
1145
1145
  }),
@@ -1219,7 +1219,7 @@ exports.viemConfig = {
1219
1219
  testnet: false,
1220
1220
  contracts: {
1221
1221
  multicall3: {
1222
- address: '0x825267E0fA5CAe92F98540828a54198dcB3Eaeb5'
1222
+ address: '0x7E06D0CD8D3fDDBB875345dF389d986f810A49F6'
1223
1223
  }
1224
1224
  }
1225
1225
  }),
@@ -1237,24 +1237,6 @@ exports.viemConfig = {
1237
1237
  rpcUrls: { default: { http: ['https://eth-rpc-api.thetatoken.org/rpc'] } },
1238
1238
  testnet: false
1239
1239
  }),
1240
- STARKNET: (0, viem_1.defineChain)({
1241
- blockExplorers: {
1242
- default: {
1243
- apiUrl: 'https://starkscan.co/',
1244
- name: 'STARKNET Explorer',
1245
- url: 'https://starkscan.co/'
1246
- }
1247
- },
1248
- id: NaN,
1249
- name: 'starknet',
1250
- nativeCurrency: { decimals: 18, name: 'STRK', symbol: 'STRK' },
1251
- rpcUrls: {
1252
- default: {
1253
- http: ['https://rpc.starknet.lava.build', 'https://starknet-mainnet.public.blastapi.io', 'https://data.voyager.online/']
1254
- }
1255
- },
1256
- testnet: false
1257
- }),
1258
1240
  BITLAYER: (0, viem_1.defineChain)({
1259
1241
  blockExplorers: {
1260
1242
  default: {
@@ -1279,7 +1261,7 @@ exports.viemConfig = {
1279
1261
  testnet: false,
1280
1262
  contracts: {
1281
1263
  multicall3: {
1282
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
1264
+ address: '0x5B256fE9e993902eCe49D138a5b1162cBb529474'
1283
1265
  }
1284
1266
  }
1285
1267
  }),
@@ -1398,7 +1380,7 @@ exports.viemConfig = {
1398
1380
  testnet: false,
1399
1381
  contracts: {
1400
1382
  multicall3: {
1401
- address: '0xcA11bde05977b3631167028862bE2a173976CA11'
1383
+ address: '0x74F689bb9f86BD24d370BE2a2B9C74446ce08843'
1402
1384
  }
1403
1385
  }
1404
1386
  }),
@@ -1455,5 +1437,32 @@ exports.viemConfig = {
1455
1437
  address: '0xcA11bde05977b3631167028862bE2a173976CA11'
1456
1438
  }
1457
1439
  }
1440
+ }),
1441
+ MONAD: (0, viem_1.defineChain)({
1442
+ id: 143,
1443
+ name: 'Monad',
1444
+ network: 'Monad',
1445
+ nativeCurrency: {
1446
+ name: 'Monad',
1447
+ symbol: 'MON',
1448
+ decimals: 18
1449
+ },
1450
+ rpcUrls: {
1451
+ default: {
1452
+ http: ['https://rpc.monad.xyz', 'https://rpc1.monad.xyz', 'https://rpc3.monad.xyz']
1453
+ }
1454
+ },
1455
+ blockExplorers: {
1456
+ default: {
1457
+ name: 'monadscan',
1458
+ url: 'https://monadscan.com/'
1459
+ }
1460
+ },
1461
+ testnet: false,
1462
+ contracts: {
1463
+ multicall3: {
1464
+ address: '0xcA11bde05977b3631167028862bE2a173976CA11'
1465
+ }
1466
+ }
1458
1467
  })
1459
1468
  };
@@ -76,5 +76,6 @@ exports.viemBlockchainMapping = {
76
76
  [core_1.BLOCKCHAIN_NAME.UNICHAIN]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.UNICHAIN],
77
77
  [core_1.BLOCKCHAIN_NAME.MORPH]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.MORPH], // viem Morph config without multicall address
78
78
  [core_1.BLOCKCHAIN_NAME.HEMI]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.HEMI],
79
- [core_1.BLOCKCHAIN_NAME.PLASMA]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.PLASMA]
79
+ [core_1.BLOCKCHAIN_NAME.PLASMA]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.PLASMA],
80
+ [core_1.BLOCKCHAIN_NAME.MONAD]: chain_configs_1.viemConfig[core_1.BLOCKCHAIN_NAME.MONAD]
80
81
  };
@@ -12,6 +12,7 @@ const sui_web3_pure_1 = require("../web3-types/sui-web3-pure");
12
12
  const ton_web3_pure_1 = require("../web3-types/ton-web3-pure");
13
13
  const tron_web3_pure_1 = require("../web3-types/tron-web3-pure");
14
14
  const changenow_api_blockchain_1 = require("./changenow-api-blockchain");
15
+ const zcash_web3_pure_1 = require("../web3-types/zcash-web3-pure");
15
16
  exports.web3PureStore = {
16
17
  [core_1.CHAIN_TYPE.EVM]: new evm_web3_pure_1.EvmWeb3Pure(),
17
18
  [core_1.CHAIN_TYPE.SUI]: new sui_web3_pure_1.SuiWeb3Pure(),
@@ -23,6 +24,7 @@ exports.web3PureStore = {
23
24
  [core_1.CHAIN_TYPE.BITCOIN_GOLD]: new bitcoin_web3_pure_1.BitcoinWeb3Pure(),
24
25
  [core_1.CHAIN_TYPE.BSV]: new bitcoin_web3_pure_1.BitcoinWeb3Pure(),
25
26
  [core_1.CHAIN_TYPE.NEAR]: new near_web3_pure_1.NearWeb3Pure(),
27
+ [core_1.CHAIN_TYPE.ZCASH]: new zcash_web3_pure_1.ZcashWeb3Pure(),
26
28
  // Common Web3
27
29
  [core_1.CHAIN_TYPE.RIPPLE]: new common_web3_pure_1.CommonWeb3Pure({
28
30
  cnApiKey: changenow_api_blockchain_1.changenowApiBlockchain.RIPPLE,
@@ -216,6 +218,11 @@ exports.web3PureStore = {
216
218
  // cnApiKey: changenowApiBlockchain.RIPPLE,
217
219
  // regex: ?
218
220
  }),
221
+ [core_1.CHAIN_TYPE.STARKNET]: new common_web3_pure_1.CommonWeb3Pure({
222
+ // @TODO
223
+ // cnApiKey: changenowApiBlockchain.RIPPLE,
224
+ // regex: ?
225
+ }),
219
226
  [core_1.CHAIN_TYPE.IOST]: new common_web3_pure_1.CommonWeb3Pure({
220
227
  // @TODO
221
228
  // cnApiKey: changenowApiBlockchain.RIPPLE,
@@ -321,11 +328,6 @@ exports.web3PureStore = {
321
328
  // cnApiKey: changenowApiBlockchain.RIPPLE,
322
329
  // regex: ?
323
330
  }),
324
- [core_1.CHAIN_TYPE.ZCASH]: new common_web3_pure_1.CommonWeb3Pure({
325
- // @TODO
326
- // cnApiKey: changenowApiBlockchain.RIPPLE,
327
- // regex: ?
328
- }),
329
331
  [core_1.CHAIN_TYPE.HORIZEN]: new common_web3_pure_1.CommonWeb3Pure({
330
332
  // @TODO
331
333
  // cnApiKey: changenowApiBlockchain.RIPPLE,
@@ -0,0 +1,5 @@
1
+ import { CommonWeb3Pure } from './common-web3-pure';
2
+ export declare class ZcashWeb3Pure extends CommonWeb3Pure {
3
+ constructor();
4
+ isAddressCorrect(address: string): Promise<boolean>;
5
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ZcashWeb3Pure = void 0;
4
+ const changenow_api_blockchain_1 = require("../constants/changenow-api-blockchain");
5
+ const common_web3_pure_1 = require("./common-web3-pure");
6
+ class ZcashWeb3Pure extends common_web3_pure_1.CommonWeb3Pure {
7
+ constructor() {
8
+ super({
9
+ cnApiKey: changenow_api_blockchain_1.changenowApiBlockchain.ZCASH,
10
+ regex: /^(t1[a-zA-Z0-9]{33}|zs[a-zA-Z0-9]{76,}|u1[a-z0-9]{76,})$/
11
+ });
12
+ }
13
+ async isAddressCorrect(address) {
14
+ return /^(t1[a-zA-Z0-9]{33}|zs[a-zA-Z0-9]{76,}|u1[a-z0-9]{76,})$/.test(address);
15
+ }
16
+ }
17
+ exports.ZcashWeb3Pure = ZcashWeb3Pure;