An unspent transaction output (UTXO) selection module for eCash (XEC).
WARNING: value
units are in satoshis.
$ npm i ecash-coinselect
See test/
for usage.
1.0.0
- Support collection of eCash XEC utxos for one to one p2pkh transactions.
1.0.1
- Fixed p2pkh byte count calculations and renamed
calcByteCount
tocalcP2pkhByteCount
.
1.0.2
- Updated
getInputUtxos
to take in an outputArray.
2.0.0
- Deprecate
getInputUtxos
,parseChronikUtxos
, andcalcP2pkhByteCount
- Implement
coinSelect
function for eCash based on the accumulative algorithm of the coinselect library from bitcoinjs
2.0.1
- Improvements from diff review
2.0.2-3
- Dep upgrades
2.0.4
- Add support for utxo format from in-node chronik-client diff
2.1.0
- Support input param
tokenInputs
to create txs with user-specified inputs diff
2.2.0
- Export new function
getMaxSendAmountSatoshis
diff
2.2.1
- Add stub type declarations file so
ecash-coinselect
can be used by typescript projects diff