HDWallet
class HDWallet
Hierarchical Deterministic (HD) Wallet
Constructors
Functions
Link copied to clipboard
Generates the default address for the specified coin and derivation (without exposing intermediary private key).
Link copied to clipboard
Generates the default address for the specified coin (without exposing intermediary private key), default derivation.
Link copied to clipboard
Shortcut method to generate private key with the specified account/change/address (bip44 standard).
Link copied to clipboard
Returns the extended private key (for default 0 account).
Link copied to clipboard
open fun getExtendedPrivateKeyAccount(purpose: Purpose, coin: CoinType, derivation: Derivation, version: HDVersion, account: Int): String
Returns the extended private key, for custom account.
Link copied to clipboard
open fun getExtendedPrivateKeyDerivation(purpose: Purpose, coin: CoinType, derivation: Derivation, version: HDVersion): String
Returns the extended private key (for default 0 account with derivation).
Link copied to clipboard
Returns the extended public key (for default 0 account).
Link copied to clipboard
open fun getExtendedPublicKeyAccount(purpose: Purpose, coin: CoinType, derivation: Derivation, version: HDVersion, account: Int): String
Returns the extended public key, for custom account.
Link copied to clipboard
open fun getExtendedPublicKeyDerivation(purpose: Purpose, coin: CoinType, derivation: Derivation, version: HDVersion): String
Returns the extended public key (for default 0 account with derivation).
Link copied to clipboard
Generates the private key for the specified derivation path and curve.
Link copied to clipboard
Generates the private key for the specified derivation.
Link copied to clipboard
Generates the default private key for the specified coin, using default derivation.
Link copied to clipboard
Returns master key.
Link copied to clipboard
open fun getPublicKeyFromExtended(extended: String, coin: CoinType, derivationPath: String): PublicKey
Computes the public key from an extended public key representation.