TWHDWallet class abstract
Hierarchical Deterministic (HD) Wallet
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
TWHDWalletCreate(
int strength, Pointer< Utf8> passphrase) → Pointer<Void> - Creates a new HDWallet with a new random mnemonic with the provided strength in bits.
-
TWHDWalletCreateWithEntropy(
Pointer< Void> entropy, Pointer<Utf8> passphrase) → Pointer<Void> - Creates an HDWallet from entropy (corresponding to a mnemonic).
-
TWHDWalletCreateWithMnemonic(
Pointer< Utf8> mnemonic, Pointer<Utf8> passphrase) → Pointer<Void> - Creates an HDWallet from a valid BIP39 English mnemonic and a passphrase.
-
TWHDWalletCreateWithMnemonicCheck(
Pointer< Utf8> mnemonic, Pointer<Utf8> passphrase, bool check) → Pointer<Void> - Creates an HDWallet from a BIP39 mnemonic, a passphrase and validation flag.
-
TWHDWalletDelete(
Pointer< Void> wallet) → void - Deletes a wallet.
-
TWHDWalletEntropy(
Pointer< Void> wallet) → Pointer<Void> - Wallet entropy
-
TWHDWalletGetAddressDerivation(
Pointer< Void> wallet, int coin, int derivation) → Pointer<Utf8> - Generates the default address for the specified coin and derivation (without exposing intermediary private key).
-
TWHDWalletGetAddressForCoin(
Pointer< Void> wallet, int coin) → Pointer<Utf8> - Generates the default address for the specified coin (without exposing intermediary private key), default derivation.
-
TWHDWalletGetDerivedKey(
Pointer< Void> wallet, int coin, int account, int change, int address) → Pointer<Void> - Shortcut method to generate private key with the specified account/change/address (bip44 standard).
-
TWHDWalletGetExtendedPrivateKey(
Pointer< Void> wallet, int purpose, int coin, int version) → Pointer<Utf8> - Returns the extended private key (for default 0 account).
-
TWHDWalletGetExtendedPrivateKeyAccount(
Pointer< Void> wallet, int purpose, int coin, int derivation, int version, int account) → Pointer<Utf8> - Returns the extended private key, for custom account.
-
TWHDWalletGetExtendedPrivateKeyDerivation(
Pointer< Void> wallet, int purpose, int coin, int derivation, int version) → Pointer<Utf8> - Returns the extended private key (for default 0 account with derivation).
-
TWHDWalletGetExtendedPublicKey(
Pointer< Void> wallet, int purpose, int coin, int version) → Pointer<Utf8> - Returns the extended public key (for default 0 account).
-
TWHDWalletGetExtendedPublicKeyAccount(
Pointer< Void> wallet, int purpose, int coin, int derivation, int version, int account) → Pointer<Utf8> - Returns the extended public key, for custom account.
-
TWHDWalletGetExtendedPublicKeyDerivation(
Pointer< Void> wallet, int purpose, int coin, int derivation, int version) → Pointer<Utf8> - Returns the extended public key (for default 0 account with derivation).
-
TWHDWalletGetKey(
Pointer< Void> wallet, int coin, Pointer<Utf8> derivationPath) → Pointer<Void> - Generates the private key for the specified derivation path.
-
TWHDWalletGetKeyByCurve(
Pointer< Void> wallet, int curve, Pointer<Utf8> derivationPath) → Pointer<Void> - Generates the private key for the specified derivation path and curve.
-
TWHDWalletGetKeyDerivation(
Pointer< Void> wallet, int coin, int derivation) → Pointer<Void> - Generates the private key for the specified derivation.
-
TWHDWalletGetKeyForCoin(
Pointer< Void> wallet, int coin) → Pointer<Void> - Generates the default private key for the specified coin, using default derivation.
-
TWHDWalletGetMasterKey(
Pointer< Void> wallet, int curve) → Pointer<Void> - Returns master key.
-
TWHDWalletGetPublicKeyFromExtended(
Pointer< Utf8> extended, int coin, Pointer<Utf8> derivationPath) → Pointer<Void> - Computes the public key from an extended public key representation.
-
TWHDWalletMnemonic(
Pointer< Void> wallet) → Pointer<Utf8> - Wallet Mnemonic
-
TWHDWalletSeed(
Pointer< Void> wallet) → Pointer<Void> - Wallet seed.