BORROW, LEND, EARN, ANY TOKEN
Floating golden BaraFi capybara logo

BaraFi Lending

Access Liquidity and Tokens without selling.

Decentralized Peer to Peer Lending Markets.
No Liquidations. No Oracle Dependencies.

Explore BaraFi
01 / BUILT FOR THE LONG FLOAT
SCROLL TO EXPLORE
Market dip? Your loan stays put.Price changes alone never sell your collateral.
Know your cost from day one.Your agreed interest stays the same.
An agreement. Not a price feed.The lender sets what you lock as collateral.

Collateral means the tokens you lock to back your loan. Miss the full repayment deadline and the lender can claim all of them.

YOUR NEXT MOVE STARTS HERE

Lend your way.
Borrow on clear terms.

People lending directly to people. Lenders create offers. Borrowers pick a match. The cost and deadline are clear before either side commits.

FOR LENDERS

Put your tokens
to work, your way.

Choose the tokens you want to lend, the interest you want to charge and how long the loan lasts. Then choose a different token and amount the borrower must lock to back it.

  • Choose 3, 6, 12 or 24 months.
  • One offer can serve more than one borrower.
  • Take back the part nobody has borrowed yet.
Explore lending You earn interest when a borrower repays—not just by depositing tokens. Returns are not guaranteed.
FOR BORROWERS

Find your fit.
Plan your next move.

Find an offer you like and borrow all or part of it. Lock the required collateral and receive your tokens. Borrow less, and the collateral you need scales down too.

  • Your loan clock starts when you borrow.
  • Your interest stays fixed, even when markets move.
  • Repay in full before the deadline to get your collateral back.
Explore borrowing You can repay early, but you still pay the full agreed interest and BaraFi fee.
SEE THE COST. MAKE YOUR CALL.

No guessing what you owe.

EXAMPLE ONLY · NOT A REAL OFFER
Capybara beside a ledger and neatly arranged coins.

One clear repayment amount.

Pay back what you borrowed, plus the agreed interest and a BaraFi fee based on your borrowing amount. The interest and fee are both paid when you repay.

The fee percentage and the address that receives fees will be fixed at launch and cannot change afterward. The final percentage is still to be decided.

Find your offer in the preview
You borrow1,000 USDC
You lock as collateral
0.8 WETH
Term
3 months 90 days
Interest for the whole loan · 4.50%
45 USDC
Example BaraFi fee · 0.30%
3 USDC
You pay back
1,048 USDC

The interest shown is for the whole loan, not a yearly rate. Network transaction fees are extra. These token amounts and rates are examples, not financial advice.

THREE STEPS. ONE CLEAR AGREEMENT.

From a match to your next move.

Once an offer is posted, its terms stay locked. Your loan follows the agreement you accepted—not the mood of the market.

Two capybaras on opposite pond banks connected by a golden bridge, illustrating a direct lending agreement.
  1. 01

    Make a match

    The lender funds an offer. The borrower chooses it and locks the tokens needed to back the loan.

  2. 02

    Borrow & go

    The borrower receives the tokens and the countdown begins. The interest stays fixed. Price swings alone never sell the collateral.

  3. 03

    Repay & reclaim

    Pay back the full loan, agreed interest and fee before the deadline. Get your collateral back at the same time, or withdraw it after repayment.

Your deadline matters. Don’t miss it.

The full repayment must complete before the exact deadline. After that, repayment is no longer accepted and only your lender can claim all locked collateral—even if they have not claimed it yet. There is no grace period.

Once a loan is repaid, the lender can collect the returned tokens and interest. Payments in several tokens can be collected together, within the transaction limit.

A DIFFERENT KIND OF LENDING

Different paths.
Your choice.

Most lending apps use shared funds and track collateral prices. BaraFi connects you to an individual offer with fixed interest and a clear deadline. Here’s how they compare.

