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

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

InvalidMnemonicError

Constructors

Methods

  • Parameters

    • bytes: string

      Bytes to sign

    • Optionalwatermark: Uint8Array

      Watermark to append to the bytes

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