@thruputchain/client
    Preparing search index...

    Interface Signer

    Interface for signing canonical transaction bytes.

    Implement this interface to connect the SDK to a wallet, hardware signer, remote signer, or custom key-management system.

    interface Signer {
        publicKey: PublicKey;
        sign(message: Uint8Array): Promise<Signature>;
    }

    Implemented by

    Index

    Properties

    Methods

    Properties

    publicKey: PublicKey

    Public key corresponding to signatures produced by this signer.

    Methods

    • Sign an arbitrary byte message and return a protocol signature.

      Parameters

      • message: Uint8Array

      Returns Promise<Signature>