Function tealSign

  • tealSign creates a signature compatible with ed25519verify opcode from contract address

    Parameters

    • sk: Uint8Array

      uint8array with secret key

    • data: Uint8Array | Buffer

      buffer with data to sign

    • contractAddress: string

      string representation of teal contract address (program hash)

    Returns Uint8Array

Generated using TypeDoc