pub fn create_wallet_from_mnemonic(
mnemonic: &str,
derivation_path: Option<&str>,
) -> Result<LocalWallet, Box<dyn Error>>Expand description
Creates a wallet from a mnemonic phrase
ยงExample
let mnemonic = "test test test test test test test test test test test junk";
let wallet = create_wallet_from_mnemonic(mnemonic, Some("m/44'/60'/0'/0/0"))?;