Scrypto

Stack: Node

Scrypto is a CLI tool for checking real-time cryptocurrency conversion rates using the Nomics API. The commands are implemented using the commander.js framework, which takes its inspiration from the classic Ruby gem of the same name.

Authentication for the API is handled by an integrated key manager, available through the scrypto key command. Subcommands provide the functionality to add, display, and remove keys.

The scrypto price command performs the actual conversions. A single subcommand, check, takes two options; --coin and --cur, both of which accept ISO 4217 codes as arguments (e.g. USD & BTC, respectively – these are also the default values). The following example command would fetch the real-time market data for the price of Ethereum in Indian Rupees:

$ scrypto check price --coin ETH, --cur INR

# output: Coin: ETH (Ethereum) | Price: ₹311,636.02

While the --cur option accepts a single value, the --coin option can accept a comma-separated list of cryptocurrency codes.

$ scrypto check price --coin ADA,SOL --cur EUR

# output:
# Coin: SOL (Solana)  | Price: €161.77
# Coin: ADA (Cardano) | Price: €1.15

All major cryptocurrencies and fiat currencies are currently supported. Future plans include functionality to retrieve additional market data.

Repo: https://github.com/Alamansky/scrypto