generateNewWallet static method

Future<FuelWallet> generateNewWallet({
  1. required String networkUrl,
})

Generates a mnemonic phrase and a wallet from it

Implementation

static Future<FuelWallet> generateNewWallet({
  required String networkUrl,
}) async {
  final walletUnlocked =
      await _wallet.generateNewWallet(networkUrl: networkUrl);
  return FuelWallet(walletUnlocked);
}