pub fn derive_private_key<W: Wordlist>( mnemonic: &str, path: &str, index: u32, ) -> Result<U256, String>
Derives a private key from a BIP-39 mnemonic using the given BIP-32 path and index.