Signer
Signer Interface
type Signer = {
/** Returns the public key for this signer */
publicKey(): Ed25519PublicKey;
/** Signs arbitrary data and returns the signature as a Buffer */
sign(data: Buffer): Buffer;
/** Signs a transaction and returns its XDR string */
signTransaction(
tx: Transaction | FeeBumpTransaction
): Promise<TransactionXDRBase64> | TransactionXDRBase64;
/** Signs a Soroban authorization entry */
signSorobanAuthEntry(
authEntry: xdr.SorobanAuthorizationEntry,
validUntilLedgerSeq: number,
networkPassphrase: string
): Promise<xdr.SorobanAuthorizationEntry>;
/** Returns true if this signer can sign for the given target */
signsFor(target: Ed25519PublicKey | ContractId): boolean;
};Using Signers
Multiple Signers
Implementing Custom Signers
Available Signers
Signer
Description
Next Steps
Last updated