Create Liquidity Pool in Solana in 1 minute
To make sense of a token on Solana, you must infuse liquidity into it. , i.e. pair it with an existing token that has a more stable value, typically $SOL or $USDC, this is known as creating a liquidity pool on Solana. .
When launching a token (creating it and adding liquidity to it), the Liquidity Pool must be available on a decentralized exchange (DEX), with Raydium being the most convenient and chosen option in the Solana ecosystem.
If you prefer the video version this is for you:
Here we explain how to create a Solana token.
Creating Liquidity Pool in Solana step by step
All action within the Solana blockchain is done following the parameters of Solana Program library (SPL) and Raydium offers the creation of Liquidity Pool in 2 steps, first the creation of an Open Book Market and then the Liquidity Pool itself (adding liquidity), but I'd like to show you how to do it in just one step using the Smithii Tool dApp .
As we told you, with Smithii s dApp "Create Liquidity Pool" you will be able to do it in 1 step. Go to the Create Solana Liquidity Poolsolana and you will find the following view:
This tool allows us to create our liquidity fund at Raydium with a friendly user interface and from only 1 SOL (up to 3.5 SOL depending on the configuration used).
You can choose to create the liquidity pool under Raydium v4 or v5 protocol (the latter known as CPMM). If you want to know the differences, we will tell you about them in our comparative article, although now we will continue with v4.
- Go to Create Solana Liquidity Pool (solana and connect your wallet to use the tool.
- Select the "Base Token" (the token you created and has no market value yet).
- Select the "Quote Token " (a token with market value, usually SOL or USDC).
- Set advanced options: Event Queue Length, Request Queue Lenght, OpenBook Market and Orderbook Lenght (only if you want to use a cheap Market ID , from 0.4 SOL).
- Set the number of tokens and SOL/USDC you want to add.
- Set launch date (optional).
- Snipe your Own token (optional, see full section below).
- Click on "Create Liquidity Pool" and accept the 3 transactions.
It will take a while to complete and you will then see the market ID and the address of the liquidity pool. . Save them, as you may need the addresses for future use.
Sniper your Token is an outstanding feature of the Liquidity Pool creation tool of Smithii, you will have a better chance to prevent your token from being exploited by sniper bots of third parties.
*In "advanced options" we can modify the size of our OpenBook Market, I leave you the inputs that you should use for 3 different sizes that I can recommend you:
0.4 SOL:
- Event Queue Length: 128
- Request Queue Length: 63
- Orderbook Length: 201
1.5 SOL:
- Event Queue Length: 1400
- Request Queue Length: 63
- Orderbook Length: 450
2.8 SOL:
- Event Queue Length: 2978
- Request Queue Length: 63
- Orderbook Length: 909
How to make Bundle Snipe from your token
If you want to avoid the action of the bots sniper you should execute a bundle transaction from your liquidity pool. The bots are responsible for draining the liquidity of your token, so the smartest thing to do would be to avoid their action.
There is a quick way to do it with the same wallet and a more sophisticated way using up to 4 wallets at the same time. These features are optional and their options are displayed once we press the "Snipe your token" option.
Make Bundle Transaction with a single wallet
To make Bundle Snipe with the same wallet with which we created the liquidity pool, we simply select the option and then fill in the amount of SOL we want to buy in that same transaction.
The amount that we put will be the amount that we buy in the same block of the liquidity pool creation, leaving without opportunity to bots.
Make Bundle Transaction with multiple wallets
Another more advanced way is to use more than one wallet to do it, which will make it look more organic and you will also be able to avoid part of the slippage.
What you must do here is to insert the private key of each wallet with which you will auto snipe (Smithii does not store any key) and define the buy amount for each one.
How to create a Liquidity Pool in Solana from an Openbook Market in 2 steps
The Openbook Market will allow you to set additional parameters for the Liquidity Pool you are creating. The higher the standard, the higher the volume of transactions you can handle, but the more expensive the Liquidity Pool is. In case you want to create an LP with an Openbook Market, we show you how to do it below.
1. Create the Openbook Market
Once you have your token ready, we start our process directly from the Smithii Tools in the "Create OpenBook Market" section (toolssmithii.solana) and connect our wallet.
Basically, creating a market means that we will create the pair of tokens with which we can later create the liquidity pool.
To create an "optimal"OpenBook Market we will have a cost of 2.8 SOL, but we can also modify the size of this Market ID to make it cheaper, starting at 0.4 SOL.
In summary, the main problem that can generate a cheap Marker ID would be that our token has many transactions and that a percentage of them give error because they are not processable by our marketplace.
Although under experiences shared with Smithii, to create memecoins that do not reach more than 500k MarketCap there is no problem.
Take it into account and decide what you prefer, but to create a serious project I recommend you not to skimp on expenses.
To start we must select the tokens that will form the pair. In "Base Token" we will select the token that we have created and has no value in the market yet.
We continue selecting the "Quote Token", that is, the token with value, I recommend you to use SOL or USDC.
Once this is done, we must indicate the minimum purchase and sale amount for the users of our liquidity pool. The most common is to set 100.
We continue with the minimum price modification, that is, the minimum price that will vary the price of our token. The most advisable according to Raydium is to set 0.000001 if we have previously set 100.
These numbers are for reference, taking as the average a token with 100M supply. You can follow any of the data in the following table for your OpenBook Market.
Before finishing we can activate "advanced options" to modify the size of our OpenBook Market, I leave you the inputs that you should use for 3 different sizes that I can recommend, always taking into account the potential errors that can generate.
0.4 SOL:
- Event Queue Length: 128
- Request Queue Length: 63
- Orderbook Length: 201
1.5 SOL:
- Event Queue Length: 1400
- Request Queue Length: 63
- Orderbook Length: 450
2.8 SOL:
- Event Queue Length: 2978
- Request Queue Length: 63
- Orderbook Length: 909
To finish, we will click on "Create Market" and confirm the transaction, which will be between 2.5 and 5 SOL. Once this is done, we will obtain the "OpenBook Market ID" that we will copy to go to the next step.
2. Once we have the Openbook Market , we create the Liquidity Pool.
Once the market is created in Raydium, we can proceed directly with creating the liquidity pool. It is important to note that you can only create the liquidity pool if your token is "Freeze", that is, it has limited the creation of more tokens, so its maximum supply is definitive.
To do so you can go to this dApp to revoke freeze Solana token, select your token and complete the process. The cost is only 0.1 SOL.
With this in mind it is time to create the liquidity pool, you can do this with Smithii s Create Liquidity Pool tool by selecting the option "I already have an OpenBook Market" but we will still explore how to Create Liquidity Pool in Raydium.
If you want to list your token on Jupiter Exchange here is how to add a token to Jupiter.
Don't launch your liquidity pool without knowing this!
Get the 5 secrets behind the big players to launch a liquidity pool
I like building cool stuff. CEO & Co-Founder Smithii.