Skip to content

btb-finance/LiquidYield

Repository files navigation

BTB Finance

A decentralized marketplace for trading future LP rewards and yield

Overview

BTB Finance (formerly YieldFutures) is a DeFi protocol that allows liquidity providers to monetize their future yield immediately while enabling yield seekers to purchase these future rewards at a discount. Our LiquidYield platform bridges the gap between those who need immediate capital and those looking for enhanced yield opportunities.

BTB Finance Platform

How It Works

For Yield Sellers (Liquidity Providers)

  1. Connect your wallet and deposit assets into supported liquidity pools
  2. Enable auto-LP management for optimal rebalancing
  3. Choose what percentage of your future yield to sell and for what duration
  4. Receive immediate capital in exchange for your future rewards
  5. When the contract expires, reclaim your principal position

For Yield Buyers

  1. Browse available yield contracts with different durations and expected APYs
  2. Purchase rights to future yield at discounted rates
  3. Automatically collect fees generated by the underlying position
  4. Monitor performance through an intuitive dashboard
  5. When the contract expires, the yield stream concludes

Key Features

  • Flexible Time Horizons: Sell or buy yield for periods ranging from 1 week to 1 year
  • Auto-LP Management: Optimized rebalancing to maximize yield and minimize impermanent loss
  • Principal Protection: Original depositors always maintain ownership of their principal position
  • NFT Integration: Support for yield-generating NFT positions (e.g., Uniswap V3 positions)
  • Risk Assessment Tools: Analytics to help users make informed decisions
  • Yield Aggregation: Automatically compounds rewards for enhanced returns
  • Secondary Market: Trade purchased yield positions before expiration

Technical Architecture

BTB Finance's LiquidYield platform consists of four primary components:

  1. Core Protocol

    • Smart contracts for yield rights transfer
    • Position tracking and management
    • Fee distribution mechanism
    • Time-locked redemption system
  2. Auto-LP Engine

    • Algorithmic rebalancing
    • Fee optimization
    • Impermanent loss mitigation
    • Cross-protocol yield farming
  3. Pricing Oracle

    • Dynamic yield valuation model
    • Risk-adjusted pricing
    • Historical yield data analysis
    • Market sentiment integration
  4. User Interface

    • Position management dashboard
    • Marketplace for yield contracts
    • Analytics and performance tracking
    • Portfolio management tools

Supported Networks and Protocols

Ethereum Mainnet

  • Uniswap V3
  • Curve Finance
  • Balancer

L2 Solutions

  • Arbitrum
  • Optimism
  • Base

Roadmap

Phase 1: MVP (Q2 2025)

  • Single pool support (ETH/USDC)
  • 1-week fixed contracts
  • Basic auto-LP management
  • Simple marketplace UI

Phase 2: Expansion (Q3 2025)

  • Multi-pool support
  • Variable contract durations
  • NFT position integration
  • Advanced analytics

Phase 3: Advanced Features (Q4 2025)

  • Yield tranches (senior/junior positions)
  • Leveraged yield positions
  • Cross-chain yield aggregation
  • DAO governance implementation

Getting Started

Prerequisites

  • Node.js v16+
  • Hardhat
  • MetaMask or other Web3 wallet

Installation

# Clone the repository
git clone https://github.com/btb-finance/LiquidYield.git
cd LiquidYield

# Install dependencies
pnpm install

# Set up environment variables
cp .env.example .env
# Edit .env with your configuration

# Compile contracts
npx hardhat compile

# Run tests
npx hardhat test

# Deploy locally
npx hardhat node
npx hardhat run --network localhost scripts/deploy.js

Local Development

# Start the frontend
cd frontend
pnpm install
pnpm run dev

Contract Addresses

Contract Mainnet Arbitrum Optimism
YieldMarket TBA TBA TBA
PositionManager TBA TBA TBA
FeeDistributor TBA TBA TBA
PricingOracle TBA TBA TBA

Security

BTB Finance prioritizes security through:

  • Comprehensive audits by leading firms
  • Bug bounty program
  • Time-locked upgrades
  • Multi-sig governance
  • Gradual fund caps during initial launch

Audit reports will be published in the /audits directory.

Contributing

We welcome contributions from the community! Please see our Contributing Guidelines for more information.

License

BTB Finance is licensed under the MIT License.

Contact

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published