bcalc

cli bitcoin unit calculator
git clone git://jb55.com/bcalc
Log | Files | Refs | README | LICENSE

commit ce70371aa04950b4ed99430e98e7b04e08a6553e
parent 6739b480977d01a9f91b2f02969ca686ad427d34
Author: William Casarin <jb55@jb55.com>
Date:   Sat, 23 Dec 2017 05:18:58 -0800

readme: simplify thanks to #8

Diffstat:
MREADME.md | 18++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md @@ -9,24 +9,34 @@ Basic example - $ bcalc --msat -p <<<'1 msat + 2 sats + 3 bits' + $ bcalc --msat -p 1 msat + 2 sats + 3 bits 302001 msat BTC to satoshis - $ bcalc -p <<<'0.02 BTC' + $ bcalc -p 0.02 BTC 2000000 sat satoshis to millisatoshis (for payment channels) - $ bcalc --msat <<<'100 sat' + $ bcalc --msat 100 sat 100000 mBTC + bits to BTC - $ bcalc -p --btc <<<'100 mBTC + 20 bits' + $ bcalc -p --btc 100 mBTC + 20 bits 0.10002 BTC + Division + + $ bcalc -p --btc 1 BTC / 100 + 10000 bits + + Multiplication + + $ bcalc -pb '10 mbtc * 30' + 300000 bits + ## Install $ make install