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): DescriptorPublicKey

Derive a public descriptor at a given path.

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

Extend the public descriptor with a custom path.

Link copied to clipboard
fun fromString(publicKey: String): DescriptorPublicKey

Build a DescriptorPublicKey from a String