JoinMarket-Org / joinmarket

CoinJoin implementation with incentive structure to convince people to take part
398 stars 119 forks source link

Option to use bitcoins instead of satoshis #487

Open dreboli opened 8 years ago

dreboli commented 8 years ago

Was thinking of something like:

sendpayment.py wallet.json --bitcoin 3.14 1AZgQZWYRteh6UyF87hwuvyWj73NvWKpL

sends 3.14 bitcoins to the donation address.

With satoshis it's painstaking to quadruple check the number of digits at the end, so I usually end up using an excel table to convert bitcoins to satoshis then paste the satoshis back.

chris-belcher commented 8 years ago

Originally sendpayment.py was only a proof of concept, people were meant to use joinmarket through plugins and wallet interfaces. But here we are a year later and people actually use the thing as a wallet, so I'd say it's worth doing.

I'd suggest the option it --unit=btc and then it can also be --unit=mbtc and so on.