btc-cli v1.0.0
btc-cli
Ƀ - Bitcoin info in your CLI
Give information about Bitcoin exchange rate directly in your terminal!
Best CLI tool for those who are both Bitcoin Lover and Engineers.
Install
In order to use btc-cli, make sure that you have Node version 6.0.0 or higher.
$ npm install -g btc-cli
Usage
btc-cli
provides four main commands.
tobtc
There are two things to do. 1. Give currency input. 2. State value you wish to convert.
Here are the example of what it will look like:
➜ btc-cli tobtc
? What is your current currency? USD
? Enter value you want to convert 1
0.00005973
frombtc
There are two things to do. 1. Give currency input. 2. State value you wish to convert.
Here are the example of what it will look like:
➜ btc-cli frombtc
? What is your current currency? USD
? Enter value you want to convert 1
16724.65
exchange
There is one thing to do. 1. Give currency input.
Here are the example of what it will look like:
➜ btc-cli exchange
? What is your current currency? USD
Info | From Bitcoin | To Bitcoin |
---|---|---|
Last | 16764.79 | 0.00005964882351642937 |
Buy | 16769.62 | 0.00005963164341231346 |
Sell | 16759.95 | 0.00005966604912305824 |
coin
Here are the example of what it will look like:
➜ btc-cli coin
Label | Name | Price BTC | Price USD |
---|---|---|---|
007/BTC | 007coin | 0.00012539 | 2.11825316 |
ZRX/BTC | 0x | 0.00003638 | 0.61457891 |
42/BTC | 42Coin | 3.39991487 | 57435.84357642 |
8BIT/BTC | 8bit | 0.00002444 | 0.41287269 |
ABJ/BTC | Abjcoin | 0.000025 | 0.42233295 |
Development
It's simple to run btc-cli
on your local computer.
The following is step-by-step instruction.
$ git clone https://github.com/kuwali/btc-cli.git
$ cd btc-cli
$ yarn
$ node src/main.js <command>
Related API:
Contributing
To contribute you can open a pull request by forking this repo and creating new branch. For further information email me kustiawanto.halim@gmail.com
License
MIT
7 years ago