Companion

object Companion

Properties

Link copied to clipboard

Maximum payload length for Ed25519 signed payload signers. As defined in CAP-40, the payload has a maximum size of 64 bytes.

Functions

Link copied to clipboard

Creates an Ed25519 public key signer from raw bytes.

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

Link copied to clipboard

Creates an Ed25519 signed payload signer.

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

Link copied to clipboard
fun fromEncodedSignerKey(encodedSignerKey: String): SignerKey

Creates a SignerKey from an encoded signer key string.

Link copied to clipboard
fun fromXdr(signerKey: SignerKeyXdr): SignerKey

Creates a SignerKey from its XDR representation.

Link copied to clipboard

Creates a Hash-X signer from raw bytes.

fun hashX(encodedHash: String): SignerKey.HashX

Creates a Hash-X signer from an encoded hash string.

Link copied to clipboard

Creates a pre-authorized transaction hash signer from raw bytes.

Creates a pre-authorized transaction hash signer from an encoded hash string.