taiga icon indicating copy to clipboard operation
taiga copied to clipboard

Taiga Solver API

Open bazzilic opened this issue 1 year ago • 1 comments

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 avatar Mar 07 '23 14:03 bazzilic

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

XuyangSong avatar Apr 13 '23 14:04 XuyangSong