Function tealSign

  • tealSign creates a signature compatible with ed25519verify opcode from program hash

    Parameters

    • sk: Uint8Array

      uint8array with secret key

    • data: Uint8Array | Buffer

      buffer with data to sign

    • programHash: string

      string representation of teal program hash (= contract address for LogicSigs)

    Returns Uint8Array

Generated using TypeDoc