Function tealSign

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

    Parameters

    • sk: Uint8Array

      Uint8Array with secret key

    • data: Uint8Array

      Uint8Array with data to sign

    • programHash: string | Address

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

    Returns Uint8Array

Generated using TypeDoc