Replies: 1 comment 3 replies
-
For this feature, we would need to implement a robust solution to manage the queue of transactions.
The
Since it is a queue of transactions, each transaction will ideally be funded just before being submitted. The SDK can already estimate safe defaults for It is also important to estimate and fund a transaction only when it is its turn in the queue. This approach prevents the use of the same UTXOs to fund multiple transactions, making the queue usable for accounts that own only one UTXO. For example, TX B will use the UTXO generated by the change from TX A, and so on.
I am unsure of the exact value to use here, but we could start with a small number to experiment.
For this feature, I would suggest proceeding to the next transaction as soon as the current transaction is processed and its status is successful.
This level of fine control can be very complex to handle. We should start simple. However, this is just brainstorming. This feature needs to wait until we improve some parts of the SDK, specifically the creation and submission of transactions. |
Beta Was this translation helpful? Give feedback.
-
We'd like to support the queueing of multiple transactions which can be executed sequentially. 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.
There are few issues which could arise during this process though which need to be considered. Here are some example scenarios:
This list is by no means exhaustive but I think we should consider this before beginning work
Beta Was this translation helpful? Give feedback.
All reactions