# PrimeFi

## PrimeFi

- [Introducing](https://docs.primefi.xyz/introduction-primefi.md): Welcome to PrimeFi, the omnichain lending and borrowing DeFi protocol.
- [What's new](https://docs.primefi.xyz/whats-new.md): Recent additions and improvements to the PrimeFi app.
- [PrimeFi Features](https://docs.primefi.xyz/product/primefi-features.md)
- [Key Features of PrimeFi](https://docs.primefi.xyz/product/primefi-features/key-features-of-primefi.md)
- [Omnichain Lending & Borrowing](https://docs.primefi.xyz/product/primefi-features/omnichain-lending-and-borrowing.md)
- [End-to-end workflow](https://docs.primefi.xyz/product/primefi-features/omnichain-lending-and-borrowing/end-to-end-workflow.md): (example)
- [Innovations in Lending and Borrowing](https://docs.primefi.xyz/product/primefi-features/innovations-in-lending-and-borrowing.md)
- [Rewards distribution and NFT Integration](https://docs.primefi.xyz/product/primefi-features/rewards-distribution-and-nft-integration.md)
- [Oracles](https://docs.primefi.xyz/product/primefi-features/oracles.md)
- [Omnichain Gas Deposit Mechanism for Incentives Synchronization](https://docs.primefi.xyz/product/primefi-features/omnichain-gas-deposit-mechanism-for-incentives-synchronization.md)
- [Lend](https://docs.primefi.xyz/product/lend.md)
- [How to Deposit?](https://docs.primefi.xyz/product/lend/how-to-deposit.md)
- [Collateral](https://docs.primefi.xyz/product/lend/collateral.md)
- [pTokens](https://docs.primefi.xyz/product/lend/ptokens.md)
- [Contract Addresses](https://docs.primefi.xyz/product/lend/ptokens/contract-addresses.md)
- [Withdraw](https://docs.primefi.xyz/product/lend/withdraw.md)
- [Borrow](https://docs.primefi.xyz/product/borrow.md)
- [How to Borrow](https://docs.primefi.xyz/product/borrow/how-to-borrow.md): Maximize the potential of your capital
- [Borrowing Eligibility](https://docs.primefi.xyz/product/borrow/borrowing-eligibility.md)
- [Health Factor](https://docs.primefi.xyz/product/borrow/health-factor.md): Safeguarding Your Investments from Liquidation
- [Loan Repayment](https://docs.primefi.xyz/product/borrow/loan-repayment.md)
- [Liquidations](https://docs.primefi.xyz/product/borrow/liquidations.md)
- [Flash Loans](https://docs.primefi.xyz/product/borrow/flash-loans.md): Available on Mainnet
- [Interest Rate Model](https://docs.primefi.xyz/product/borrow/insterest-rate-model.md): Managing liquidity risk through PrimeFi's borrow interest rate model
- [vdTokens](https://docs.primefi.xyz/product/borrow/vdtokens.md)
- [Contract Addresses](https://docs.primefi.xyz/product/borrow/vdtokens/contract-addresses.md)
- [Prime Liquidity Provider (pLP)](https://docs.primefi.xyz/product/prime-liquidity-provider-plp.md): PrimeFi's eligibility and incentive engine — lock pLP to unlock PRFI emissions and earn protocol fees.
- [pLP Overview](https://docs.primefi.xyz/product/prime-liquidity-provider-plp/plp-overview.md)
- [Boost & Locks tab](https://docs.primefi.xyz/product/prime-liquidity-provider-plp/boost.md): Activate PRFI emissions on your deposits and borrows by locking pLP.
- [Locks](https://docs.primefi.xyz/product/prime-liquidity-provider-plp/boost/locks.md): Lock pLP, manage active locks, relock or rely on auto-relock.
- [Rewards & Vesting tab](https://docs.primefi.xyz/product/prime-liquidity-provider-plp/rewards.md): Claim platform fees, vest PRFI, view activity history, and configure auto-compound.
- [Vesting](https://docs.primefi.xyz/product/prime-liquidity-provider-plp/rewards/vesting.md): Vest earned PRFI emissions, or Flik them into pLP without paying the early-exit penalty.
- [Ways of Building the Position](https://docs.primefi.xyz/product/prime-liquidity-provider-plp/ways-of-building-the-position.md)
- [Manual Positions](https://docs.primefi.xyz/product/prime-liquidity-provider-plp/ways-of-building-the-position/manual.md)
- [Flik Positions](https://docs.primefi.xyz/product/prime-liquidity-provider-plp/ways-of-building-the-position/flik.md)
- [Maximum APR by asset](https://docs.primefi.xyz/product/prime-liquidity-provider-plp/maximum-apr-by-asset.md)
- [pLP Pools](https://docs.primefi.xyz/product/prime-liquidity-provider-plp/plp-pools.md)
- [Sustaining Eligibility Status](https://docs.primefi.xyz/product/prime-liquidity-provider-plp/sustaining-eligibility-status.md)
- [Bounty for Disqualification](https://docs.primefi.xyz/product/prime-liquidity-provider-plp/bounty-for-disqualification.md)
- [Liquid Staking Tokens](https://docs.primefi.xyz/product/liquid-staking-tokens.md)
- [PrimeStakedXDC (psXDC)](https://docs.primefi.xyz/product/liquid-staking-tokens/primestakedxdc-psxdc.md)
- [XRP Testnet Markets](https://docs.primefi.xyz/v3-markets/xrp-testnet-markets.md): PrimeFi's XRP money markets are live on testnet — Flare Coston2 and the XRPL EVM testnet. Connect, mint test tokens, and try supplying/borrowing today.
- [Flare Coston2](https://docs.primefi.xyz/v3-markets/xrp-testnet-markets/flare-coston2.md): PrimeFi's XRP money market on the Flare Coston2 testnet (chain 114).
- [XRPL EVM Testnet](https://docs.primefi.xyz/v3-markets/xrp-testnet-markets/xrpl-evm-testnet.md): PrimeFi's XRP money market on the XRPL EVM Sidechain testnet (chain 1449000).
- [Testnet Faucets](https://docs.primefi.xyz/v3-markets/testnet-faucets.md)
- [Flare Coston2 faucet](https://docs.primefi.xyz/v3-markets/testnet-faucets/flare-coston2.md): Get test C2FLR for gas and mint test reserves on the Flare Coston2 market.
- [XRPL EVM Testnet faucet](https://docs.primefi.xyz/v3-markets/testnet-faucets/xrpl-evm-testnet.md): Get test XRP for gas and mint test reserves on the XRPL EVM testnet market.
- [In addition](https://docs.primefi.xyz/v3-markets/testnet-faucets/in-addition.md)
- [Fathom v3 (XDC)](https://docs.primefi.xyz/v3-markets/fathom-v3.md): What the v3 toggle in the PrimeFi app actually is, and where to get support.
- [PRFI](https://docs.primefi.xyz/rewards-and-tokens/prfi.md): Utility token
- [PRFI Token Pools](https://docs.primefi.xyz/rewards-and-tokens/prfi/prfi-token-pools.md)
- [PRFI NFTs](https://docs.primefi.xyz/rewards-and-tokens/prfi-staking-nfts.md)
- [Staking Design](https://docs.primefi.xyz/rewards-and-tokens/prfi-staking-nfts/prime-numbers-staking-design.md)
- [User Overview](https://docs.primefi.xyz/rewards-and-tokens/prfi-staking-nfts/prime-numbers-staking-design/user-overview.md)
- [Technical Overview](https://docs.primefi.xyz/rewards-and-tokens/prfi-staking-nfts/prime-numbers-staking-design/prime-numbers-staking-design.md)
- [Staking Mechanics](https://docs.primefi.xyz/rewards-and-tokens/prfi-staking-nfts/prfi-nfts-staking-mechanics.md)
- [Reward System](https://docs.primefi.xyz/rewards-and-tokens/prfi-staking-nfts/prfi-nft-staking-reward-system.md)
- [How to Buy a PRFI NFT](https://docs.primefi.xyz/rewards-and-tokens/prfi-staking-nfts/how-to-buy-a-prfi-nft.md)
- [How to Buy PRFI](https://docs.primefi.xyz/rewards-and-tokens/prfi-staking-nfts/how-to-buy-usdprnt.md)
- [How to Use the Platform](https://docs.primefi.xyz/rewards-and-tokens/prfi-staking-nfts/how-to-use-the-staking-platform.md)
- [PrimeFi Reward System](https://docs.primefi.xyz/rewards-and-tokens/primefi-reward-system.md)
- [Introduction](https://docs.primefi.xyz/rewards-and-tokens/primefi-reward-system/introduction.md): Overview
- [General User Rewards](https://docs.primefi.xyz/rewards-and-tokens/primefi-reward-system/general-user-rewards.md)
- [Lenders](https://docs.primefi.xyz/rewards-and-tokens/primefi-reward-system/general-user-rewards/lenders.md)
- [Liquidators](https://docs.primefi.xyz/rewards-and-tokens/primefi-reward-system/general-user-rewards/liquidators.md)
- [XDC NFT Holders](https://docs.primefi.xyz/rewards-and-tokens/primefi-reward-system/xdc-nft-holders.md)
- [Advanced User Rewards](https://docs.primefi.xyz/rewards-and-tokens/primefi-reward-system/advanced-user-rewards.md)
- [LP Provider Rewards](https://docs.primefi.xyz/rewards-and-tokens/primefi-reward-system/advanced-user-rewards/lp-provider-rewards.md)
- [PRFI NFT Holders Rewards](https://docs.primefi.xyz/rewards-and-tokens/primefi-reward-system/advanced-user-rewards/prfi-nft-holders-rewards.md)
- [Know Your Algorithm](https://docs.primefi.xyz/deep-dive/know-your-algorithm.md): PrimeFi Lending & Rewards Mechanics
- [Key Components](https://docs.primefi.xyz/deep-dive/know-your-algorithm/key-components.md)
- [Operational Flow](https://docs.primefi.xyz/deep-dive/know-your-algorithm/operational-flow.md)
- [Deposit (Supply) Flow](https://docs.primefi.xyz/deep-dive/know-your-algorithm/operational-flow/deposit-supply-flow.md)
- [Borrowing Flow](https://docs.primefi.xyz/deep-dive/know-your-algorithm/operational-flow/borrowing-flow.md)
- [Repay and Withdraw Flow](https://docs.primefi.xyz/deep-dive/know-your-algorithm/operational-flow/repay-and-withdraw-flow.md)
- [Liquidation Flow (Brief)](https://docs.primefi.xyz/deep-dive/know-your-algorithm/operational-flow/liquidation-flow-brief.md)
- [Cross-Chain and Additional Features](https://docs.primefi.xyz/deep-dive/know-your-algorithm/operational-flow/cross-chain-and-additional-features.md)
- [Risks & Assumptions](https://docs.primefi.xyz/deep-dive/know-your-algorithm/risks-and-assumptions.md)
- [Strategies](https://docs.primefi.xyz/deep-dive/strategies.md)
- [XDC Network](https://docs.primefi.xyz/deep-dive/strategies/xdc-network.md)
- [PrimeFi Strategies on XDC (USDC, XDC, psXDC)](https://docs.primefi.xyz/deep-dive/strategies/xdc-network/primefi-strategies-on-xdc-usdc-xdc-psxdc.md)
- [PrimeFi Basics on XDC](https://docs.primefi.xyz/deep-dive/strategies/xdc-network/primefi-basics-on-xdc.md)
- [Conservative Strategies (No Borrowing)](https://docs.primefi.xyz/deep-dive/strategies/xdc-network/conservative-strategies-no-borrowing.md)
- [Moderate Strategies (Borrowing Without Looping)](https://docs.primefi.xyz/deep-dive/strategies/xdc-network/moderate-strategies-borrowing-without-looping.md)
- [Aggressive Strategies (Leveraged Loops)](https://docs.primefi.xyz/deep-dive/strategies/xdc-network/aggressive-strategies-leveraged-loops.md)
- [Liquidations as a Strategy (Advanced)](https://docs.primefi.xyz/deep-dive/strategies/xdc-network/liquidations-as-a-strategy-advanced.md)
- [Portfolio Bucketing & Final Notes](https://docs.primefi.xyz/deep-dive/strategies/xdc-network/portfolio-bucketing-and-final-notes.md)
- [Smart Contracts Addresses](https://docs.primefi.xyz/reference/smart-contracts-addresses.md)
- [Base Network Deployment Addresses](https://docs.primefi.xyz/reference/smart-contracts-addresses/base-network-deployment-addresses.md)
- [HyperEVM Deployment Addresses](https://docs.primefi.xyz/reference/smart-contracts-addresses/hyperevm-deployment-addresses.md)
- [XDC Network Deployment Addresses](https://docs.primefi.xyz/reference/smart-contracts-addresses/xdc-network-deployment-addresses.md)
- [Fathom v3 (XDC) Deployment Addresses](https://docs.primefi.xyz/reference/smart-contracts-addresses/fathom-xdc-deployment-addresses.md): Fathom Lending (Aave v3) contract addresses on XDC mainnet — used by the v3 toggle in the PrimeFi UI.
- [Contracts](https://docs.primefi.xyz/reference/contracts.md)
- [Lending & Borrowing](https://docs.primefi.xyz/reference/contracts/lending-borrowing.md)
- [Flik Flow](https://docs.primefi.xyz/reference/contracts/lending-borrowing/flikflow.md)
- [Earnings](https://docs.primefi.xyz/reference/contracts/lending-borrowing/earnings.md)
- [Stargate Borrow](https://docs.primefi.xyz/reference/contracts/lending-borrowing/stargate.md)
- [Staking](https://docs.primefi.xyz/reference/contracts/stake.md)
- [Rewards](https://docs.primefi.xyz/reference/contracts/stake/rewards.md)
- [Bounty System](https://docs.primefi.xyz/reference/contracts/stake/bounty.md)
- [Audits](https://docs.primefi.xyz/reference/audits.md)
- [Governance](https://docs.primefi.xyz/reference/governance.md)
- [PrimeFi Youtube Tutorial](https://docs.primefi.xyz/resources/primefi-youtube-tutorial.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information, you can query the documentation dynamically by asking a question.
Perform an HTTP GET request on a page URL with the `ask` query parameter:
```
GET https://docs.primefi.xyz/introduction-primefi.md?ask=<question>
```
The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.
Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
