studio/config/dlmm_pro_config.jsonc.
DLMM Pro is a separate program from DLMM. It prices on ticks instead of bins, holds up to 45 price ranges in one position NFT, and keeps limit orders in the same pool as LP liquidity. If those terms are new to you, read What is DLMM Pro? first.
What You Will Build
- A DLMM Pro pool for your token, created from a published static config or as a launch pool with your own fee and activation settings
- A position that seeds the pool, shaped with a Spot, Curve, Bid-Ask or Wave strategy
- Optionally, a permanent or vesting lock on that liquidity, and limit orders around the price
Prerequisites
- Node.js >= 22.12.0
- pnpm >= 10.0.0
- A wallet with SOL on the network you use. A pool of two SPL Token mints costs about 0.011 SOL in rent. A position costs about 0.013 SOL with one range and about 0.04 SOL with ten, and nearly all of that is refunded when the position is closed.
Terminal
DLMM Pro actions run on devnet and mainnet, where the program has the same address. The local test validator started by
pnpm studio start-test-validator does not load the DLMM Pro program.How the Actions Behave
Everydlmm-pro-* command follows the same rules:
- Token X is the base token and token Y is the quote token.
dlmm-pro-create-poolcreates the pool that way, and every price in the config file is in token Y per 1 token X, in whole tokens. - Positions and limit orders are NFTs. A command prints the NFT mint of what it creates, and the
--positionand--limitOrderflags take that mint, not the account address. - Every transaction is simulated before it is sent. With
"dryRun": truethe command stops after the simulation. With"dryRun": falseit sends the transaction only when the simulation passed. A failed simulation prints the program logs and the name of the DLMM Pro error, and nothing is sent. - Steps that belong together go out as one transaction when they fit in one, so they succeed or fail together and a dry run covers all of them. This applies to opening a position and depositing into it, to withdrawing, claiming and closing, and to cancelling and closing a limit order. A position spread over many tick arrays does not fit in one transaction. Its steps are then sent one after another, and a dry run tells you which later steps it could not simulate.
Steps
1
Clone and Set Up 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.Then install the project dependencies.
Terminal
Terminal
2
Set Up Your Wallet
Copy the example environment file and set Then generate the keypair file the actions sign with.This writes
PRIVATE_KEY to the private key of the wallet that will create the pool.Terminal
Terminal
keypair.json to the studio directory. If the devnet airdrop is refused, request SOL for your wallet address at faucet.solana.com.3
Choose a Pool Type
A DLMM Pro pool is created in one of three ways. The
poolType field of the config file selects which one.Use a static config when one of the published configs has the tick spacing and fees you want. Use a launch pool when you need settings no config offers, such as a fee that starts high and falls, or activation rules that open trading at a set time. A dynamic config gives a launchpad the same control and a share of the protocol fee, and requires a config created for your wallet by Meteora.Nothing about a pool can be changed after it is created. Pool Creation and Activation explains each pool type in full.
4
Configure the Pool
Open
The settings that decide what pool you get:
studio/config/dlmm_pro_config.jsonc. The file holds the shared settings, the pool settings in dlmmProConfig, and one block for each of the other actions.Set your DLMM Pro configuration
Set your DLMM Pro configuration
The comments in the file explain each setting. Read them while you configure your pool.
dlmm_pro_config.jsonc
Initial Price
A pool’s range edges and limit orders can only sit on usable ticks, which are the multiples of its tick spacing. The pool starts on the usable tick at or belowinitialPrice, so the starting price is at most one tick spacing below the price you set. One tick is a 0.01% price step, so with tick spacing 32 the difference is under 0.32%. The command prints the price the pool starts at.Starting on a usable tick is what lets you seed the pool with the base token alone in a later step.Static Config Index
Each published static config fixes a tick spacing, a base fee schedule, the fee token, the dynamic fee and the extensions. There are 1,848 of them, at the same addresses on devnet and mainnet, and the index is built from four choices:Pool Fee Configs lists every tier, schedule and variant with the address of each config.
dlmm-pro-create-pool reads the config from the chain and prints its settings, so a dry run confirms what an index gives you.Pool Parameters
A launch pool or a dynamic config pool takes its settings frompoolParameters:Fees explains the base fee modes and the dynamic fee.
5
Create the Pool
Run the command with If you don’t have a base mint, configure A dry run from a static config prints what the pool will be and the result of the simulation:When the output is what you want, set The command prints the pool’s two mints, its price, current tick and tick spacing, followed by your positions. A new pool has none, and it has no liquidity, so it cannot be swapped on until the next step.
"dryRun": true first.If you already have a base mint, pass it with the --baseMint flag.Terminal
createBaseToken in the config file and run the command without the flag. Minting a token sends transactions, so this path needs "dryRun": false.Terminal
Output
"dryRun": false and run the command again. Save the pool address. Every other command takes it as --poolAddress.To check the pool, read it back:Terminal
6
Seed the Pool With Liquidity
dlmm-pro-open-position opens a new position, spreads liquidity over a price range in the shape of a strategy, and deposits into it. Configure the openPosition block:Which tokens a range takes depends on where it sits. A range above the current price takes only token X, a range below it takes only token Y, and a range around it takes both.
Terminal
Output
dlmm-pro-get-positions again to see the position with the price bounds and token amounts of each range.Each run opens a new position. Depositing into a position that already exists is done with the TypeScript SDK.
7
Lock the Liquidity (Optional)
dlmm-pro-lock-position locks a share of a position’s unlocked liquidity. Locked liquidity stays in the pool and keeps earning fees and rewards. Configure the lockPosition block:bpsis the share of the unlocked liquidity to lock, where10000is all of it.vestingset tonulllocks permanently.vestingset to a schedule releases the liquidity over time. The cliff share unlocks atcliffPoint, thenbpsPerPeriodunlocks everyperiodFrequencyfornumberOfPeriodperiods.cliffUnlockBps + bpsPerPeriod × numberOfPeriodmust equal10000, and a position can have one schedule.
Terminal
--position flag is only needed when your wallet has more than one position on the pool. Without it, a command that finds several positions stops and lists their NFT mints. Positions explains both kinds of lock.8
Place Limit Orders (Optional)
Every DLMM Pro pool accepts limit orders. An order rests on up to 25 ticks, fills at the exact price of each tick as swaps cross it, and earns a share of the trading fee. An ask sells token X above the current price. A bid buys token X with token Y at or below it.Configure the The command prints the tick and price each entry resolved to, and the limit order NFT mint. Save the mint if you want to cancel that order on its own.To see your orders and how far each tick has filled, run the following command.To cancel an order, run the following command.Cancelling withdraws the unfilled deposit, the proceeds of what was filled and the order’s fee share, then closes the order and refunds its rent. A filled order pays out nothing until it is cancelled.Limit Orders explains how orders fill and what they earn.
placeLimitOrder block with a side and one { price, amount } entry for each tick. The amount is in token X for an ask and in token Y for a bid. An ask price rounds up to the next usable tick and a bid price rounds down, so an order never rests at a worse price than the one you set.Terminal
Terminal
Output
Terminal
9
Swap, Claim Fees and Withdraw
To swap, configure the The command quotes first and prints the amount out, the minimum it will accept and the price before and after. It stops without sending when the pool cannot take the whole input.To claim the swap fees of your positions, and the rewards on a pool with liquidity mining, run the following command.It claims for every position your wallet has on the pool. Pass
dlmmProSwap block with the input amount, the slippage and the direction, then run the following command.Terminal
Terminal
--position to claim for one. Fees earned by limit orders are not claimed here. They are paid when the order is cancelled.To withdraw, configure the removeLiquidity block and run the following command.Terminal
bps is the share of the unlocked liquidity to withdraw from every range. With bps at 10000 and closePosition set to true, the command also claims the position’s fees and rewards, closes the position and refunds its rent. That is the full exit, and it also closes a position that is already empty.Timed and Price-Gated Launches
A launch pool or a dynamic config pool can carry activation rules, set inpoolParameters.activation. They decide when swaps, deposits and withdrawals open to everyone, and they name a wallet for each action that can act before then. Leave activation as null for a pool that is open as soon as it is created.
This example opens trading at a set time. Until then only your wallet can deposit, so you can seed the pool first. The fee starts at 50% when trading opens and falls to 1% over 30 minutes.
dlmm_pro_config.jsonc
swapPoint.
Setting bondingCurveTargetBps as well keeps public deposits and withdrawals closed after trading opens, until the price has risen to the target. Setting it without timeBased opens swaps at once and gates only deposits and withdrawals. Activation Rules covers every combination.
Troubleshooting
Related
What is DLMM Pro?
Ticks, multi-range positions, limit orders, fees and launch controls.
Pool Fee Configs
Every published static config, how the index is built and each address.
DLMM Pro TypeScript SDK
Build what the commands do not cover: deposits into existing positions, delegates and reward campaigns.
All Invent Actions
The full list of Meteora Invent commands for every program.

