You are on Devnet — This is a test environment. Tokens have no real value.

Protocol Overview

rFlow is the first yield tokenization protocol on Solana, enabling users to sell future crypto yields for immediate liquidity.

What is rFlow?#

rFlow creates a trustless marketplace for trading future yield streams. It solves a fundamental problem in DeFi: yield illiquidity.

When you stake, lend, or provide liquidity in DeFi protocols, your yields are locked until the position matures. rFlow lets you monetize those future yields today, without closing your positions.

"Sell your future crypto earnings today.
Trustless. International. On-chain."

How It Works#

The rFlow protocol operates through a simple but powerful mechanism called yield discounting:

1. Lock Tokens

Seller locks receipt tokens (kUSDC, mSOL...) in a PDA vault

2. Create Deal

Deal represents the right to future yield

3. Buyer Purchases

Buyer pays discounted price, seller gets instant USDC

4. Settlement

At expiry: yield to buyer, principal to seller

Example
Alice has 1,000 kUSDC on Kamino (5% APY). Over 90 days, she expects ~$12.50 in yield. She sells this future yield for $10 today. Bob buys it and receives ~$12.50 in 90 days. Alice gets instant liquidity, Bob earns 25% ROI.

Key Concepts#

Receipt Tokens

Tokens representing a position in a yield-generating protocol (e.g., kUSDC from Kamino, mSOL from Marinade). These are what sellers lock in rFlow vaults.

Yield Deal

A smart contract representing the right to future yield from locked receipt tokens. Each deal has a seller, buyer, duration, and selling price.

PDA Vault

A Program Derived Address that securely holds the locked receipt tokens. Only the rFlow program can transfer tokens from the vault.

Settlement

The process of distributing tokens after a deal expires. The buyer receives the yield portion, and the seller recovers their principal.

Participants#

Yield Sellers

Users who have receipt tokens and want immediate liquidity.

  • Get instant USDC for future yields
  • Keep principal exposure
  • No unstaking penalties
  • Can buyback early (with fee)

Yield Buyers

Investors looking for predictable, on-chain verified yields.

  • Earn discounted yields
  • Trustless, on-chain execution
  • Diversify across protocols
  • No active management needed

Supported Yield Sources#

rFlow supports multiple yield-generating protocols, categorized by risk tier:

TierRiskAPY RangeProtocols
Tier 1Ultra Safe3-8%Kamino, Marinade, Jito, Solend
Tier 2Safe8-15%Meteora LP, Raydium LP, Orca
Tier 3Medium10-20%Fee Streams, NFT Royalties

Fee Structure#

rFlow charges a simple 2% fee on each deal transaction:

typescript
1// Fee Calculation
2const PROTOCOL_FEE_BPS = 200; // 2%
3
4const fee = (sellingPrice * PROTOCOL_FEE_BPS) / 10000;
5const sellerReceives = sellingPrice - fee;
6
7// Fees go to protocol treasury