#I want to offload some opcodes from a contract to a logicsig.

4 messages · Page 1 of 1 (latest)

long edge
#

I was told in general that the logicsig can be included as part of a group txn, where the signature would verify certain things based on params it gets from the 2nd txn which is a call to a function in the contract.
If the sig approves, the contract can assume the verifications passed. If rejected, the whole group fails.
Now looking to implement this, i'm not sure i understand how to include the logicsig as part of the group. And also want to understand how I can verify in the contract function that the logicsig being used in the group, is the correct logicsig.

#

(btw working in pyteal with beaker)

long edge
#

nope, will look into it now