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