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

Implement Transaction Queue Support #2361

Open
Torres-ssf opened this issue May 21, 2024 · 2 comments
Open

Implement Transaction Queue Support #2361

Torres-ssf opened this issue May 21, 2024 · 2 comments
Labels
feat Issue is a feature p2 Low Priority

Comments

@Torres-ssf
Copy link
Contributor

The TS SDK should support queuing of transactions. This feature would allow developers to queue multiple transactions and ensure they are executed sequentially. For example, once transaction X is completed, transaction X+1 should automatically start, and so on. (i.e. once X tx is done, do X + 1, etc).

This feature is particularly useful in scenarios where a series of dependent transactions need to be processed in a specific order. It simplifies the workflow for developers who otherwise would have to manually handle the sequencing and execution of transactions.

Extracted from: #161

@nedsalk
Copy link
Contributor

nedsalk commented May 21, 2024

Would this cover using the outputs of one transaction as inputs for the next?

@Torres-ssf
Copy link
Contributor Author

@nedsalk I believe it would, but the funding of transaction X + 1 should happen after transaction X is processed (In case X + 1 needs to use UTXOs created by X).

Since this approach is designed to wait for X to be processed in order to submit X + 1, any output produced from X (UTXOs or even a deployed contract) will be usable on X + 1.

@danielbate danielbate self-assigned this May 23, 2024
@arboleya arboleya added the p2 Low Priority label Jun 9, 2024
@arboleya arboleya added this to the 0.x post-launch milestone Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Issue is a feature p2 Low Priority
Projects
None yet
Development

No branches or pull requests

4 participants