Skip to main content

Overview

Protocol Comparison provides a comprehensive, sortable table of every major Stacks DeFi protocol. Compare yields, TVL, risk levels, and audit status across lending platforms, DEXs, yield aggregators, and stacking protocols—all with live data from DefiLlama updated every 5 minutes.

Key Features

Live Data Feeds

APY and TVL from DefiLlama refresh every 5 minutes

Multi-Dimensional Sorting

Sort by APY, TVL, risk, protocol name, or any column

Advanced Filtering

Filter by risk level (Low/Medium/High) and protocol type

Audit Status

See which protocols have been security audited

Protocol Table

Columns Explained

Row Interactions

Click any row to open the protocol’s website in a new tab. Hover effects highlight the entire row for easy selection.

Sorting & Filtering

Sorting Logic

1

Click Column Header

Click any column with a sort icon (↕) to sort by that field
2

Toggle Direction

  • First click: Sort descending (highest first)
  • Second click: Sort ascending (lowest first)
  • Visual indicator: ↓ (desc) or ↑ (asc) in orange
3

Multi-Column Comparison

Sort by APY to find highest yields, then filter by Low risk to see safest high-yield options
Default sort: APY descending (highest yields first)

Risk Filtering

Filter by risk tolerance:
Characteristics:
  • Audited smart contracts
  • Established protocols (StackingDAO, ALEX)
  • TVL > $10M
  • APY: 5-10%
Best for: Conservative investors, beginners, large positions

Type Filtering

Filter by protocol category:
  • Lending - Lend assets to earn interest (e.g., Zest Protocol)
  • DEX - Decentralized exchanges with LP rewards (e.g., Velar)
  • Yield - Yield aggregators and vaults (e.g., ALEX)
  • Stacking - STX stacking services (e.g., StackingDAO)
Strategy: Filter by “Stacking” + “Low Risk” to find safest native yield options. Then compare with “Lending” + “Medium Risk” for higher yields.

Data Sources

DefiLlama Integration

Live data fetched from DefiLlama API:

Data Structure

Fallback Data

If DefiLlama doesn’t have current APY for a protocol, Staxiq uses the protocol’s last published rate marked with a ~ symbol.
Example: ~9.5% indicates fallback data

Summary Statistics

Four key metrics displayed below the table:

Calculations

Use Cases

1. Finding Best Yield

1

Sort by APY

Click APY column header to sort descending
2

Filter by Risk

Select your risk tolerance (start with “Low” or “Medium”)
3

Check Audit Status

Look for ✓ in Audited column
4

Compare TVL

Higher TVL = more liquidity and battle-tested contracts
5

Verify Minimum

Check Min Deposit to ensure you meet requirements
Example result: Velar Finance (12% APY, Medium Risk, Audited, $8.5M TVL, No minimum)

2. Diversifying Portfolio

1

Filter by Type

Select “All” to see all protocol types
2

Pick 3-4 Protocols

Choose different types:
  • 1x Stacking (Low risk base)
  • 1x Lending (Medium risk)
  • 1x DEX (Medium/High for growth)
  • 1x Yield (Optimization)
3

Use Yield Calculator

Model returns for each protocol with your planned allocation
4

Verify Assets

Ensure you have the required assets (STX, sBTC, xBTC)

3. Risk Assessment

1

Sort by Risk

Click Risk column to group by risk level
2

Compare Within Tier

Within “Medium Risk” group, sort by APY or TVL
3

Check Audit Status

Audited protocols reduce smart contract risk
4

Research TVL

TVL > $5M indicates strong community trust

Code Reference

Key implementation files:
  • Page: src/pages/CompareProtocols.jsx - Main table UI
  • Hook: src/hooks/useProtocolData.js - Data fetching and caching
  • Service: src/services/defiLlamaService.js - DefiLlama API integration
  • Sorting: src/pages/CompareProtocols.jsx:60-73 - Multi-column sort logic

Advanced Features

Responsive Table

Table adapts to screen size:
  • Mobile: Horizontal scroll enabled
  • Tablet+: Full table fits viewport
  • Desktop: Expanded columns with more padding

Loading States

While fetching live data:
  • APY shows spinner
  • TVL shows spinner
  • Filter area displays: ⏳ Fetching live data…
  • Existing data remains visible during refresh

Hover Effects

  • Row background lightens on hover
  • Cursor changes to pointer
  • Entire row is clickable
  • Visual feedback confirms interactivity

Protocol Logos

Logos fallback to initials if image fails:

Troubleshooting

APY shows ”—” for all protocols:
  • DefiLlama API may be down—check status at defillama.com
  • Network connection issue—refresh page
  • Some protocols don’t report APY to aggregators
Table not sorting correctly:
  • Click column header again to toggle direction
  • Check if filter is applied—may be hiding some rows
  • APY/TVL sort uses raw numbers, not formatted strings
Protocol link doesn’t work:
  • Some protocols use testnet URLs during development
  • Check browser’s pop-up blocker settings
  • Try right-click → “Open in new tab”
Data seems outdated:
  • Data refreshes every 5 minutes automatically
  • Check ”🟢 Live · [time]” badge for last update
  • Hard refresh page (Ctrl+Shift+R) to force update

Best Practices

Compare Before Investing

Spend 5-10 minutes comparing protocols before committing funds

Diversify by Risk

Mix Low/Medium/High risk protocols—don’t chase highest APY only

Verify Externally

Click protocol links to verify audit reports and documentation

Monitor TVL Trends

Growing TVL indicates healthy protocol—check monthly

DefiLlama Attribution

Data sourced from DefiLlama - The leading DeFi data aggregator. TVL and APY update hourly on DefiLlama’s backend.

Next Steps

Yield Calculator

Model returns for protocols you’re interested in

AI Copilot

Get AI-powered allocation strategy across protocols