pool_config_key
with your preferred fee parameterspool_config_key
mapped to a vault_config_key
that meets your requirementsFiENCCbPi3rFh5pW2AJ59HC53yM32eLaCjMKxRqanKFJ
Note: This config doesn’t allow creation of any Alpha Vault, therefore its vault_config_key
field is 1111111...
pool_creator_authority
to prevent front-running.
Important Notes:
pool_creator_authority
doesn’t work with program address - it needs to be a PDA or normal accountpool_config_key
, reference this example in the Dynamic AMM SDK:
https://github.com/MeteoraAg/damm-v1-sdk/blob/main/ts-client/src/examples/create_pool_and_lock_liquidity.ts
Update the example with your selected pool config and other parameters to create a Memecoin Pool.
allocations
section in the example:
https://github.com/MeteoraAg/damm-v1-sdk/blob/main/ts-client/src/examples/create_pool_and_lock_liquidity.ts#L121
Find your Stake2Earn Vault public key address and allocate the percentage of fees from permanently locked liquidity that you intend to go to the Stake2Earn vault.
whitelistMode
in the config:
activationPoint - 3600
(timestamp) or activationPoint - 9000
(slot)Crank start point - 5 min
(timestamp) or Crank start point - 750
(slot)keypair.json
file.
rpcUrl
: Solana RPC URL to get data and send transactionskeypairFilePath
: Keypair file path to send transactionsdryRun
: Set to true to send transactionscomputeUnitPriceMicroLamports
: CU price in micro lamports unit (e.g., 100000)createBaseToken
: Configuration to create base tokenbaseMint
: Base token address if the createBaseToken field is not setquoteSymbol
: Quote token symbol, only SOL or USDC is supportedquoteMint
: Quote token mint for tokens other than SOL or USDCdynamicAmm
: Dynamic AMM pool configurationalphaVault
: FCFS or Pro-rata Alpha Vault configurationcreateBaseToken
and baseMint
cannot be used togetherdynamicAmm
and dlmm
cannot be used togethermintBaseTokenAmount
: Base token amount to be mintedbaseAmount
: Base token amountquoteAmount
: Quote token amounttradeFeeNumerator
: Trade fee numerator (fee denominator is 100,000)activationType
: Activate pool trading based on slot or timestampactivationPoint
: Pool activation point (slot or timestamp value)hasAlphaVault
: Whether alpha vault is enabled for this poolpoolType
: Dynamic or DLMM pool typealphaVaultType
: Alpha Vault type (fcfs or prorata)depositingPoint
: Slot or timestamp that allows depositstartVestingPoint
: Slot or timestamp that starts vestingendVestingPoint
: Slot or timestamp that ends vestingmaxDepositCap
: Maximum deposit capindividualDepositingCap
: Individual deposit capescrowFee
: Fee to create stake escrow account (charged in native SOL)whitelistMode
: permissionless, permission_with_merkle_proof, or permission_with_authoritydepositingPoint
: Slot or timestamp that allows depositstartVestingPoint
: Slot or timestamp that starts vestingendVestingPoint
: Slot or timestamp that ends vestingmaxBuyingCap
: Maximum buying capescrowFee
: Fee to create stake escrow accountwhitelistMode
: permissionless, permission_with_merkle_proof, or permission_with_authoritytopListLength
: Length of the top listunstakeLockDurationSecs
: Duration to wait before withdraw (from unstake action timestamp)secondsToFullUnlock
: Time required for locked claim fee to be fully drippedstartFeeDistributeTimestamp
: When fee distribution starts (should be 48h after pool activation)