newFromMnemonicAndPath method

  1. @override
Future<DartWalletUnlocked> newFromMnemonicAndPath({
  1. required String networkUrl,
  2. required String mnemonic,
  3. required String derivationPath,
})
override

Implementation

@override
Future<DartWalletUnlocked> newFromMnemonicAndPath(
    {required String networkUrl,
    required String mnemonic,
    required String derivationPath}) async {
  final w = await fuels.WalletUnlocked.newFromMnemonicPhraseWithPath(
      bridge: _bridge,
      nodeUrl: networkUrl,
      phrase: mnemonic,
      path: derivationPath);
  return await MobileWalletUnlocked.fromRust(w, networkUrl);
}