# How to create a liquidity pool for your fungible token

{% hint style="danger" %}
Disclosure and Disclaimer: The following content is for educational purposes only. It is not financial advice or legal advice.
{% endhint %}

## Prerequisites

To follow this tutorial you must have completed the following:

* Created and verified your account on VORJ. If you have not completed this please follow this tutorial [How to create an account on VORJ](/tutorials/how-to-create-an-account-on-vorj.md).
* Created an organization and a project. If you have not completed this step please follow this tutorial [Create an organization and project space](/tutorials/create-an-organization-and-project-space.md).
* Created, deployed and minted a fungible token. If you have not completed this step please follow this tutorial [Create, deploy & mint a fungible token](/tutorials/create-deploy-and-mint-a-fungible-token.md).
* You will need a wallet that you have control over and you will also need some VET and VTHO.

{% hint style="info" %}
If you don't already have a VeChain compatible wallet create one using [VeWorld](https://www.veworld.net/) or [Sync2](https://lite.sync.vecha.in/#/) which are browser compatible and have mobile support.
{% endhint %}

{% hint style="warning" %}
To continue this tutorial you need to have deployed a fungible token (ERC-20) on mainnet. If you followed the previous tutorials you likely deployed a fungible token on testnet. Repeat the tutorials creating a project and fungible token on mainnet.
{% endhint %}

## Objective of this tutorial

The objective of this tutorial is to provide a simple step-by-step guide on how a user can create a liquidity pool for their fungible token.

## What is a liquidity pool and how does it work?

A liquidity pool is created when a user deposits a pair of fungible tokens into a smart contract. These smart contracts are then used to provide liquidity to platforms that provide services such as, token swaps on decentralized exchanges (DEX) or decentralized finance (DeFi) protocols. In return for providing liquidity, users expect to earn a percentage of transaction fees.

## 1. Login, navigate to your project and fungible token contract

To start we need to login to [VORJ](https://vorj.app). Once you have successfully logged in you can navigate to a mainnet project that you created earlier which contains a fungible token which has been deployed to mainnet. If you do not have a mainnet project or have not created and deployed a fungible token on mainnet follow the previous tutorials, [Create an organization and project space](/tutorials/create-an-organization-and-project-space.md) and [Create, deploy & mint a fungible token](/tutorials/create-deploy-and-mint-a-fungible-token.md) making sure to create your project using the mainnet network.

You should be see a screen similar to the one below. This particular fungible token contract has been deployed to mainnet and has a total supply of 1,000,000 tokens with zero tokens minted.

<figure><img src="/files/ToYusabZy3Rd1xHkuXqR" alt=""><figcaption><p>A mainnet deployed fungible token.</p></figcaption></figure>

## 2. Mint tokens into your wallet

In order to create a liquidity pool for our newly created fungible token we first need to own and control some of the tokens. To do this we will need to mint some tokens into a wallet address that we own and control.

### a. Get your wallet public address

I will be using the VeWorld desktop wallet for the rest of this tutorial. The Sync2 wallet has a similar interface and capability so if you are using that wallet you should be able to follow along.

In the image below you will see an image showing a VeWorld wallet. To get the public address of your wallet use the copy icon, <img src="/files/1pZJcflFCOPd94xH5cxZ" alt="" data-size="line">. This will copy the public address of your wallet into your clipboard.

<figure><img src="/files/oxTCqL5BJpMuqRjvmL07" alt="" width="365"><figcaption><p>Example of a VeWorld wallet.</p></figcaption></figure>

### b. Mint tokens into your wallet

Now with your wallet public address in your clipboard navigate back back to VORJ and your mainnet fungible token actions page. What you see on screen should be similar to the image below.

I am going to mint half of the max supply of this particular fungible token contract, 500,000 tokens, into a wallet that I control. Paste the previously copied public address of your wallet into the address input field and type an amount into the amount field. Verify the information in the fields and when you are satisfied press the Mint button.

<figure><img src="/files/villqf6saKMLZZhoqatn" alt=""><figcaption><p>Mint tokens into a wallet you own and control.</p></figcaption></figure>

### c. Add the fungible token contract to your wallet

This step is required if your token is not present on the official token registry. If your token is on the official token registry then skip this step to Step 3. To add your token to the official token registry, follow this guide [How to list your fungible token on the official token registry](/tutorials/fungible-token-utility/how-to-list-your-fungible-token-on-the-official-token-registry.md).

We need to manually add our fungible token contract to our VeWorld wallet. In order to do this please follow this guide [How to manually add your token in the VeWorld wallet](/tutorials/fungible-token-utility/how-to-manually-add-your-token-in-the-veworld-wallet.md).

## 3. Create a liquidity pool

At this stage you should have a VeWorld wallet with some amount of your fungible token and some amount of VET and VTHO.

There are two decentralized finance (DeFi) protocols that you can add liquidity to [VeRocket](https://app.verocket.com/) and [Vexchange](https://vexchange.io/swap). Given that both have similar interfaces I will provide a tutorial just one, [VeRocket](https://app.verocket.com/).

Further custom steps will be added for now you can follow the VeRocket guide on how to create a liquidity pool <https://help-center.verocket.com/guides/provide-liquidity>.

## Done, Congratulations

You have successfully created a liquidity pool for your fungible token on the VechainThor blockchain.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.vorj.app/tutorials/fungible-token-utility/how-to-create-a-liquidity-pool-for-your-fungible-token.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.
