# Providing Liquidity

## How do you Deposit Liquidity into an existing Pool?

1. Navigate to <https://potionprotocol.io/pool> in your browser.&#x20;
2. Click the **Connect** button at the center (or top right) of the screen.

   <figure><img src="https://792105208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiCU9gOsYk1m0FYjtRJDI%2Fuploads%2FSWqskapc1wgCg5YYIiFh%2Fimage.png?alt=media&#x26;token=64a036d0-8ab3-4fcc-9986-b714b9462287" alt=""><figcaption><p>Note: Currently only browser-native wallets like Metamask are supported</p></figcaption></figure>
3. Scroll down view to the list of available Liquidity Pools.&#x20;

   Each pool displays the amount you have deposited.&#x20;

   <figure><img src="https://792105208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiCU9gOsYk1m0FYjtRJDI%2Fuploads%2FdzZ8X5sxfQUkkwetvurS%2Fimage.png?alt=media&#x26;token=4dc875f8-88ca-421f-88a8-f38b745df54e" alt=""><figcaption></figcaption></figure>
4. To deposit NFTs and tokens into the pool, click the `Deposit NFT_NAME` button.&#x20;

   <figure><img src="https://792105208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiCU9gOsYk1m0FYjtRJDI%2Fuploads%2Fkhv00B5VqMMv5ORov5Cc%2Fimage.png?alt=media&#x26;token=41bcc043-22fc-4ab1-8e5a-2bb3dcba4167" alt=""><figcaption></figcaption></figure>
5. An overlay will appear. Select each NFT to you wish to deposit to the pool. The corresponding value of tokens to be deposited will be updated as well.&#x20;

   <figure><img src="https://792105208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiCU9gOsYk1m0FYjtRJDI%2Fuploads%2F5mqxMFrHwR3FGjLZ9oaO%2Fimage.png?alt=media&#x26;token=85874c6e-f4c3-4098-9571-a7d43c01a251" alt=""><figcaption><p>V1 Potion Pools require a 50-50 value of NFT to Token to be deposited.</p></figcaption></figure>
6. Confirm the quantities to deposit and click `Deposit QUANTITY`

   <figure><img src="https://792105208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiCU9gOsYk1m0FYjtRJDI%2Fuploads%2F7oGbQKgLHgMPLQpFs8SV%2Fimage.png?alt=media&#x26;token=fed3103f-4a35-45ed-9063-65aa93ed2b27" alt=""><figcaption></figcaption></figure>
7. Confirm the transaction in your wallet to approve the deposit. **Note that the first time depositing to a pool, you will need to submit two transactions: 1st to approve transfers and 2nd to do the transfer. Both transactions will pop up in a sequence.**

   <figure><img src="https://792105208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiCU9gOsYk1m0FYjtRJDI%2Fuploads%2FGgNd7elZc8FQVjxVjfby%2Fimage.png?alt=media&#x26;token=9ac4a61a-70c5-4146-92ca-d73b6a8ca241" alt=""><figcaption></figcaption></figure>
8. The transaction will begin processing. To view the transaction on the block explorer, click the `Tx ID` at the bottom of the popup.

   <figure><img src="https://792105208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiCU9gOsYk1m0FYjtRJDI%2Fuploads%2FRS597EcrxMJQDZxEGgpA%2Fimage.png?alt=media&#x26;token=a501b147-b44f-40ec-acd8-24c0d5e1fba2" alt=""><figcaption></figcaption></figure>
9. If the transaction was successful, you will see a happy little wizard.

   <figure><img src="https://792105208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiCU9gOsYk1m0FYjtRJDI%2Fuploads%2FrBcvH2dVkh6hea3Qrfvz%2Fimage.png?alt=media&#x26;token=3527ce83-da24-4818-a394-386dc43c3f33" alt=""><figcaption></figcaption></figure>
10. If an error occurrs, you will see a JSON-formatted error string. Please come join our discord to report the issue: <https://discord.gg/potionprotocol>. We will ask you for a copy of this string to investigate your issue.&#x20;

    <figure><img src="https://792105208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiCU9gOsYk1m0FYjtRJDI%2Fuploads%2F7VgOnbCLqlCt8uwMWo8y%2Fimage.png?alt=media&#x26;token=4fd1aaed-18a2-4e22-be31-28df91f1ff5b" alt=""><figcaption><p>Refreshing the page usually fixes the problem.</p></figcaption></figure>

