Cryptocurrency Portfolio On The Command Line
MIT License
Cryptocurrency CLI lets you monitor cryptocurrencies in your portfolio and track your earnings through the command line. It uses the coinmarketcap.com API to fetch crypto data.
Git Clone the repo
git clone https://github.com/christ0ph3r/cryptocurrency-cli/
Enter the repository
cd cryptocurrency-cli && npm install
Run
npm start
Edit portfolio.json
{
"bitcoin": ".002",
"bitcoin-cash": ".002",
"chainlink": "666",
"dash": ".002",
"dogecoin": "10000",
"ethereum": ".0688",
"litecoin": ".1",
"monero": ".0036",
"siacoin": "1200",
"steem": "2"
}
Currency: You can use -c
or --currency
to look up crypto data in another currency. The default currency is USD and the API supports AUD, BRL, CAD, CHF, CLP, CNY, CZK, DKK, EUR, GBP, HKD, HUF, IDR, ILS, INR, JPY, KRW, MXN, MYR, NOK, NZD, PHP, PKR, PLN, RUB, SEK, SGD, THB, TRY, TWD, ZAR.
npm start -- -c eur
npm start -- -c aud
Coin | Address |
---|---|
Bitcoin | 1LFTccjYHbiVekdm8XYC1ucNqdGsAC3frc |
Bitcoin Cash | 132iaE6MYW3hpupuyzA8AKVmYk7SAbrAA1 |
Ethereum | 0x071Fe2Bb50430A3f6af398A410a78B67e1A783AE |
Litecoin | Lh9eV96yhTyrkv2VkWG7RZvas9TzFuYZbR |