Terminal & CLI

DeFi Risk Intelligence
From the Command Line

Grade protocols, screen investments, audit vaults, and build risk-aware pipelines. Interactive TUI or single commands — your choice.

$npm install -g hindenrank
or
$npx hindenrank risk aave-v3

Requires Node.js 18+

Interactive Terminal UI

Type hr with no arguments to launch a full-screen terminal interface. Five tabbed views — navigate with arrow keys, Tab to switch, / to search.

┌─────────────────────────────────────────────────────────────┐
Hindenrank — DeFi Risk Intelligence
├────────────────────────────────────────────────────────┤
1 Leaderboard 2 Screener 3 Vaults 4 Compare 5 Watch
├────────────────────────────────────────────────────────┤
# Protocol Risk Value TVL Sector
1 Lido A- A $22.1B Liquid Staking
2 Aave V3 B+ A- $18.2B Lending
3 EigenLayer C+ B $11.8B Restaking
4 Uniswap A- B+ $5.2B DEX
5 Ethena D+ C $4.8B Stablecoin
└─────────────────────────────────────────────────────────────┘
Tab switch view / search Enter drill in q quit
Leaderboard — browse all 745+ protocols sorted by risk
Screener — 9 investment lenses (Blue Chips, Dead Money, etc.)
Vaults — Beefy, Hyperliquid, and Morpho vault ratings
Compare — side-by-side protocol risk comparison
Watch — live polling dashboard, auto-refreshes grades with change indicators

Single Commands

Every command supports --json and --csv for piping into scripts, agents, and spreadsheets.

Risk Grade

8-dimension risk breakdown for any protocol

hr risk aave-v3

Value Grade

Fee capture, moat, emissions sustainability

hr value lido

Screener

Run investment lenses — Blue Chips, Dead Money, Momentum

hr screen blue-chips

Vault Ratings

Filter vaults by source, chain, APY, and grade

hr vaults --source hyperliquid

Risk Check

Pass/fail gate — exit code 0 or 1. Perfect for CI/CD

hr check aave-v3 -t B

Batch Lookup

Check multiple protocols in one call

hr batch aave-v3 lido ethena

Portfolio Audit

Aggregate risk across positions with concentration warnings

hr audit aave-v3 lido --value 5000 3000

Find Alternatives

Same sector, lower risk — for when your protocol fails a check

hr alts curve-finance

Built for Agents & Automation

Structured output, non-zero exit codes on failure, consistent JSON schema. Drop into any agent framework, CI pipeline, or shell script.

Agent workflow
# Quick risk gate — exit 0 = safe, 1 = too risky
hr check aave-v3 -t B || echo "Risk threshold exceeded"

# Batch check a portfolio
hr batch aave-v3 lido uniswap-v3 --threshold B --json

# Find a safer alternative if check fails
if ! hr check curve-finance -t B; then
  hr alts curve-finance --limit 3 --json
fi

# Get risk grade as a single value
hr risk uniswap-v3 --json | jq -r '.data.grade'

# Top Hyperliquid vaults by APY
hr vaults --source hyperliquid --json | jq '.data | sort_by(-.apy) | .[0:5]'

Example Output

hr risk aave-v3
╭────────────────────────────────────────────────────╮
│  AAVE V3                         Risk: B+ (25)     │
│  Lending                         TVL: $18.2B       │
├────────────────────────────────────────────────────┤
│  Mechanism Novelty   ██░░░░░░░░░░░░░  2/15         │
│  Interaction Severity ████░░░░░░░░░░░  5/20         │
│  Oracle Surface       ████░░░░░░░░░░░  4/10         │
│  Documentation        █░░░░░░░░░░░░░░  1/10         │
│  Track Record         ██░░░░░░░░░░░░░  3/15         │
│  Scale Exposure       █████████░░░░░░  6/10         │
│  Regulatory Risk      ██░░░░░░░░░░░░░  2/10         │
│  Protocol Vitality    ██░░░░░░░░░░░░░  2/10         │
╰────────────────────────────────────────────────────╯

All Commands

CommandDescription
hrLaunch interactive TUI
hr risk <slug>Risk grade with 8-dimension breakdown
hr value <slug>Value accrual grade with breakdown
hr info <slug>Full protocol profile — both grades, TVL, FDV, revenue
hr deep <slug>Deep dive — mechanisms, interactions, scenarios (Pro)
hr search <query>Fuzzy search protocols by name
hr listLeaderboard with sector/grade filters
hr screen [lens]Run an investment screener lens
hr compare <a> <b>Side-by-side comparison (up to 5)
hr vaultsVault ratings — Beefy, Hyperliquid, Morpho
hr check <slug>Pass/fail risk gate (exit code 0/1)
hr batch <slugs...>Parallel batch lookup
hr audit <slugs...>Portfolio risk exposure report
hr alts <slug>Find safer alternatives in same sector
hr hr20HR20 index — top 20 by TVL
hr loginStore API key for Pro access

Access Tiers

TierCalls/dayData
Anonymous500Basic grades, top risks
Free (API key)1,000+ Value grades, grade history, market data
Pro10,000+ Mechanisms, interactions, collapse scenarios