Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Taiga Solver API #135

Open
5 tasks
bazzilic opened this issue Mar 7, 2023 · 1 comment
Open
5 tasks

Taiga Solver API #135

bazzilic opened this issue Mar 7, 2023 · 1 comment
Labels

Comments

@bazzilic
Copy link
Contributor

bazzilic commented Mar 7, 2023

Taiga API for solvers.

  • createPtx() : Ptx Creates the initial partial transaction, spending user’s available assets and possibly creating some notes (intent notes or the desired assets directly). For every note created in the partial transaction, we need to include the nullifier key for the solvers to be able to spend them to balance the transaction
  • retrieveVP() Solvers need information about the VPs in order to be able to satisfy them efficiently. There was some design question around that, was it resolved? @vveiln @XuyangSong
  • combineIntents() Takes two or more intents as input, puts the information contained in them into a new intent, and adds more partial transactions.
  • finalizeTxn() We need a call for creating final transaction, that will need action proofs to be added (and maybe something else).
  • ExecuteVP() Solving might require execution of VP.
@bazzilic bazzilic added the API label Mar 7, 2023
@XuyangSong
Copy link
Collaborator

Do we still need the combineIntents() API?
I remember we discussed the partial transaction struct in the meeting earlier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants