Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 72b2760

Browse files
committed
Add url and provider as constructor args for hdwallet
1 parent f470bba commit 72b2760

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/hdwallet-provider/src/constructor/Constructor.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import type {
22
Mnemonic,
33
MnemonicPhrase,
44
PrivateKey,
5+
Provider,
56
ProviderOrUrl,
67
AddressIndex,
78
NumberOfAddresses,
@@ -38,7 +39,9 @@ export type InputSigningAuthority =
3839
| PrivateKeysSigningAuthority;
3940

4041
export interface CommonOptions {
41-
providerOrUrl: ProviderOrUrl;
42+
providerOrUrl?: ProviderOrUrl;
43+
provider?: Provider;
44+
url?: string;
4245
addressIndex?: AddressIndex;
4346
numberOfAddresses?: NumberOfAddresses;
4447
shareNonce?: ShareNonce;

0 commit comments

Comments
 (0)