addAccount method

  1. @override
Future<EthereumAddress> addAccount(
  1. int index
)
override

Adds a new account to the HD wallet.

  • index: The index of the account.

Returns the Ethereum address of the new account.

Implementation

@override
Future<EthereumAddress> addAccount(int index) async {
  await _authWrapper();
  return _add(_seed, index);
}