Loading...
Loading...
Cross-protocol DeFi yield dashboard for Stacks — view positions across Zest Protocol, ALEX DEX, and Bitflow, see total portfolio value, APY breakdown per protocol, and get rebalance suggestions. Read-only, mainnet-only. Requires an unlocked wallet for address context.
npx skill4agent add aibtcdev/skills yield-dashboardbun run yield-dashboard/yield-dashboard.ts <subcommand> [options]bun run yield-dashboard/yield-dashboard.ts overview{
"totalValueSats": 500000,
"totalValueBtc": "0.00500000",
"weightedApyPct": 4.2,
"protocols": {
"zest": { "valueSats": 300000, "apyPct": 5.0 },
"alex": { "valueSats": 150000, "apyPct": 3.5 },
"bitflow": { "valueSats": 50000, "apyPct": 2.8 },
"stacking": { "valueSats": 0, "apyPct": 0 }
},
"walletSbtcSats": 25000,
"walletStxMicroStx": 5000000
}bun run yield-dashboard/yield-dashboard.ts positionsbun run yield-dashboard/yield-dashboard.ts apy-breakdown{
"timestamp": "2026-03-06T03:00:00.000Z",
"rates": [
{ "protocol": "Zest Protocol", "asset": "sBTC", "supplyApyPct": 5.0, "riskScore": 20 },
{ "protocol": "ALEX DEX", "asset": "aBTC/STX LP", "apyPct": 3.5, "riskScore": 50 },
{ "protocol": "Bitflow", "asset": "sBTC", "apyPct": 2.8, "riskScore": 35 },
{ "protocol": "STX Stacking", "asset": "STX", "apyPct": 8.0, "riskScore": 10 }
],
"zestV2Ready": false
}bun run yield-dashboard/yield-dashboard.ts rebalance [--risk-tolerance low|medium|high]--risk-tolerancemedium{
"currentAllocation": { "zest": 60, "alex": 30, "bitflow": 10, "stacking": 0 },
"suggestedAllocation": { "zest": 50, "alex": 20, "bitflow": 10, "stacking": 20 },
"suggestions": [
"Consider moving 10% from Zest to STX stacking for diversification",
"ALEX LP has higher IL risk — reduce if STX/BTC volatility is high"
]
}valueSatsapySource: "fallback estimate"overviewtotalValueSatstotalValueStxhttps://app.bitflow.finance/api