## How do you Withdraw Liquidity from Pools?

1. Navigate to <https://potionprotocol.io/pool> in your browser.&#x20;
2. Click the **Connect** button at the center (or top right) of the screen.

   <figure><img src="https://792105208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiCU9gOsYk1m0FYjtRJDI%2Fuploads%2FSWqskapc1wgCg5YYIiFh%2Fimage.png?alt=media&#x26;token=64a036d0-8ab3-4fcc-9986-b714b9462287" alt=""><figcaption><p>Note: Currently only browser-native wallets like Metamask are supported</p></figcaption></figure>
3. Scroll down view to the list of available Liquidity Pools.&#x20;

   Each pool displays the amount you have deposited.&#x20;

   <figure><img src="https://792105208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiCU9gOsYk1m0FYjtRJDI%2Fuploads%2FdzZ8X5sxfQUkkwetvurS%2Fimage.png?alt=media&#x26;token=4dc875f8-88ca-421f-88a8-f38b745df54e" alt=""><figcaption><p>For information about how pricing on pools is calculated, see <a href="nft-pricing">NFT Pricing</a>.</p></figcaption></figure>
4. To withdraw NFTs and tokens from the pool, click the `Withdraw NFT_NAME` button.&#x20;

   <figure><img src="https://792105208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiCU9gOsYk1m0FYjtRJDI%2Fuploads%2FL4lAmDXdiMmdiKB2wQBL%2Fimage.png?alt=media&#x26;token=f09c35d1-3d38-4dc5-a5f4-a7b64cb857a9" alt=""><figcaption></figcaption></figure>
5. An overlay will appear. Drag the slider to set the percentage of assets you wish to withdraw from the pool.

   <figure><img src="https://792105208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiCU9gOsYk1m0FYjtRJDI%2Fuploads%2FIpRlaaSEg38HoNKRXNI6%2Fimage.png?alt=media&#x26;token=f5f09b17-a4e4-4f90-98f9-0b2409334a89" alt=""><figcaption><p>Withdrawing fractions of NFTs will convert the fractions into the equivalent sale price of that fraction of NFT.</p></figcaption></figure>
6. Verify the amounts to deposit and click `Withdraw PERCENTAGE`

   <figure><img src="https://792105208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiCU9gOsYk1m0FYjtRJDI%2Fuploads%2FfwqZmQY02tebCdo2UcSe%2Fimage.png?alt=media&#x26;token=db1a59a0-c572-4484-926d-c7792733f8fc" alt=""><figcaption></figcaption></figure>
7. Confirm the transaction in your wallet to approve the withdrawal.

   <figure><img src="https://792105208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiCU9gOsYk1m0FYjtRJDI%2Fuploads%2FoSt8Y04LQWqdZQvjmksr%2Fimage.png?alt=media&#x26;token=76620eb0-4184-4ddb-9796-423660e4164b" alt=""><figcaption></figcaption></figure>
8. The transaction will begin processing. To view the transaction on the block explorer, click the `Tx ID` at the bottom of the popup.

   <figure><img src="https://792105208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiCU9gOsYk1m0FYjtRJDI%2Fuploads%2FP0GUImCG4bNfDwysw77E%2Fimage.png?alt=media&#x26;token=0251fdf5-b203-4751-becc-235562424764" alt=""><figcaption></figcaption></figure>
9. If the transaction was successful, you will see a happy little wizard.

   <figure><img src="https://792105208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiCU9gOsYk1m0FYjtRJDI%2Fuploads%2FOmpXZuTISOBLJ7uKXE4N%2Fimage.png?alt=media&#x26;token=afd466c6-0c24-4b82-83e0-6b2e7ce6e48f" alt=""><figcaption></figcaption></figure>
10. If an error occurrs, you will see a JSON-formatted error string. Please come join our discord to report the issue: <https://discord.gg/potionprotocol>. We will ask you for a copy of this string to investigate your issue.&#x20;

    <figure><img src="https://792105208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiCU9gOsYk1m0FYjtRJDI%2Fuploads%2F7VgOnbCLqlCt8uwMWo8y%2Fimage.png?alt=media&#x26;token=4fd1aaed-18a2-4e22-be31-28df91f1ff5b" alt=""><figcaption><p>Refreshing the page usually fixes the problem.</p></figcaption></figure>
