New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cryptocheck

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cryptocheck

Check prices of cryptocurrencies via command line

  • 1.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-83.33%
Maintainers
1
Weekly downloads
 
Created
Source

Cryptocheck

A command line tool to check prices of cryptocurrencies.

About

Cryptocheck allows you to check prices of cyrptocurrencies via command line. It currently has support for:

  • Kraken
  • GDAX
  • CoinMarketCap.com

Installation

npm install -g cryptocheck

Usage

ALWAYS pass the symbol to the tool. The command will return an error if you pass the full currency name.

Kraken:

cryptocheck kraken btc
cryptocheck kraken eth
cryptocheck kraken ltc

GDAX:

cryptocheck gdax btc
cryptocheck gdax eth
cryptocheck gdax ltc

CoinMarketCap.com

cryptocheck cmc sc
cryptocheck cmc xrp

Portfolio Check:

To get overview of your portfolio, add all your currencies in json file (sample file is in data/portfolio.json), and run following command.

cryptocheck portfolio <path-to-json-file>

Returns:

symbol  price      value      change
------  ---------  ---------  ------
ETH     $348.33    $3483.30   -0.45%
BTC     $4388.93   $17555.72  1.14%
BCH     $594.93    $1308.85   -3.51%
LTC     $62.69     $642.58    1.15%
NEO     $38.21     $1146.38   -1.8%
DASH    $361.58    $3615.82   -0.72%
XEM     $0.284149  $4.55      3.96%
XRP     $0.217295  $10.86     7.64%
XMR     $140.73    $1407.30   1.9%  

Total: $29175.36

Example file is in data/portfolio.json.

You can check for specific market by providing option as below, default market is coinmarketcap. You can change it to gdax/kraken. Note: Not all currencies are supported in all markets :(

cryptocheck portfolio -m cmc <path-to-json-file>

Development

PRs are more than welcome! Just make sure to run gulp while developing to transpile and follow ESLint rules.

Authors

  • Max Kaplan: @maxekaplan

Keywords

FAQs

Package last updated on 29 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc