Questions tagged [coin-selection]

Deals with topics of algorithms and schemes to pick which UTXO to fund a transaction with.

2 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
1answer
484 views

How to get unspents for inputs using bitcoinjs-lib?

I would like my simple wallet app to automatically select UTXOs for inputs. I realize that I can't accomplish this with just bitcoinjs, but is there something I can add to it to keep track of unspents?...
0
votes
0answers
27 views

Coin selection algorithm using Python and Bitcoin Core JSON-RPC

I am looking for the easiest way to implement this using Python: Save all the amount of UTXOs in an array(not sure if tuple or list or set or dictionary) User wants to send 0.1 BTC, won't pay more ...