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

Transaction balancing algorithm prototype #46

Closed
ajuggler opened this issue Nov 15, 2024 · 0 comments · May be fixed by #19
Closed

Transaction balancing algorithm prototype #46

ajuggler opened this issue Nov 15, 2024 · 0 comments · May be fixed by #19
Assignees

Comments

@ajuggler
Copy link
Contributor

ajuggler commented Nov 15, 2024

This task unblocks issue # 6.

This algorithm prototype:

only chooses inputs (disregards reference inputs and validity range)
adds change outputs,
and calculates fees
Runs the Plonk prove algorithm for the (cheap) IdentityCircuit.

Inputs to the algorithm:

Partial transaction to be balanced;
A set of input UTxOs that could be consumed to balance the transaction;
The address for change outputs.
The algorithm outputs the balanced transaction ready to be submitted to the blockchain.

@ajuggler ajuggler self-assigned this Nov 15, 2024
@stmafold stmafold closed this as completed Dec 2, 2024
@ajuggler ajuggler linked a pull request Dec 4, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants