Open barnjamin opened 3 years ago
Another issue I've had is translating back and forth between the official js sdk and algosigners txn format. As a possible solution, can I just pass their sign function to algosigner and it partially applies the arguments to the function with with the secret key?
I'm terrible with js so this may be a horrible idea
In other words I pass this https://github.com/algorand/js-algorand-sdk/blob/develop/src/logicsig.ts#L281 and you give me back a closure with the sk applied or I pass it + the args necessary and you give me back the result?
You can see in the develop
branch our work on v2 signing. How it will work is the developer will pass in the transaction in a msgpack'd format, and we'll unpack it on the far side using the JS SDK. This way you won't need to do anything special with encodings and custom transaction building.
I'll ask one of our devs to check in here to review the logicsig signing request.
I too would like to be able to supply some compiled TEAL and have the user sign it to act as a delegated signature. Any update on this?
I'd like the ability to sign a compiled teal program that will act as a delegate signature