pub struct WalletSeed { /* private fields */ }Expand description
Struct representing an extended private key derived from a wallet’s seed, used to derive child VTXO keypairs
The VTXO seed is derived by applying a hardened derivation step at index 350 from the wallet’s seed.
Implementations§
Source§impl WalletSeed
impl WalletSeed
Sourcepub fn new_from_seed(network: Network, seed: &[u8; 64]) -> Self
pub fn new_from_seed(network: Network, seed: &[u8; 64]) -> Self
Create a new WalletSeed from a given BIP-32 master seed
Sourcepub fn new_from_mnemonic(network: Network, mnemonic: &Mnemonic) -> Self
pub fn new_from_mnemonic(network: Network, mnemonic: &Mnemonic) -> Self
Create a new WalletSeed from a given BIP-39 Mnemonic
pub fn fingerprint(&self) -> Fingerprint
Auto Trait Implementations§
impl Freeze for WalletSeed
impl RefUnwindSafe for WalletSeed
impl Send for WalletSeed
impl Sync for WalletSeed
impl Unpin for WalletSeed
impl UnsafeUnpin for WalletSeed
impl UnwindSafe for WalletSeed
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request