in the following example:
i see there is a ‘receiver’ parameter given to the function, but this value is actually hard-coded in this specific template. I was wondering if there is a way to pass one (or more) arguments to the function using the Java SDK. In my specific case, i need to create a LogicSig in a dynamic way (receiver and other values change each time), so having the possibility to do it from within my application would be great!
So what i need is:
- compile PyTeal to TEAL (generic signature smart contract)
- open the TEAL file in my Java application, and create the LogicSig with given parameters (receiver, amount etc.)