In this guide, Metsumi will walk 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
  • See 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 accuaral 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
npm install -g pnpm

Setup -> Configure -> Launch DAMM v1 Pool

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
git clone https://github.com/MeteoraAg/metera-invent.git
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
cd meteora-invent
pnpm install
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
pnpm studio start-test-validator
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
cp studio/.env.example studio/.env
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.
Therafter, you will need to run this command to generate a keypair from your wallet private key.
Terminal
  # For devnet (airdrops 5 SOL)
  pnpm studio generate-keypair --network devnet

  # For localnet (airdrops 5 SOL)
  # Ensure that you have already started the local validator with pnpm start-test-validator
  pnpm studio generate-keypair --network localnet
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.

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

Terminal
pnpm studio damm-v1-create-pool --config ./studio/config/damm_v1_config.jsonc
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.