ed25519SignedPayload

Creates an Ed25519 signed payload signer.

Return

A new Ed25519SignedPayload signer

Parameters

ed25519PublicKey

The 32-byte Ed25519 public key

payload

The payload to be signed (up to 64 bytes)


Creates an Ed25519 signed payload signer from an encoded public key string.

Return

A new Ed25519SignedPayload signer

Parameters

encodedPublicKey

The StrKey-encoded Ed25519 public key (starts with 'G')

payload

The payload to be signed (up to 64 bytes)