FlexiYeild

Auto-rebalancing stablecoin basket on Solana: deposit USDC, earn yield with de-peg safety

Visit Repo
FlexiYeild banner

About

FlexiYield: Dynamic Stablecoin Basket Protocol

FlexiYield is a Solana-native DeFi protocol that creates a dynamic stablecoin basket system, transforming traditional stablecoins into an auto-optimized, diversified portfolio. It is built specifically for a hackathon environment using devnet infrastructure.

Core Concept & Problem Solved:

FlexiYield addresses the manual complexity of stablecoin management by creating a “meta-stablecoin” called FLEX that automatically rebalances between different stablecoins based on: - Yield optimization through mock APY signals - De-peg protection via health monitoring - Risk diversification across multiple stablecoin assets - Rules-based rebalancing with configurable thresholds

Technical Architecture:

Smart Contract Layer (Rust/Anchor):

1. Basket Program – Core deposit/withdrawal logic, NAV calculations, FLEX token minting 2. Strategy Program – Target weight management, threshold controls, mock oracle integration 3. Rebalance Program – Automated rebalancing execution with cap enforcement

Frontend (Next.js/TypeScript):

- Real-time dashboard with composition charts and NAV tracking - Seamless wallet integration (Phantom devnet) - Admin controls for strategy parameter adjustments - Transaction monitoring with Solana explorer integration

Key Innovation Points:

Solana Speed & Cost Advantage:

- Leverages Solana’s sub-second finality for frequent rebalancing - Ultra-low transaction fees enable micro-optimizations - Real-time UI updates showcasing blockchain performance

Hackathon-Optimized Features:

- Devnet-only implementation with mock assets (USDCd, USDTd) - Internal swap simulator for reliable demo experience - One-command deployment via comprehensive script automation - Mock oracle system for APY/peg health simulation

Demo Flow & User Experience:

1. Setup: Airdrop SOL and mint demo USDCd tokens 2. Deposit: Convert 25 USDCd and receive 25 FLEX tokens (1:1 NAV) 3. Strategy Control: Toggle APY preferences and trigger automatic rebalancing 4. Monitoring: View real-time composition changes with transaction explorer links 5. Withdrawal: Redeem FLEX and receive USDCd proportionally

Technical Specifications:

- Token Standard: SPL Token with 6 decimals (stablecoin UX) - Architecture: PDA-based state management for deterministic reads - Security: Guardian pause functionality, admin multisig controls - Testing: Comprehensive unit tests for math operations and state transitions - Deployment: Automated scripts for devnet setup, token creation, and program deployment

Hackathon Compliance & Constraints:

Scope Limitations (By Design):

- Devnet-only operation (no real funds at risk) - Single DEX path or internal simulator (no complex routing) - Mock oracles via admin UI (no external API dependencies) - Manual rebalancing triggers (keeper automation optional)

Deliverables:

- Live devnet dApp at https://flexi-yield.vercel.app - Complete source code with /programs, /app, and /scripts - One-command setup for judges and developers - Comprehensive documentation and demo recordings

Innovation Impact:

FlexiYield demonstrates how Solana’s performance characteristics enable previously impractical DeFi strategies—frequent, cost-effective rebalancing that would be prohibitively expensive on other chains. This creates a foundation for next-generation automated portfolio management in the stablecoin ecosystem.

The project showcases practical blockchain UX with transparent, real-time updates and clear transaction tracking, making complex DeFi strategies accessible to mainstream users while maintaining full decentralization and user custody.

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

Yieldex AI

Yieldex automates stablecoin yield optimization using real-time and historic on-chain data. It uses AI to analyze data and allocate funds to secure high-yield opportunities. Smart contracts handle rebalancing, while user funds never leave their smart wallets.