generate method

List<ToplAddress> generate(
  1. List<int> idxs
)

Uses the cached root public key to generate new addresses

Implementation

List<ToplAddress> generate(List<int> idxs) {
  return idxs.map((idx) {
    final addrKey = _derivator.deriveAddress(address: idx);
    return generatePubKeyHashAddress(
        addrKey.publicKey!, network, propositionType.propositionName);
  }).toList();
}