DescriptorPublicKey

class DescriptorPublicKey(    network: Network,     mnemonic: String,     password: String?)

An extended public key.

Parameters

network

The network this DescriptorPublicKey is to be used on.

mnemonic

The mnemonic.

password

The optional passphrase that can be provided as per BIP-39.

Constructors

Link copied to clipboard
fun DescriptorPublicKey(    network: Network,     mnemonic: String,     password: String?)

Functions

Link copied to clipboard
fun asString(): String

Return the public descriptor as a string.

Link copied to clipboard
fun derive(path: DerivationPath): DescriptorSecretKey

Derive a public descriptor at a given path.

Link copied to clipboard
fun extend(path: DerivationPath): DescriptorSecretKey

Extend the public descriptor with a custom path.