Configure and Launch a DLMM Pool on Meteora using nothing but a configuration file and a few CLI commands
Clone and Setup Meteora Invent
Optional: Start a Local Test Validator
http://localhost:8899
. Setup Environment Variables
.env
file. Configure the following variables:PRIVATE_KEY
- Your private key for the wallet you will be using to deploy the pool.keypair.json
file in the studio
directory which will be used for all actions in this guide. Configure your DLMM Pool
studio/config/dlmm_config.jsonc
file and configure your DLMM pool settings. Set your DLMM configuration
baseMint
token or parsing in an existing baseMint
token.activationPoint
(in slots or timestamp depending on the activationType
).Create your DLMM Pool
dlmm_config.jsonc
, you can now create your pool by running the following command.This example includes creating of baseMint token before creating the DLMM launch pool.
Seed your DLMM Pool
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.curvature
, minPrice
and maxPrice
parameters that you have set in the dlmm_config.jsonc
file.dlmm-seed-liquidity-single-bin
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.price
and seedAmount
parameters that you have set in the dlmm_config.jsonc
file.