JoinMarket-Org / joinmarket-clientserver

Bitcoin CoinJoin implementation with incentive structure to convince people to take part
GNU General Public License v3.0
699 stars 173 forks source link

[Feature] Fixing direct-send `POST /wallet/{walletname}/taker/direct-send` to accept a list of UTXOs instead of just the mixdepth #1712

Open amitx13 opened 1 month ago

amitx13 commented 1 month ago

Description: Subtask of: #1561 This issue addresses (https://github.com/joinmarket-webui/jam/issues/772)

Aim: Allow users to have full control over their UTXOs when performing a direct-send.

Current Situation : Currently, the APIs POST: /wallet/{walletname}/taker/direct-send and POST: /wallet/{walletname}/taker/coinjoin use mixdepth to select unfrozen UTXOs and perform transactions. This means users cannot specify exact UTXOs, which limits granular selection. While freeze and unfreeze methods can be used to manage UTXOs, this does not provide the ideal coin control.

Objective : Modify the direct-send functionality to allow users to specify specific UTXOs, thus providing more precise control over their transactions.