# Staxiq ## Docs - [AI Service](https://natureloved-staxiq-48.mintlify.app/api/ai-service.md): Generate personalized DeFi strategies using Google Gemini AI - [Authentication](https://natureloved-staxiq-48.mintlify.app/api/authentication.md): Wallet connection and user session management with Stacks Connect - [Contract Service](https://natureloved-staxiq-48.mintlify.app/api/contract-service.md): Interact with Stacks smart contracts for on-chain data storage - [DefiLlama Service](https://natureloved-staxiq-48.mintlify.app/api/defillama-service.md): Integration service for fetching live TVL and APY data from DefiLlama API - [useAIAdvisor](https://natureloved-staxiq-48.mintlify.app/api/hooks/use-ai-advisor.md): Generate personalized DeFi strategies with AI for connected wallets - [usePortfolio](https://natureloved-staxiq-48.mintlify.app/api/hooks/use-portfolio.md): Fetch and auto-refresh wallet portfolio data including balances and transaction history - [useProtocolData Hook](https://natureloved-staxiq-48.mintlify.app/api/hooks/use-protocol-data.md): React hook for fetching live protocol TVL and APY data with auto-refresh - [useProtocols](https://natureloved-staxiq-48.mintlify.app/api/hooks/use-protocols.md): Browse and filter DeFi protocols with sorting and type filtering - [useWallet](https://natureloved-staxiq-48.mintlify.app/api/hooks/use-wallet.md): Manage Stacks wallet connection, authentication, and address display - [useWalletProtocols Hook](https://natureloved-staxiq-48.mintlify.app/api/hooks/use-wallet-protocols.md): React hook for detecting wallet positions across DeFi protocols - [API Overview](https://natureloved-staxiq-48.mintlify.app/api/overview.md): Complete reference for Staxiq services, hooks, and utilities - [Portfolio Protocols Service](https://natureloved-staxiq-48.mintlify.app/api/portfolio-protocols.md): Detect wallet positions across Stacks DeFi protocols using on-chain data - [Protocol Data](https://natureloved-staxiq-48.mintlify.app/api/protocol-data.md): Static protocol configuration and metadata for Stacks DeFi protocols - [Stacks API](https://natureloved-staxiq-48.mintlify.app/api/stacks-api.md): Fetch blockchain data from Hiro API including balances, transactions, and prices - [Contract Architecture](https://natureloved-staxiq-48.mintlify.app/contracts/architecture.md): Understanding Staxiq smart contract structure and design decisions - [Contract Deployment](https://natureloved-staxiq-48.mintlify.app/contracts/deployment.md): Deploy Staxiq smart contracts to Stacks testnet and mainnet - [Smart Contracts Overview](https://natureloved-staxiq-48.mintlify.app/contracts/introduction.md): Learn about Staxiq smart contracts on the Stacks blockchain - [Contract Testing](https://natureloved-staxiq-48.mintlify.app/contracts/testing.md): Test Staxiq smart contracts using Vitest and Clarinet SDK - [Contract Functions](https://natureloved-staxiq-48.mintlify.app/contracts/user-profile/functions.md): Complete reference for all staxiq-user-profile contract functions - [Contract Integration](https://natureloved-staxiq-48.mintlify.app/contracts/user-profile/integration.md): Integrate Staxiq smart contracts into your frontend application - [User Profile Contract](https://natureloved-staxiq-48.mintlify.app/contracts/user-profile/overview.md): Store user risk preferences and AI strategy history on the Stacks blockchain - [Achievements System](https://natureloved-staxiq-48.mintlify.app/features/achievements.md): Gamification and badge collection system for Staxiq users - [AI DeFi Copilot](https://natureloved-staxiq-48.mintlify.app/features/ai-copilot.md): Get personalized Bitcoin DeFi strategies powered by Gemini AI and anchored on Bitcoin - [Wallet Health Score](https://natureloved-staxiq-48.mintlify.app/features/health-score.md): Portfolio analysis across diversification, risk, and yield optimization with actionable recommendations - [Portfolio Tracking](https://natureloved-staxiq-48.mintlify.app/features/portfolio-tracking.md): Real-time portfolio monitoring for your STX and sBTC holdings with live price feeds and transaction history - [Protocol Comparison](https://natureloved-staxiq-48.mintlify.app/features/protocol-comparison.md): Side-by-side comparison of all Stacks DeFi protocols with live APY, TVL, and risk data from DefiLlama - [Stacking Tracker](https://natureloved-staxiq-48.mintlify.app/features/stacking-tracker.md): Track STX stacking rewards via StackingDAO with live cycle progress and BTC earnings - [Yield Calculator](https://natureloved-staxiq-48.mintlify.app/features/yield-calculator.md): Simulate returns across every Stacks DeFi protocol before committing funds - [Analyzing Your Portfolio](https://natureloved-staxiq-48.mintlify.app/guides/analyzing-portfolio.md): Understand your Bitcoin DeFi holdings, track performance, and identify protocol positions with Staxiq analytics - [Comparing DeFi Protocols](https://natureloved-staxiq-48.mintlify.app/guides/comparing-protocols.md): Learn how to evaluate and compare Bitcoin DeFi protocols on Stacks to find the best yields and risk profiles - [Connecting Your Wallet](https://natureloved-staxiq-48.mintlify.app/guides/connecting-wallet.md): Learn how to connect your Stacks wallet to Staxiq and start managing your Bitcoin DeFi portfolio - [Understanding Risk in Bitcoin DeFi](https://natureloved-staxiq-48.mintlify.app/guides/understanding-risk.md): Learn how to assess and manage risks when using DeFi protocols on Stacks - [Using the AI Copilot](https://natureloved-staxiq-48.mintlify.app/guides/using-ai-copilot.md): Get personalized Bitcoin DeFi strategies with Staxiq's AI Copilot powered by Google Gemini - [Introduction to Staxiq](https://natureloved-staxiq-48.mintlify.app/introduction.md): One Dashboard. Every Stacks Protocol. AI That Actually Knows What to Do with Your Bitcoin. - [ALEX Lab](https://natureloved-staxiq-48.mintlify.app/protocols/alex.md): The leading Bitcoin DeFi super app — swap, earn, and launch on Stacks - [Bitflow](https://natureloved-staxiq-48.mintlify.app/protocols/bitflow.md): Decentralized exchange aggregator for the best sBTC swap rates on Stacks - [Granite](https://natureloved-staxiq-48.mintlify.app/protocols/granite.md): Borrow stablecoins against your Bitcoin collateral on Stacks - [Hermetica](https://natureloved-staxiq-48.mintlify.app/protocols/hermetica.md): Bitcoin-backed synthetic dollar yielding protocol built on Stacks - [Protocols Overview](https://natureloved-staxiq-48.mintlify.app/protocols/overview.md): Explore the Stacks DeFi ecosystem through Staxiq - [StackingDAO](https://natureloved-staxiq-48.mintlify.app/protocols/stackingdao.md): Liquid stacking protocol — stack STX and keep liquidity with stSTX - [Velar](https://natureloved-staxiq-48.mintlify.app/protocols/velar.md): Perpetuals and spot trading protocol on Bitcoin L2 via Stacks - [Zest Protocol](https://natureloved-staxiq-48.mintlify.app/protocols/zest.md): Lend and borrow Bitcoin-backed assets with transparent on-chain rates - [Quickstart](https://natureloved-staxiq-48.mintlify.app/quickstart.md): Get started with Staxiq in 5 minutes - view your portfolio and get AI-powered DeFi strategies - [Wallet Setup](https://natureloved-staxiq-48.mintlify.app/wallet-setup.md): Complete guide to installing and connecting Leather or Xverse wallet to Staxiq