buildHdWalletFromMnemonic method

  1. @SquadronMethod()
  2. @hdWalletMarshaler
Future<HdWallet> buildHdWalletFromMnemonic(
  1. @stringListMarshaler List<String> mnemonic,
  2. int accountIndex
)

Implementation

@SquadronMethod()
@hdWalletMarshaler
Future<HdWallet> buildHdWalletFromMnemonic(
  @stringListMarshaler List<String> mnemonic,
  int accountIndex,
) async =>
    HdWallet.fromMnemonic(mnemonic.join(" "), accountIndex: accountIndex);