Struct bdk::keys::bip39::Seed [−][src]
pub struct Seed { /* fields omitted */ }
keys-bip39
only.Expand description
The secret value used to derive HD wallet addresses from a Mnemonic
phrase.
Because it is not possible to create a Mnemonic
instance that is invalid, it is
therefore impossible to have a Seed
instance that is invalid. This guarantees that only
a valid, intact mnemonic phrase can be used to derive HD wallet addresses.
To get the raw byte value use Seed::as_bytes()
. These can be used to derive
HD wallet addresses using another crate (deriving HD wallet addresses is outside the scope of this
crate and the BIP39 standard).
Seed
implements Zeroize
, so it’s bytes will be zeroed when it’s dropped.
Implementations
Trait Implementations
Consume self
and turn it into an ExtendedKey
Read more
fn into_descriptor_key(
self,
source: Option<KeySource>,
derivation_path: DerivationPath
) -> Result<DescriptorKey<Ctx>, KeyError>
[src]
fn into_descriptor_key(
self,
source: Option<KeySource>,
derivation_path: DerivationPath
) -> Result<DescriptorKey<Ctx>, KeyError>
[src]Consume self
and turn it into a DescriptorKey
by adding the extra metadata, such as
key origin and derivation path Read more
Auto Trait Implementations
impl RefUnwindSafe for Seed
impl UnwindSafe for Seed
Blanket Implementations
pub fn base32_len(&self) -> usize
pub fn base32_len(&self) -> usize
Calculate the base32 serialized length
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
impl<T> ToHex for T where
T: LowerHex,
impl<T> ToHex for T where
T: LowerHex,
pub fn vzip(self) -> V