Fenus is an oracle-free lending protocol on Solana. You can lend SOL or USDC and earn interest, or borrow against Solana assets, with every coin valued by what its on-chain pools can really pay.
Status: Fenus runs on Solana devnet and is preparing a small, capped mainnet launch. The program has not been independently audited; it has an internal review, fuzzing and attack tests (see Risks). One admin key controls upgrades. Every market has a low borrow cap. Only deposit what you can afford to lose.
Why another lending protocol
Most lending markets ask an outside price feed what a coin is worth, then assume you could sell any amount at that price. For thin or volatile coins, that assumption is where bad debt comes from: the feed says $1, the pool can only pay $0.70 for a large bag, and lenders eat the difference.
Fenus starts from the other end. It reads the reserves of the coin's Solana pools inside the transaction and asks: if this bag had to be sold right now, what would it actually return? That number, not a headline price, decides how much you can borrow.
The moving parts
Lending pools: one per quote asset (USDC and SOL). Lenders deposit, borrowers draw from them.
Isolated markets: one per collateral coin, each with its own limits, caps and freeze state.
On-chain price reads: up to four source pools per market (PumpSwap, Raydium, Orca, Meteora), plus our own TWAP.
Atomic liquidations: through Jupiter, with a minimum-out bound, in one transaction.
Fee engine: the 2% trading fee on the Fenus token's Meteora pool funds insurance, lender rewards, borrow rebates, the liquidation fund and the treasury.
Two sides, one rule: borrowers can never take out more than their collateral could really be sold for, times a safety margin.
Supplying
Deposit USDC or SOL into a lending pool. You receive shares of the pool, recorded in your lender position account. As borrowers pay interest, each share is worth more. Withdraw any time while the pool has free liquidity.
Borrowing
Pick a collateral market, for example SOL or BONK.
Deposit collateral. It moves into the market's program vault (a PDA). No person or team wallet can move it.
Borrow USDC or SOL up to your limit: live LTV × real worth of your collateral.
Repay any time to unlock your collateral. Interest accrues every second.
Health factor
health factor = liquidation threshold × collateral value (TWAP) ÷ debt
Above 1, you're safe. At or below 1, anyone can liquidate part of your position. The app shows your liquidation price for every position, and a "what if prices drop" slider on the dashboard.
Why shares, not balances
Both lenders and borrowers are tracked in shares (virtual shares, offset to stop first-depositor attacks). Withdrawals and repayments are made by shares, so a full exit is always exact and rounding always favours the pool, never the person trying to game it.
Using the app
A two-minute tour of the app.
1. Connect a wallet
Fenus supports Phantom, Solflare and Backpack through the Solana wallet adapter. Reading your positions never needs a signature. Fenus will never ask for your seed phrase or private key. Anyone who does is a scammer.
2. Read a market
The Markets tab lists every collateral market with its price (the lower of spot and TWAP), pool depth, live LTV, how much of its borrow cap is used, and a status badge. Hover a badge to see why a market is frozen. Click a row for the full market page: price sources, spot vs TWAP chart and risk parameters.
3. Supply, borrow, repay
Every action opens the side panel. It shows your health factor before and after, and your liquidation price, before you sign. The API builds an unsigned transaction and your wallet signs it.
Shortcuts
Key
Does
/
Search markets or docs
Esc
Close the side panel or dialog
Oracle-free pricing
Fenus never asks an outside feed for a price. Everything comes from Solana pool accounts, read inside the transaction.
Source pools
Each market lists up to four source pools across PumpSwap, Raydium (v4, CPMM, CLMM), Orca Whirlpools and Meteora DLMM. The program reads their reserves (or concentrated-liquidity ticks and bins) directly.
Real worth of a bag
For a constant-product pool with reserves x (coin) and y (quote) and fee f, selling q coins returns:
out = y · q(1 − f) ÷ (x + q(1 − f))
Fenus splits the sale across at most the three deepest pools, uses the lowest of their prices, and scales by min(spot, TWAP) ÷ spot. The on-chain number can never be more generous than an off-chain three-pool route would be.
Stress size
Every borrower is priced as if a stress-size sale sits ahead of them: the larger of 10% of the market's total collateral and a fixed floor. That makes everyone's limit reflect the marginal exit, not the first seller's.
Our own TWAP
An observation account per market keeps a ring buffer of price samples. Anyone can call crank_observe to add one, at most one per slot, and each sample is clamped against the last, so moving the average takes real capital over many slots.
Freezes
Freeze
Trigger
Effect
DIVERGENCE
Source pools disagree beyond the market's limit
No new borrows
DEVIATION
Spot is too far from the TWAP
No new borrows
STALE
No recent TWAP sample
No new borrows
THIN
Pool depth under the listing bar
No new borrows
Admin / pause
Emergency switch
No new borrows
Freezes never block repaying, adding collateral or liquidations.
Risk & tiers
Riskier collateral gets lower limits, tighter freezes and smaller caps. Every market is isolated.
On-chain depth over $400k (quote side × 2 across the top Solana pools)
Older than 30 days and listed on a major CEX
Risk check: holder concentration, team share, upcoming unlocks
Young-coin tier
The young tier is built and tested on localnet, and opens only after pricing, the sysvar check and liquidations are final.
Depth over $250k, age over 14 days, market cap over $20M
More than 10,000 holders with a real balance (over $10); top-10 holders at most 30%, excluding pool vaults, burn addresses, exchange wallets and Fenus vaults
Dev/team share at most 10% with no unlocks in the next 90 days
Borrowing opens only after 7 days of unbroken TWAP samples; a gap restarts the clock
Debt per coin under 2% of pool depth; all young markets together under 10% of a lending pool
Auto-freeze if depth drops under the bar; only an admin re-check unfreezes
A dedicated 20% slice of insurance, untouchable by other markets
Caps
Every market has a borrow cap tied to its pool depth, and a liquidation size cap (5–20% of depth) so a single liquidation can't crash its own price.
Manipulation defense
Flash loans and same-transaction pool manipulation are threat number one for any oracle-free design. Fenus is built against them explicitly.
Borrow at the lower price. Borrowing uses min(spot, TWAP), so pumping a pool buys no extra credit.
Liquidate on the TWAP. Health uses the TWAP alone, so dumping a pool can't liquidate a healthy position.
Slow, clamped TWAP. At most one sample per slot, each clamped against the last.
Same-transaction check. The program inspects the instructions sysvar and rejects a borrow or liquidation if the transaction already touched one of the market's price pools.
Freezes and caps. Divergence and deviation freezes, plus borrow caps tied to pool depth.
Audit and testing
The program is covered by Rust unit tests, recorded mainnet pool fixtures and localnet integration tests, and is being fuzzed for invariants (debt never exceeds deposits, shares never round in a user's favour, frozen markets never lend). An independent audit comes before any real funds.
Report a vulnerability
Found something? DM @fenusfi on X and ask for a private channel. Please don't post details publicly before a fix ships. A formal bug bounty will be published before mainnet.
Liquidations
When a position's health factor falls below 1, anyone can liquidate it in one atomic transaction.
How it runs
The liquidator calls liquidate on the position.
The program checks health on the TWAP and sizes the close: 50% of the debt, or 100% if health is under 0.95, capped against pool depth.
Collateral is sold through Jupiter by CPI with an on-chain minimum-out bound.
The proceeds repay lenders, the liquidator earns a bonus, and the rest stays with the borrower.
If proceeds fall short, the insurance fund covers the gap.
Because everything happens in one transaction, there is no half-finished state and no trusted keeper.
Interest rates
A kinked utilisation curve: cheap while there's plenty of liquidity, steep when the pool runs low.
u = borrowed ÷ supplied borrow rate = base + slope₁ · u / u* (u ≤ u*) borrow rate = base + slope₁ + slope₂ · (u − u*) / (1 − u*) (u > u*) supply rate = borrow rate · u · (1 − reserve factor)
The steep second slope pulls in deposits and pushes out borrowers before a pool can run dry, so lenders can withdraw. Interest is rounded up for borrowers and down for lenders.
Fee engine
Every trade in the Fenus token's Meteora pool pays a 2% fee. The fees are claimed and paid into the program (intake_fees), which splits them on-chain in the same transaction. Interest reserves (the reserve factor) go through the same split (distribute_reserves).
Module
Share (default)
Of each trade
On-chain account
Purpose
Insurance fund
40%
0.80%
insurance_vault
Covers bad debt before lenders take any loss. SOL/USDC only; 20% is earmarked for young-coin markets.
Lender boost
25%
0.50%
pool vault
Added to the lending pool, so every lender's share is worth more.
Treasury
20%
0.40%
treasury_vault
Withdrawn by the admin (withdraw_treasury) for operations, security work and protocol-owned liquidity.
Borrow rebates
10%
0.20%
pool vault
Pays down every borrower's debt pro rata.
Liquidation fund
5%
0.10%
liq_fund_vault
Rewards keepers who settle dust bad debt.
The admin key can change the shares with set_fee_split; the program only checks that they add up to at most 100%. The live split is shown on the app's Revenue page. Meteora keeps its own protocol share of pool fees before they are claimed.
Custody
Where your assets sit, and who can move them.
Lender deposits sit in each lending pool's vault, a token account owned by a program PDA.
Collateral sits in a per-market vault, also PDA-owned. It leaves only on your withdrawal, repayment or a liquidation.
Admin powers (listing markets, setting bounded parameters, freezing) move to a multisig before mainnet. No admin instruction can move user funds.
Program accounts
The Fenus Anchor program (on-chain name pump_lend): accounts and instructions.
Accounts
Account
Holds
Config
Admin, global pause, fee splits and bounds
LendPool
One per quote mint: vault, total assets/shares, rate model, last accrual
LenderPosition
A lender's shares in one pool
Market
One per collateral coin: tier, price sources, LTV, thresholds, caps, freeze flags
Position
One per user per market: collateral, borrow shares
Observation
The market's TWAP ring buffer and last clamped price
Building a bot, a dashboard or a wallet integration on Fenus.
Read markets and positions from the API, or straight from the program accounts.
Act by requesting an unsigned transaction and having the user sign it.
Run a crank: crank_observe and accrue are permissionless. Running them keeps TWAPs fresh.
Liquidate: watch /v1/risk and positions; call liquidate when health drops below 1.
Never build anything that asks users to paste a seed phrase or private key. Fenus integrations only ever pass unsigned transactions to a wallet.
Glossary
LTV
Loan-to-value: the most you can borrow as a share of your collateral's real worth.
Live LTV
Base LTV minus a haircut for the slippage of a stress-size sale.
Liquidation threshold
The share of collateral value at which a position becomes liquidatable.
Health factor
Threshold × collateral value ÷ debt. Under 1 means liquidatable.
TWAP
Time-weighted average price, built by Fenus from on-chain samples.
Depth
Quote-side reserves × 2 across a coin's top Solana pools.
PDA
Program-derived address: an account only the program can sign for.
Isolated market
A market whose losses can't spread to others.
Close factor
How much of a debt one liquidation may repay (50%, or 100% under 0.95).
Brand
The Fenus logo is a wordmark: the flared F mark followed by "enus". The F also stands alone as the app icon.
Colour
Hex
Paper
#E4E1E7
Ink
#3A363C
Plum
#6E5C86
Fonts: Cormorant Garamond (display), Manrope (interface), IBM Plex Mono (numbers). Please don't stretch, recolour or add effects to the logo, and don't retype "enus" in another font. Download: wordmark.png · mark.png · icon-512.png (transparent PNGs)