Skip to content

@antaro/cli

Read-only command-line tools for stock tokens on Robinhood Chain.

antaro only makes HTTP GET requests and reads local files. It never asks for a private key or seed phrase, never signs anything, and never sends a transaction.

Install

Requires Node.js 20 or later.

npx @antaro/cli --help     # run without installing
npm install -g @antaro/cli # or install globally, then run: antaro --help

Commands

CommandWhat it does
antaro gapCompares on-chain token prices with reference market prices and shows the % gap, US market session, and data age
antaro pnl <address>Profit-and-loss summary for a public wallet address
antaro whalesRecent large transfers, filtered by --min USD value
antaro snapshotsLists published reward snapshots with their SHA-256 hashes
antaro hash <file|url>Prints the SHA-256 hash of a file or URL
antaro verify <file|url> --sha256 <hex>Checks a file against a published hash. Exits with code 1 on mismatch

Add --json to any command to print raw JSON.

Data sources

gap, pnl, whales, and snapshots read public JSON feeds. Pass the URL with a flag or set an environment variable:

CommandFlagEnvironment variable
gap--feed <url>ANTARO_GAP_FEED
whales--feed <url>ANTARO_WHALE_FEED
pnl--api <url> (called with ?address=0x…)ANTARO_PNL_API
snapshots--index <url>ANTARO_SNAPSHOT_INDEX

hash and verify need no configuration.

Examples

antaro gap --feed https://example.com/gap.json --symbols TSLA,NVDA
antaro whales --feed https://example.com/whales.json --min 100000
antaro hash ./snapshot.json
antaro verify https://example.com/snapshot.json --sha256 d43525326bf0b5a44dc364af6e6fa156134b723496368fb1794bbc0f3e86d838

Check the package you installed

npm audit signatures

This confirms the package was signed by the npm registry and was not altered after publishing.

Disclaimer

Not financial advice. Crypto assets and tokenized stocks are volatile and can lose value. Data from feeds can be delayed or wrong.