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 auto-consolidation flow #3808

Open
2 tasks
arboleya opened this issue Mar 24, 2025 · 0 comments
Open
2 tasks

Implement auto-consolidation flow #3808

arboleya opened this issue Mar 24, 2025 · 0 comments
Labels
feat Issue is a feature

Comments

@arboleya
Copy link
Member

arboleya commented Mar 24, 2025

Follow-up after:

The PR must also be based on:

Tasks:

  • Implement auto-detection to decide when UTXO consolidation is necessary. This must evaluate errors from assembleTx, but to distinguish between insufficient balances and too many coins we may have to fetch user balances for baser asset ID, and if this is non-negotiable, we may just as well fetch balances for base asset within the same HTTP/GQL call that we submit the assembleTx operation.

  • When the above is true, consolidation transactions must be sent with the original transaction via the JSON RPC interface under a consolidationTxs property or similar.

@arboleya arboleya added the feat Issue is a feature label Mar 24, 2025 — with Linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Issue is a feature
Projects
None yet
Development

No branches or pull requests

2 participants