fromSecretKey static method
Implementation
static Secp256k1KeyIdentity fromSecretKey(Uint8List secretKey) {
try {
final publicKey = getPublicFromPrivateKey(secretKey, false);
final identity = Secp256k1KeyIdentity.fromKeyPair(publicKey!, secretKey);
return identity;
} catch (e) {
rethrow;
}
}