ckdPubBip32Ed25519KeyDerivations method

  1. @SquadronMethod()
  2. @bip32PublicKeysKeyMarshaler
Future<List<Bip32PublicKey>> ckdPubBip32Ed25519KeyDerivations(
  1. @bip32PublicKeyKeyMarshaler Bip32PublicKey pubKey,
  2. int startIndexInclusive,
  3. int endIndexExclusive
)

Implementation

@SquadronMethod()
@bip32PublicKeysKeyMarshaler
Future<List<Bip32PublicKey>> ckdPubBip32Ed25519KeyDerivations(
  // verify key is the public key
  @bip32PublicKeyKeyMarshaler Bip32PublicKey pubKey,
  int startIndexInclusive,
  int endIndexExclusive,
) async =>
    List.generate(
      endIndexExclusive - startIndexInclusive,
      (index) => Bip32Ed25519KeyDerivation.instance.ckdPub(pubKey, startIndexInclusive + index),
    );