Interface Signer

interface Signer {
    network?: any;
    publicKey: Uint8Array;
    getPublicKey?(): Uint8Array;
    sign(hash: Uint8Array, lowR?: boolean): Uint8Array;
    signSchnorr?(hash: Uint8Array): Uint8Array;
}

Properties

network?: any
publicKey: Uint8Array

Methods

  • Returns Uint8Array

  • Parameters

    • hash: Uint8Array
    • OptionallowR: boolean

    Returns Uint8Array

  • Parameters

    • hash: Uint8Array

    Returns Uint8Array