Skip to main content
This guide walks you through the steps to create a DLMM launch pool on Meteora. Whether you’re a seasoned developer or just starting out, this guide has got you covered to deploy liquidity and launch your project on Meteora.

What You’ll Achieve

By the end of this quicklaunch, you’ll have built a liquidity pool on Meteora by:
  • Configuring your liquidity pool settings
  • Interacting with our DLMM program
  • Seeing your liquidity pool in action on Meteora
Why Meteora?Meteora is a hyper optimized liquidity layer that ensures that your project’s provided liquidity is secure, sustainable and composable for anyone to trade on. By following this guide, you’ll be able to launch a concentrated liquidity pool with dynamic fees on Meteora in just a few quick and easy steps.

Prerequisites

  • Node.js >= 18.0.0
  • pnpm >= 10.0.0
If you don’t have pnpm installed, you can install it by running the following command.
Terminal

Steps

1

Clone and Setup Meteora Invent

Meteora Invent is a toolkit consisting of everything you need to invent innovative token launches on Meteora. Run the following command in your terminal to get started.
Terminal
Once you’ve cloned the repository, you’ll have a new project directory with a meteora-invent folder. Run the following to install pnpm and the project dependencies.
Terminal
2

Optional: Start a Local Test Validator

In Meteora Invent we provide an optional command for you to run a local validator to test your pool before deploying it to devnet or mainnet. Run the following command in your code editor terminal to get started.
Terminal
This will start a local validator on your machine which will be hosted on http://localhost:8899.

3

Setup Environment Variables

We provide an easy way to setup environment variables when getting started. Run the following command in your code editor terminal to get started.
Terminal
This will copy the example environment variables file to your .env file. Configure the following variables:
  • PRIVATE_KEY - Your private key for the wallet you will be using to deploy the pool.
Thereafter, you will need to run this command to generate a keypair from your wallet private key.
Terminal
This will generate a keypair.json file in the studio directory which will be used for all actions in this guide.

4

Configure your DLMM Pool

Navigate to the studio/config/dlmm_config.jsonc file and configure your DLMM pool settings.

You can configure everything DLMM pool related in this file.
The comments in the file are to help you understand the different settings you can configure. Please ensure that you read through the comments while configuring your pool.
dlmm_config.jsonc
The toolkit contains logic to make it easier for you to create the DLMM pool such as:
  • Minting a new baseMint token or parsing in an existing baseMint token.
  • Launching the DLMM pool immediately or at a certain activationPoint (in slots or timestamp depending on the activationType).
  • Optional creation of an Alpha Vault with your DLMM launch pool.
5

Create your DLMM Pool

After configuring your DLMM pool settings in dlmm_config.jsonc, you can now create your pool by running the following command.If you don’t have a base mint, you can configure createBaseToken in the config file and run the following command.
If you already have a base mint created, you can provide it via the CLI with a --baseMint flag and run the following command.
This will create your pool and print the pool address and other relevant information to the console.

This example includes creating of baseMint token before creating the DLMM launch pool.

6

Seed your DLMM Pool

After creating your DLMM pool, you can now seed your pool with liquidity.
If you want to seed your pool with liquidity using the LFG model, you can run the following command.
Please take note that the dlmm-seed-liquidity-lfg command will only work when your DLMM launch pool is not activated yet. You can configure the pool activation time using the activationPoint parameter in the dlmm_config.jsonc file.
Terminal
This will seed your DLMM pool with liquidity based on the curvature, minPrice and maxPrice parameters that you have set in the dlmm_config.jsonc file.
If you want to learn how the liquidity curvature works, you can head to https://ilm.jup.ag/ to learn more.
Voilà! You’ve successfully created your DLMM pool on Meteora. You can now see your pool in action on Meteora either on Meteora’s mainnet or devnet app.