This forum is a read-only archive. Posting, replying and signing in are disabled.

Is it possible to decompile application approval program?

humblefool

How to convert the application approval program to TEAL code?
Do we have this support in JS SDK?

✔ Solved by Ben in post #2
Ben

This PR was just merged to master to provide an endpoint for disassembly:

But it isn’t available in the SDKs yet and you’d have to be running the request against a master branch version of the Algod to use it.

You could use dryrun to hack it but it might be more pain than its worth.

✔ Solution
humblefool

Thanks, Ben. When can we expect this to be available in JS SDK?
just the rough timeline if possible

algoanne

Hi @humblefool , we haven’t so far prioritized getting this into the SDK’s - would you mind if I ask what your specific use case is?