Capybara between direct golden stepping stones and interconnected pond channels, representing different lending structures.
No forced sale from price swingsNo outside price feedsTerms locked when you borrow
BaraFi’s planned design compared with standard variable-rate loans on Aave V3 and Compound III (Comet).
What mattersBaraFiDirect loans · fixed term · not live yetAave V3Shared funds · changing interestCompound IIIShared funds · Comet markets
When collateral can be takenA price drop alone won’t sell it

Only the lender can claim the locked tokens if full repayment misses the deadline.

Collateral can be sold when its value falls too low compared with the debt (a health factor below 1).The protocol can take collateral when an account falls below its required collateral limits.
Tracking token pricesNo outside price feeds needed

The lender chooses the token amounts. BaraFi does not use market prices to manage the loan.

Price feeds help decide how much you can borrow and when collateral can be sold.Price feeds help decide borrowing limits and when collateral can be taken.
What borrowing costsInterest you know from the start

The agreed interest stays fixed for the whole loan. Repaying early does not reduce it.

Interest rates can rise or fall as demand for the shared funds changes.Interest builds over time, at rates that change with demand for the shared funds.
What backs the loanThe lender chooses the tokens

The lender chooses a different compatible Ethereum token and how much the borrower must lock.

Each market has approved collateral tokens and rules for how much they can back.Each market offers one token to borrow and a set of approved collateral tokens.
When to repayA deadline you can plan around

90, 180, 360 or 720 days from borrowing. Full repayment must complete before the deadline.

No fixed end date for these loans, as long as the collateral meets the required limits.No fixed end date for these loans, as long as the collateral meets the required limits.
Where the loan comes fromA direct match with a lender

Borrow all or part of a funded offer that fits. You need a matching offer to get a loan.

Borrow from funds shared by many lenders, within availability and market limits.Borrow the market’s loan token from shared funds, within market limits.
Different benefits. Different trade-offs.

Shared-fund apps can let you borrow without matching an individual lender, keep loans open without a fixed end date, and pay interest for the time you borrow. BaraFi gives you a fixed agreement instead—but you need a matching offer, owe the full agreed interest even if you repay early, and must meet a strict deadline. All three carry risks, including token losses and bugs in the code that handles funds.

What we compared & where to read more

This compares standard variable-rate loans on Aave V3 and Compound III—not every loan product or version. Sources checked 11 October 2026.

Take another look at how repayment works
REAL ATTACKS. IMPORTANT LESSONS.

What went wrong.
What we do differently.

Some of lending’s biggest attacks exploited inflated prices or complex loan rules. Here’s how they worked—and which steps BaraFi’s design leaves out.

Two capybaras beside a locked chest, with a ledger, magnifying glass and shield representing careful security review.

These are historical incidents in the versions named below—not claims about today’s versions, Aave V3 or Compound III. Amounts are approximate US-dollar values at the time. A flash loan is a temporary loan that must be repaid within the same transaction; it is a tool, not a hack by itself.

27 October 2021 · Ethereum lending markets

Cream Finance

≈ $130 millionReported drained in this attack—not a verified final loss after all recoveries.

What happened

  1. The attacker used huge, temporary loans to build a position in tokens representing deposits in a Yearn vault.
  2. They withdrew many vault shares, then donated tokens into the vault. With fewer shares left, each remaining share appeared much more valuable.
  3. Cream’s pricing system accepted that inflated value. The attacker used it to borrow real assets from the lending markets and leave unpaid debt behind.

Where BaraFi changes the story

A changed price cannot unlock a bigger BaraFi loan. Each offer fixes the token amounts required as collateral. There is no vault-price calculation or outside price feed to trick into increasing the borrowing limit.

What this does not solve: That removes this price-inflation step—not token risk. A lender can still accept collateral that is worth too little or later loses value.

13 March 2023 · Original Euler protocol

Euler Finance

≈ $197 millionTaken during the exploit. Recoverable funds were later returned—not a $197 million permanent loss.

What happened

  1. The attacker used a temporary loan to build a highly leveraged position: a large deposit balance paired with a large debt.
  2. A “donate to reserves” function reduced their deposit balance without checking whether enough collateral remained to cover the debt.
  3. A second attacker-controlled account liquidated the now-unhealthy position, collected a discounted collateral payout and withdrew assets. The process was repeated across markets.

