fromPublicKey static method

SignedPayloadSigner fromPublicKey(
  1. Uint8List signerED25519PublicKey,
  2. Uint8List payload
)

Implementation

static SignedPayloadSigner fromPublicKey(
    Uint8List signerED25519PublicKey, Uint8List payload) {
  XdrAccountID accId = XdrAccountID(
      KeyPair.fromPublicKey(signerED25519PublicKey).xdrPublicKey);
  return SignedPayloadSigner(accId, payload);
}