Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Sign compiled program #210

Open
barnjamin opened this issue Apr 10, 2021 · 4 comments
Open

Sign compiled program #210

barnjamin opened this issue Apr 10, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@barnjamin
Copy link

I'd like the ability to sign a compiled teal program that will act as a delegate signature

@purestaketdb purestaketdb added the enhancement New feature or request label Apr 11, 2021
@barnjamin
Copy link
Author

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

@barnjamin
Copy link
Author

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?

@purestaketdb
Copy link
Contributor

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.

@AustP
Copy link

AustP commented Jan 12, 2023

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants