UniStock
Cross-chain lending & Uniswap v4 swaps/liquidity on Rootstock.
Problem Statement
UniStock is a DeFi platform on Rootstock (RSK) that combines a Uniswap V4-style DEX with an integrated lending protocol. Users can swap tokens, provide liquidity with concentrated ranges, and earn yields through lending, all with cross-chain functionality via LayerZero.Core Features:DEX:Uniswap V4-style AMM, concentrated liquidity, low-slippage swaps, and efficient fee markets.Liquidity:Flexible position management, automated fee collection, and analytics.Lending:Supply assets to earn interest, borrow against collateral, and cross-chain lending.Cross-Chain:LayerZero integration for unified liquidity and asset transfers.Advanced:Referral rewards, admin controls, analytics, and mobile-responsive UI.Architecture:Smart contracts includeUnistockPoolManager,UnistockRouter,LzLiquidation, andMintableToken. Frontend is built with React + TypeScript (Vite, Ethers.js, Shadcn/ui).Use Cases:Traders swap tokens efficiently, liquidity providers earn fees, lenders earn passive yields, and borrowers access liquidity—all in one interoperable DeFi platform.Innovation:By merging Uniswap V4’s concentrated liquidity with cross-chain lending, UniStock improves capital efficiency, yield opportunities, and user experience while bridging Rootstock with the wider DeFi ecosystem.
Solution
Tech Stack Smart Contracts: Solidity ^0.8.23 + Foundry + LayerZero V2 Frontend: React 18 + TypeScript + Vite + Ethers.js v6 UI: Shadcn/ui + Tailwind CSS Network: Rootstock (RSK) Testnet Key ComponentsConcentrated Liquidity AMM Uniswap V4-style pool manager with tick-based liquidity Custom price range management for capital efficiency Automated fee collection and distributionCross-Chain Lending LayerZero integration for multi-chain operations Custom message types for borrowing/repaying across chains Health factor monitoring and liquidation protectionFrontend Architecture Custom hooks for blockchain state management Dynamic contract factory with ABI loading Real-time data updates with polling
Hackathon
ETHGlobal New Delhi
2025
Contributors
- im-shubh
4 contributions
- ManojJiSharma
3 contributions
- vpin09
2 contributions
- nayanchoudhary31
1 contributions