Static
fromCreate a Wallet Unlocked from an encrypted JSON.
Create a Wallet Unlocked from an encrypted JSON.
The encrypted JSON keystore.
The password to decrypt the JSON.
Optional
provider: ProviderA Provider instance (optional).
An unlocked wallet instance.
Static
fromCreate a Wallet Unlocked from an extended key.
Create a Wallet Unlocked from an extended key.
The extended key.
Optional
provider: ProviderA Provider instance (optional).
An instance of WalletUnlocked.
Static
fromCreate a Wallet Unlocked from a mnemonic phrase.
Create a Wallet Unlocked from a mnemonic phrase.
An instance of WalletUnlocked.
Static
fromCreate a Wallet Unlocked from a seed.
Create a Wallet Unlocked from a seed.
The seed phrase.
Optional
path: stringThe derivation path (optional).
Optional
provider: ProviderA Provider instance (optional).
An instance of WalletUnlocked.
Static
generateGenerate a new Wallet Unlocked with a random key pair.
Generate a new Wallet Unlocked with a random key pair.
Optional
generateOptions: GenerateOptionsOptions to customize the generation process (optional).
An instance of WalletUnlocked.
Static
fromCreates a locked wallet instance from an address and a provider.
A locked wallet instance.
Static
fromCreates an unlocked wallet instance from a private key and a provider.
An unlocked wallet instance.
Wallet
provides methods to create locked and unlocked wallet instances.