derive method
Derive child key information using unhardened BIP32 derivation. Hardened derivation is not possible.
Implementation
@override
HDGroupKeyInfo derive(int index) {
final (tweak, newHdInfo) = hdInfo.deriveTweakAndInfo(groupKey, index);
return HDGroupKeyInfo(
groupKey: groupKey.tweak(tweak)!,
threshold: threshold,
hdInfo: newHdInfo,
);
}