pub struct StandardWalletKeys { /* private fields */ }Implementations§
Source§impl StandardWalletKeys
impl StandardWalletKeys
Sourcepub fn from_words(words: &str, password: &[u8]) -> Result<Self, WalletError>
pub fn from_words(words: &str, password: &[u8]) -> Result<Self, WalletError>
Create a standard wallet private parts from a set of english BIP39 words (12, 15, 18, 21, 24) and a password
pub fn to_public(&self) -> StandardWallet
pub fn top_key(&self) -> &HDKey
pub fn root_key(&self) -> &HDKey
pub fn account_key(&self) -> &HDKey
Auto Trait Implementations§
impl Freeze for StandardWalletKeys
impl RefUnwindSafe for StandardWalletKeys
impl Send for StandardWalletKeys
impl Sync for StandardWalletKeys
impl Unpin for StandardWalletKeys
impl UnwindSafe for StandardWalletKeys
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