As mentioned here there are various envelopes for a transaction and payer signs last.
My requirement is to create an authorization envelope at the frontend level then send it to backend where I will create a payment envelope and then send the transaction.
Now I am having a hard time figuring out how this can be done using the flow javascript sdk. I have seen various posts on transactions on this forum but no one talked about how to do this at multiple levels.
Can anyone help.
@qvvg Can you suggest something.
Hi @sudhanshu,
Can you explain what you’re trying to do for better context? Is it possible that you can integrate a 3rd party wallet such as Blocto for account authorizations?
@kimcodeashian The private key for my payer for transactions rests on my backend. Basically I am building something where I could fund all the transactions happening on my platforms.
Blocto will only help with the authorizations of the user that is currently loggedin.
Anyways implemented my custom signing function following this.
It worked for my usecase. Let me know if you have any better suggestions though.