Overview
The Stacking Tracker monitors your STX stacking position on StackingDAO, displaying live cycle progress, earned rewards in both STX and BTC, and projected payouts. Stacking is Stacks’ native consensus mechanism where you lock STX to earn Bitcoin yield (~9.5% APY).Key Features
Live Cycle Progress
Real-time tracking of current stacking cycle with visual progress bar
Dual Currency Rewards
See earnings in both STX and equivalent BTC value
Payout Projections
Next payout estimate with date and amount
Historical Earnings
Complete record of past cycle payouts with status
How Stacking Works
The Basics
Stacking is Stacks’ Proof-of-Transfer consensus mechanism:- Lock STX - Commit STX tokens for stacking cycles
- Secure Bitcoin - Your locked STX helps secure the Stacks blockchain
- Earn BTC - Receive Bitcoin rewards (~9.5% APY in STX value)
- StackingDAO - Liquid stacking via stSTX tokens (no 14-day lock)
Each stacking cycle lasts ~14 days (2,100 Bitcoin blocks). Your STX remains accessible when stacking through StackingDAO.
Getting Started
Connect Your Wallet
The tracker automatically detects your stacking position if you:
- Have STX in your connected wallet
- Are currently stacking via StackingDAO
- Have historical stacking activity
Monitor Cycle Progress
The progress bar shows:
- Current cycle number (e.g., Cycle #24)
- Percentage complete (e.g., 68%)
- Estimated completion date
- Next payout amount in STX and USD
Data Structure
The tracker uses data from your wallet and StackingDAO:Live Cycle Tracking
Progress Visualization
The cycle progress bar features:- Dual-color gradient - Orange to blue (Bitcoin to Stacks branding)
- Real-time percentage - Updates as blocks are mined
- Smooth animations - 700ms transition duration
- Cycle number badge - Right-aligned current cycle ID
Next Payout Card
Highlights upcoming rewards:Next Payout Estimate
18.45 STX
≈ $4.80 USD · Mar 15, 2026
18.45 STX
≈ $4.80 USD · Mar 15, 2026
Earnings Breakdown
Historical Payouts
Each past cycle displays:- Green - STX earnings
- Orange - BTC equivalent value
- Badge - Payment status (Paid/Pending)
Total Earnings Row
Bottom of earnings list shows aggregate:Live vs. Demo Data
Live Mode
When connected with a real wallet:- Fetches actual stacking position from blockchain
- Calculates rewards based on
stxBalance * 9.5% APY - Projects future payouts using current cycle data
- Shows real transaction history
Demo Mode
Demo data showcases the UI with realistic values:StackingDAO Integration
Why StackingDAO?
Liquid Stacking
Get stSTX tokens—your STX isn’t locked for 14 days
No Minimum
Stack any amount (solo stacking requires 100k+ STX)
Auto-Compounding
Rewards automatically re-stake for compound growth
9.5% APY
Competitive yield paid in Bitcoin
How to Start Stacking
Reward Calculations
APY Breakdown
Base APY: ~9.5% annually on your stacked STX valueBTC Equivalents
STX rewards shown in BTC value:Code Reference
Key implementation files:- Page:
src/pages/StackingTracker.jsx- Main UI and logic - Hook:
src/hooks/usePortfolio.js- STX balance fetching - Constants:
src/pages/StackingTracker.jsx:7-9- Cycle duration and prices - Demo Data:
src/data/demoData.js- Sample stacking data
Advanced Features
Cycle Date Projection
Next payout date calculated from current date + cycle duration:Responsive Design
Layout adapts across devices:- Mobile (< 768px): 2-column stat grid, stacked panels
- Tablet (768-1024px): 4-column stats, side-by-side panels
- Desktop (> 1024px): Full layout with side-by-side cycle + earnings
Troubleshooting
No stacking data appears:- Ensure you’re stacking via StackingDAO
- Solo stacking won’t appear (StackingDAO integration only)
- Connect the wallet used for stacking
- Projections are estimates based on current APY
- Actual yields vary by Bitcoin miner participation
- StackingDAO rewards fluctuate with protocol performance
- Click Connect Real Wallet banner at top
- Demo persists until real wallet connected
Best Practices
Long-Term Holds
Stacking works best for 6+ month holds—rewards compound over time
Monitor Cycles
Check tracker at cycle boundaries to verify payouts
Reinvest Rewards
Use earned STX to increase stacking position
Compare Yields
Use Yield Calculator to compare stacking vs. other protocols
Next Steps
Yield Calculator
Model stacking returns before committing STX
Portfolio Tracking
Monitor total portfolio including stacked STX