Skip to main content

Providing & Withdrawing Liquidity

To provide liquidity in YieldBasis, all you need is a wallet with YieldBasis-supported tokenized BTC and some ETH to pay for transaction fees.

You can provide or withdraw liquidity at any time — there is no lock-up period or whatsoever.

Due to the design of the YieldBasis system, users can only deposit BTC (no stablecoins). When depositing, the protocol supplies and manages the stablecoin portion (crvUSD) of the deposit.

Markets

The YieldBasis protocol supports various types of tokenized BTC. The Markets page provides an overview of the supported assets and key pool stats such as Trading APY, Token APY, volume, and TVL.

To start providing or withdrawing liquidity, first choose one of the available markets.

todo: screenshot

How to Provide Liquidity

  1. Visit the [Markets] page in the app and select the pool to provide liquidity to.
  2. Choose either the Trading Yield or Token Yield tab. YieldBasis offers two distinct yield streams (see Earning with ybBTC for details).
  3. Enter the amount of BTC to deposit. The UI will display an estimated number of LP tokens you will receive.
  4. If it’s your first time depositing to this pool, you must first sign an approval transaction. After that, sign the transaction to deposit the tokenized BTC into the pool.
  5. Once confirmed, the LP tokens will be sent to your wallet.

todo: screenshot


How to Withdraw Liquidity

LP tokens represent your share of the liquidity pool. To withdraw your liquidity:

  1. Visit the [Markets] page in the app and select the pool to withdraw from.
  2. Choose either Trading Yield or Token Yield, then switch to the Withdraw tab.
  3. Enter the amount of LP tokens to withdraw. The UI will display an estimated amount of BTC you will receive.
  4. If it’s your first time withdrawing from this pool, you must first sign an approval transaction. After that, sign the transaction to burn the LP tokens and withdraw the tokenized BTC.
  5. Once confirmed, the BTC will be sent to your wallet.

todo: screenshot