fromKeyPair static method

Secp256k1KeyIdentity fromKeyPair(
  1. BinaryBlob publicKey,
  2. BinaryBlob privateKey
)

Implementation

static Secp256k1KeyIdentity fromKeyPair(
    BinaryBlob publicKey, BinaryBlob privateKey) {
  return Secp256k1KeyIdentity(
      Secp256k1PublicKey.fromRaw(publicKey), privateKey);
}