ckdPubBip32Ed25519KeyDerivations method
- @SquadronMethod()
- @bip32PublicKeysKeyMarshaler
- @bip32PublicKeyKeyMarshaler Bip32PublicKey pubKey,
- int startIndexInclusive,
- 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),
);