Skip to main content
This guide walks you through the steps to create a DAMM v1 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 DAMM v1 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 balanced constant product liquidity pool with auto yield accrual 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 DAMM v1 Pool

Navigate to the studio/config/damm_v1_config.jsonc file and configure your DAMM v1 pool settings.

You can configure everything DAMM v1 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.
damm_v1_config.jsonc
The toolkit contains logic to make it easier for you to create the DAMM v1 pool such as:
  • Minting a new baseMint token or parsing in an existing baseMint token.
  • Launching the DAMM v1 pool immediately or at a certain activationPoint (in slots or timestamp depending on the activationType).
  • Optional creation of an Alpha Vault with your DAMM v1 launch pool.
5

Create your DAMM v1 Pool

After configuring your DAMM v1 pool settings in damm_v1_config.jsonc, you can now create your pool by running the following command. These commands will create your pool and

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 with liquidity deposited from your keypair.json and print the pool address and other relevant information to the console.

Voilà! You’ve successfully created your DAMM v1 pool on Meteora. You can now see your pool in action on Meteora either on Meteora’s mainnet or devnet app.