Available on crate feature
keys-bip39
only.Expand description
Type for a BIP39 mnemonic with an optional passphrase
Trait Implementations
sourceimpl<Ctx: ScriptContext> DerivableKey<Ctx> for MnemonicWithPassphrase
impl<Ctx: ScriptContext> DerivableKey<Ctx> for MnemonicWithPassphrase
sourcefn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>
fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>
Consume self
and turn it into an ExtendedKey
Read more
sourcefn into_descriptor_key(
self,
source: Option<KeySource>,
derivation_path: DerivationPath
) -> Result<DescriptorKey<Ctx>, KeyError>
fn into_descriptor_key(
self,
source: Option<KeySource>,
derivation_path: DerivationPath
) -> Result<DescriptorKey<Ctx>, KeyError>
Consume self
and turn it into a DescriptorKey
by adding the extra metadata, such as
key origin and derivation path Read more