Make stream creation and sending of ZkAsset atomic #25
Labels
bug
Something isn't working
contracts
enhancement
New feature or request
future
Long term goals
react-app
Currently to create a stream requires 2 transactions (1 through sdk to send the ZkAsset to the contract, 1 to give the stream parameters). This leads to the possible situation of the second transaction failing which locks the note on the contract unless the user manually generates the second transaction again.
Once the proof generated by the aztec sdk's
ZkAsset.send
method is able to be exported, we should combine these two transaction calls to prevent locked funds.The text was updated successfully, but these errors were encountered: