Type Alias bdk::keys::bip39::MnemonicWithPassphrase
source · pub type MnemonicWithPassphrase = (Mnemonic, Option<String>);
Available on crate feature
keys-bip39
only.Expand description
Type for a BIP39 mnemonic with an optional passphrase
Trait Implementations§
source§impl<Ctx: ScriptContext> DerivableKey<Ctx> for MnemonicWithPassphrase
impl<Ctx: ScriptContext> DerivableKey<Ctx> for MnemonicWithPassphrase
source§fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>
fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>
source§fn 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