Using the JavaScript SDK for Algorand.
Does anyone know how to go from algodClient.compile(sig)
to a LogicSigAccount
?
I can do it using the Python SDK, but I can't seem to translate it to JS. Here's the python in case that's useful: lsig = LogicSigAccount(base64.decodebytes(response["result"].encode()))
Try something like this: