Guides

Borrowing

How to borrow against your cross-venue collateral with unified margin on Project 0.

P0 is a prime broker. If you have $100 on P0, $200 on Kamino, and $300 on Drift, you can borrow against your entire $600 portfolio in one click. Your collateral across all integrated venues is unified under a single account with a single health factor.

How Borrowing Works

When you borrow, the protocol:

  1. Evaluates your Account health using Initial weights (the more conservative tier).
  2. Checks that your weighted collateral exceeds your weighted liabilities, including the new borrow.
  3. Transfers the borrowed tokens to your wallet.

Your maximum borrow depends on the asset weights of your collateral and the liability weights of the asset you are borrowing:

Max Borrow = (Sum of Weighted Collateral) / (Liability Weight of Borrow Asset)

Collateral can come from any integrated venue: P0's native market, Kamino, Drift, or natively staked SOL. The risk engine evaluates your entire cross-venue portfolio as a single unit.

Borrowing via the App

  1. Ensure you have collateral deposited on app.0.xyz. This can be native P0 deposits, Kamino positions, Drift positions, or staked SOL.
  2. Navigate to the borrowing page and select the asset you want to borrow.
  3. Enter the amount. The interface shows your maximum borrowing capacity based on your entire portfolio.
  4. Review the health impact. The preview shows how your health factor will change.
  5. Confirm the transaction in your wallet.

Borrows are sourced from P0's native credit market. Cross-venue positions serve as collateral only; you cannot borrow cross-venue assets.

After You Borrow

Once you have active debt, monitor your health score on the portfolio page. If it drops below zero, your account can be liquidated. Do not borrow to your maximum capacity; leave a buffer for normal price fluctuations.

See Managing Your Account for a full guide on health scores, using multiple accounts, and adjusting your positions with collateral and debt swaps.

What Happens If You Get Liquidated

If your Maintenance health drops below zero, a third-party liquidator can step in to partially repay your debt in exchange for seizing some of your collateral at a discount.

  • Partial liquidation. Liquidators can only bring your health back up to zero, not beyond. You keep remaining collateral.
  • You lose a premium. The liquidator receives your collateral at a 2.5% discount (classic) or up to 10% (receivership). An additional 2.5% goes to the insurance fund in classic liquidation.
  • You can act first. At any point before liquidation, you can deposit more collateral or repay some debt to restore your health and avoid the premium.

Liquidation is not instant. You can monitor your health on the portfolio page and take action before it reaches zero. For the full mechanics, see Liquidation.

Emode and Borrowing

If your collateral and borrow asset are correlated (e.g., SOL/LST or USDC/USDT), you automatically receive enhanced borrowing power via Emode. Adding a non-paired borrow removes the benefit for the entire Account. See the Emode guide for worked examples and multi-account strategies.

Repaying Debt

There is no repayment deadline. You can hold your borrow as long as your account remains healthy. Interest accrues continuously, but there is no fixed repayment schedule or maturity date.

When you are ready to repay:

  • Partial repayment: Specify the amount to repay.
  • Full repayment: Use the "repay all" option to close the debt completely, including any interest accrued up to that moment.

There are no fees to repay on P0.

Because interest accrues just before any transaction, the exact repayment amount may be slightly more than what is previewed. Use "repay all" to ensure you close the position fully.

On this page