2.2.1 • Published 2 years ago
ecash-coinselect v2.2.1
ecash-coinselect
An unspent transaction output (UTXO) selection module for eCash (XEC).
WARNING: value units are in satoshis.
Installation
$ npm i ecash-coinselectUsage
See test/ for usage.
Changelog
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
calcByteCounttocalcP2pkhByteCount.
1.0.2
- Updated
getInputUtxosto take in an outputArray.
2.0.0
- Deprecate
getInputUtxos,parseChronikUtxos, andcalcP2pkhByteCount - Implement
coinSelectfunction 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
tokenInputsto create txs with user-specified inputs diff
2.2.0
- Export new function
getMaxSendAmountSatoshisdiff
2.2.1
- Add stub type declarations file so
ecash-coinselectcan be used by typescript projects diff