newFromMnemonicPhraseAndPath static method
Imports the wallet from the provided mnemonic phrase and derivation path
Implementation
static Future<FuelWallet> newFromMnemonicPhraseAndPath({
required String networkUrl,
required String mnemonic,
required String derivationPath,
}) async {
validateMnemonicPhrase(mnemonic);
final walletUnlocked = await _wallet.newFromMnemonicAndPath(
networkUrl: networkUrl,
mnemonic: mnemonic,
derivationPath: derivationPath);
return FuelWallet(walletUnlocked);
}