Protocol Deep Dive

How It Works

A capital-efficient Bitcoin financing protocol that leverages Aave and Uniswap to provide instant liquidity for BTC purchases

End-to-End Flow

From user loan creation to treasury capital management

1. User Request

User wants to buy 1 BTC, pays down payment in USDC

Down Payment:20,000 USDC
BTC Amount:1.0 BTC

2. Treasury Action

Treasury swaps USDC β†’ BTC via Uniswap

Protocol:Uniswap V3
Output:1.0 WBTC

3. Leverage Loop

Supply BTC to Aave, borrow USDC against it

Supplied:1.0 aWBTC
Borrowed:~50k USDC

4. Repayment

User pays monthly, treasury auto-repays Aave debt

Monthly:2,500 USDC
Auto-Repay:80% to Aave

Deep Dive: Protocol Components

Understanding the mechanics behind the magic

Treasury Management

Capital efficiency through DeFi composability

1. Initial Reserves

Treasury holds USDC reserves. When a user requests BTC, treasury first checks available balance.

2. Uniswap Purchase

Treasury swaps USDC for WBTC on Uniswap V3 using exactInputSingle for optimal pricing.

3. Leverage via Aave

BTC is supplied to Aave V3, then USDC is borrowed against it (up to 70% LTV). This can be done iteratively for maximum leverage.

Leverage Loop

Each iteration: Supply β†’ Borrow β†’ Supply again. Default: 3 iterations at 70% LTV = ~3.4x effective buying power

Loan Lifecycle

From creation to final redemption

1. Loan Creation

User specifies BTC amount, down payment %, and tenure. Terms are calculated and locked on-chain instantly.

2. Automated Payments

Chainlink Automation checks payment schedules. Users must keep USDC balance funded. 30-day grace period after each due date.

3. Treasury Auto-Repay

80% of each payment automatically goes to Aave to reduce debt. Protocol earns spread between loan APR and Aave borrow rate.

4. Final Redemption

Once fully paid, user redeems voucher NFT. Treasury withdraws BTC from Aave and transfers to user.

Capital Flow Diagram

How USDC and BTC move through the protocol

πŸ‘€
User
Down Payment
20k USDC
πŸ“‹
LoanManager
Loan Contract
Request
🏦
Treasury
Capital Manager
Swap
πŸ¦„
Uniswap V3
USDC β†’ WBTC
🏦
Treasury
+ WBTC received
Supply
πŸ›οΈ
Aave V3
Lending Pool
Borrow
πŸ›οΈ
Aave V3
↓ 50k USDC borrowed
User Payment
DEX Swap
Lending Protocol
Internal Transfer
Liquidation Protection

Never Get Liquidated

Our protocol has built-in safety mechanisms to protect against market volatility and ensure your BTC is never at risk of liquidation

LTV Auto-Rebalancing

Hard cap at 75% LTV ratio

How It Works

The protocol continuously monitors the Loan-to-Value (LTV) ratio on Aave. If BTC price drops and LTV approaches 75%, the system automatically triggers rebalancing.

Automatic Debt Repayment

Treasury funds are automatically used to repay borrowed USDC on Aave, reducing the debt and bringing the LTV back to safe levels.

Maximum LTV Cap:75%

Aave liquidation starts at ~83% LTV β€” we stay well below this threshold

Emergency Liquidity Reserve

10% buffer always ready

Reserved Liquidity

The protocol maintains an emergency liquidity fund equal to 10% of total borrowed amount. This reserve is always ready to be deployed.

Instant Deployment

In case of sudden BTC price drops, the emergency reserve can be instantly supplied back to Aave to prevent any liquidation event.

Emergency Reserve:10%

Of total borrowed amount β€” ready for instant Aave debt repayment

Zero Liquidation Risk

Your BTC is always protected by multiple safety layers

75% LTV Hard Cap
10% Emergency Reserve
Auto-Rebalancing

Protocol Features

What makes this protocol capital-efficient and secure

Capital Efficiency

Leverage DeFi composability to maximize treasury buying power without requiring 100% upfront capital

Risk Management

75% LTV hard cap with auto-rebalancing, 10% emergency liquidity reserve, and automated debt repayment protect protocol solvency

Automated Operations

Chainlink Automation handles payment collection, liquidations, and health checksβ€”zero manual intervention

Transparent Pricing

Chainlink price feeds ensure accurate BTC valuation. All rates and fees are public and immutable

UUPS Upgradeable

All core contracts use UUPS proxy pattern for seamless upgrades while preserving state and user funds

Early Unlock Option

Users can exit early by paying a 20% penalty on remaining balance, providing flexibility in changing market conditions

The Math Behind Leverage

Understanding the 3.4x capital multiplier

πŸ’°Example: $100,000 Initial USDC

Iteration 0 (Start):$100,000 USDC β†’ Buy BTC
Supply to Aave:$100,000 WBTC supplied
Iteration 1 (70% LTV):Borrow $70,000 USDC β†’ Buy BTC
Iteration 2 (70% LTV):Borrow $49,000 USDC β†’ Buy BTC
Iteration 3 (70% LTV):Borrow $34,300 USDC β†’ Buy BTC
Total BTC Purchased:$253,300 worth
Effective Multiplier:2.53x

Geometric Series Formula:

Multiplier = 1 + LTV + LTVΒ² + LTVΒ³ + ...
Multiplier = 1 / (1 - LTV)
At 70% LTV: 1 / (1 - 0.7) = 3.33x theoretical max
* In practice: ~2.5-3x depending on iteration count

Ready to Get Started?

Start buying Bitcoin with fixed monthly payments today