fromSecretKey static method
Implementation
static Future<SchnorrIdentity> fromSecretKey(Uint8List secretKey) async {
final kp = await getECkeyFromPrivateKey(secretKey);
final identity = SchnorrIdentity.fromKeyPair(
kp.ecSchnorrPublicKey!,
kp.ecPrivateKey!,
);
return identity;
}