Description

A local implementation of the signer. Will represent a Tezos account and be able to produce signature in its behalf

Warn

If running in production and dealing with tokens that have real value, it is strongly recommended to use a HSM backed signer so that private key material is not stored in memory or on disk

Throws

InvalidMnemonicError

Constructors

Methods

  • Parameters

    • bytes: string

      Bytes to sign

    • Optional watermark: Uint8Array

      Watermark to append to the bytes

    Returns Promise<{
        bytes: string;
        prefixSig: string;
        sbytes: string;
        sig: string;
    }>

Generated using TypeDoc