> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anvil.markets/llms.txt
> Use this file to discover all available pages before exploring further.

# Liquidity & lending

> ANVIL's own markets, built from Dusk V2.

ANVIL's lending system is a fork of Omnipair's Dusk V2 code with its own program identities and markets. ANVIL pools have their own liquidity; they do not inherit liquidity from Omnipair pools.

<CardGroup cols={2}>
  <Card title="Provide liquidity" href="/lending/provide-liquidity">Supply a pool's assets and receive the corresponding LP position.</Card>
  <Card title="Borrow" href="/lending/borrow-and-repay">Deposit collateral and borrow within the market's limits.</Card>
</CardGroup>

## Permissionless market creation

The intended launch model lets users and projects create markets after the protocol is deployed and initialized. ANVIL does not have to seed every market. The first liquidity provider still supplies real assets: creating an empty market cannot create borrowable liquidity.

## Where your assets go

Liquidity and collateral deposits move into program-controlled vaults. Withdrawals follow the pool's available liquidity, your position, outstanding debt, and token transfer rules. This differs from compounding, where the principal coin stays in your wallet.

## Understand the position

LP returns and borrowing rates vary. Asset prices, utilization, pool accounting, and issuer restrictions can affect results. Borrowing introduces liquidation risk. A listed or permissionlessly created pool is not an endorsement of its tokens.

See [fees](/protocol/fees) and [security](/protocol/security) before depositing.
