bun install
./config/create_dynamic_amm_pool.json
with the path to your config file, after you have selected the type of config from the list and set your config parameters.
rpcUrl
: Solana RPC URL to get data and send transactions.
keypairFilePath
: Keypair file path to send transactions.
dryRun
: Set to true to send transactions.
computeUnitPriceMicroLamports
: CU price in micro lamports unit. For example: 100000.
createBaseToken
: Configuration to create base token.
baseMint
: Base token address if the createBaseToken field is not set.
quoteSymbol
: Quote token symbol, only SOL or USDC is supported.
quoteMint
: Quote token mint, in case the user wants to create a DLMM launch pool with a token other than SOL or USDC.
dynamicAmm
: Dynamic AMM pool configuration.
createBaseToken
and baseMint
cannot be used together.
dynamicAmm
and dlmm
cannot be used together.
mintBaseTokenAmount
: Base token amount to be minted.baseAmount
: Base token amount.
quoteAmount
: Quote token amount.
tradeFeeNumerator
: Trade fee numerator, with fee denominator is set to 100_000.
activationType
: To activate pool trading based on slot or timestamp.
activationPoint
: To activate pool trading at a point, either slot valut or timestamp value based on activationType.
hasAlphaVault
: Whether alpha vault is enabled or not for this pool.