NoteStream
NoteStream copied to clipboard
Make stream creation atomic
This PR consolidates the two transactions to create a stream (sending ZkAsset to contract and initialising stream) into one.
Currently blocked as the AZTEC SDK doesn't support signing an approval for the contract to submit the JoinSplit proof. The approval could be generated outside the sdk could be a worrying change to the standard flow for users.
closes #25
Tasks before merging:
- [x] test failure conditions in
StreamUtilities.sol - [ ] test success outcomes of
StreamUtilities.solfunctions - [ ] update frontend to call new sdk method to get signed proof
- [ ] deploy new contract to rinkeby to close #41
This pull request is being automatically deployed with Vercel (learn more). To see the status of your deployment, click below or on the icon next to each commit.