cashscript
cashscript copied to clipboard
Consider exporting the gatherUtxos utils function
Consider exporting the gatherUtxos utils function and maybe a variant to gatherTokenUtxos
Because it's often useful to have the user add input Utxos up to a certain amount, both for BCH and for tokens. It's also handy that this function returns the actual input amount so the change amount can easily be calculated from this.
Related to #258