Lend

Lending Workflow

All procedures can be carried out from the Dashboard. Screens and labels may vary slightly between networks, but the underlying logic remains the same.


1. Supplying Assets

Step
Action

1

Navigate to Markets or Dashboard.

2

Click Deposit next to the asset you want to deposit.

3

Enter the amount.

• The projected APY and current utilisation are shown for reference.

4

Confirm the on-chain transaction in your wallet.

5

After the transaction is final, the asset appears in the Supplied list and starts earning interest immediately.


2. Borrowing

PrimeFi utilizes LayerZero messaging, allowing the asset you borrow to reside on a different network from your collateral.

Parameter
Details

Collateral

Only assets marked Collateral enabled can be used to borrow. Collateral factors (LTV, liquidation threshold) are shown in the asset tooltip.

Borrowable amount

Calculated from your collateral value, current debt, and per-asset LTV. The UI displays a real-time Health Factor (HF); keep HF > 1 to avoid liquidation.

Rate mode

Variable (default) – interest updates with pool utilisation.

Stable – fixed at borrow time. You may switch modes later; the change applies to the whole position for that asset.

Cross-chain withdrawal

Select a target network in the borrow dialog. The loan principal is bridged automatically via LayerZero; no manual bridge or wrapper is required.


3. Withdrawing or Unlocking Liquidity

Situation
Action

Withdraw underlying

In Dashboard → Withdraw, choose the asset and amount, then confirm the transaction. The protocol checks HF; if withdrawal would push HF ≤ 1, it is blocked.

Use pTokens without withdrawing

Your supplied balance is represented by pTokens (e.g. pUSDC). You can transfer or use these tokens in other DeFi protocols as collateral or liquidity, while the deposit continues to earn interest on PrimeFi.

Insufficient pool liquidity

A withdrawal fails if the pool’s available liquidity is lower than the requested amount. Wait for new supplies or borrower repayments, then retry. The UI shows current liquidity in real time.


4. Monitoring & Maintenance

Tool
Purpose

Health Factor bar

Turns yellow when HF < 1.1, red at HF ≤ 1.0.

Rate switch

In the Borrowed list, click the rate badge to toggle between Stable and Variable (subject to asset policy).

Repay

Partial or full repayment reduces debt and raises HF. Setting the amount to Max repays the entire outstanding balance.


Notes

  • Cross-chain delays: Borrowing to another network finalizes after LayerZero confirmation; this typically takes seconds but may vary depending on the network load.

  • Liquidation buffer: Maintain HF well above 1 to account for price volatility and accrued interest, especially when using volatile collateral.

Last updated