loadAccountFromPrivateKey method

Future<Account> loadAccountFromPrivateKey(
  1. String privateKey
)

Load an existing account from a private key. Private key is a hexadecimal representation of the seed.

Throws UnsupportedError if seeds are unsupported.

Implementation

Future<Account> loadAccountFromPrivateKey(String privateKey) async {
  return await Account.fromPrivateKey(privateKey);
}