Where BaraFi changes the story

BaraFi has no leveraged deposit-minting feature, no donate-to-reserves function and no liquidation discount to collect. This donation-and-self-liquidation sequence has no equivalent in its planned loan model.

What this does not solve: Euler is also a warning: a code mistake can cause losses without manipulating a price feed. BaraFi’s own accounting and repayment logic still need independent testing and review.

18 February 2020 · Second February incident

bZx / Fulcrum

≈ $650,000Reported extracted in this incident. Excludes the separate attack three days earlier; not a recovery-adjusted total.

What happened

  1. The attacker used a temporary loan to buy large amounts of sUSD, a dollar-linked token, in markets with limited liquidity.
  2. Those trades pushed up the price that bZx’s pricing system read, making the token look more valuable than it really was.
  3. They posted sUSD as collateral and borrowed too much ETH against that inflated price, then repaid the temporary loan and kept the difference.

Where BaraFi changes the story

BaraFi does not read exchange prices to decide how much someone can borrow. Moving a token’s trading price cannot change an existing offer’s required collateral or available loan amount.

What this does not solve: Fixed amounts still require good judgment. A lender who accepts poor collateral can lose money, and flash loans can fund other kinds of attacks even when price feeds are absent.

Fewer attack paths. Not a promise of safety.

These are comparisons with BaraFi’s pre-launch code, not proof that it would survive every attack. Offers are matched individually, but tokens are held in the same contract: an accounting bug could still affect multiple users. Token failures, unsafe approvals and other code bugs remain risks. BaraFi is preview-only and needs an independent security audit before real funds are used.

BEFORE YOU ENTER THE POND

Good questions.
Straight answers.

A calmer way to agree on a loan is still a financial decision. Here’s what to know before you take the plunge.

A thoughtful capybara beside a ledger and glowing brass lantern at the pond.
What if the tokens backing a loan lose value?

Their value can rise or fall. BaraFi does not track prices or ask borrowers to add more collateral. If a borrower misses repayment, the lender could receive tokens worth less than the unpaid loan. The borrower can lose all locked tokens, even if they are worth more than what is owed.

Which tokens can I lend or borrow?

BaraFi is designed for compatible Ethereum tokens, known as ERC-20 tokens. Each offer uses one token for the loan and a different one as collateral. Tokens must transfer the exact amount: those that deduct a fee are rejected. Tokens that automatically change balances or have unusual behavior may not work safely. Not every token is suitable, and checks cannot catch every risk.

How long does a loan last?

The lender chooses 3, 6, 12 or 24 months. BaraFi counts a month as 30 days, so those terms are exactly 90, 180, 360 or 720 days. Every time someone borrows from an offer, their loan gets its own start time and deadline.

Can I take my tokens back whenever I want?

Lenders can take back only the part of an offer that has not been borrowed. Tokens already lent stay in the loan until repayment; if repayment is missed, the lender can claim the collateral instead. Borrowers get their collateral back only after full repayment before the deadline. Loans cannot be repaid in parts and do not renew automatically.

Can I use real funds yet?

Not yet. You can explore the preview with example balances, without moving real tokens or signing wallet transactions. Before launch, BaraFi needs an independent security review, its fee and fee-receiving address finalized, and its contracts launched on Ethereum. Those contracts are designed with no administrator who can change, upgrade or pause them.

See the contract code
Will I need to approve token transfers?

For real loans, you would give the contract permission to move the tokens needed for your chosen action. Some compatible tokens let you do this with a wallet signature instead of a separate approval transaction. BaraFi supports ERC-2612 signatures, but not DAI-style signatures or Permit2. The preview asks for no real signatures.

READY TO DIP A TOE IN?

Meet your next loan.
Try it before it’s live.

Explore both sides of a loan with example funds. No real tokens. No wallet transactions.

Open the preview Explore the contract code