1.0.0 • Published 6 years ago

btc-cli v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

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.

  1. tobtc or t
  2. frombtc or f
  3. exchange or e
  4. coin or c

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
InfoFrom BitcoinTo Bitcoin
Last16764.790.00005964882351642937
Buy16769.620.00005963164341231346
Sell16759.950.00005966604912305824

coin

Here are the example of what it will look like:

➜ btc-cli coin
LabelNamePrice BTCPrice USD
007/BTC007coin0.000125392.11825316
ZRX/BTC0x0.000036380.61457891
42/BTC42Coin3.3999148757435.84357642
8BIT/BTC8bit0.000024440.41287269
ABJ/BTCAbjcoin0.0000250.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