fromPublicKey static method

KeyPair fromPublicKey(
  1. Uint8List publicKey
)

Creates a new KeyPair object from a 32 byte publicKey address.

Implementation

static KeyPair fromPublicKey(Uint8List publicKey) {
  return new KeyPair(publicKey, null);
}