Skip to main content

derive_private_key

Function derive_private_key 

Source
pub fn derive_private_key<W: Wordlist>(
    mnemonic: &str,
    path: &str,
    index: u32,
) -> Result<U256, String>
Expand description

Derives a private key from a BIP-39 mnemonic using the given BIP-32 path and index.