Skip to main content

What is a DBC Config Key?

A DBC Config Key is a unique configuration key that will dictate your curve structure and graduated pool fees structure. Here is an example of a DBC Config Key

Quote Mint

The quote mint that all baseMint tokens launched with this config will be paired to (e.g., SOL, USDC, MET)

Pool Fees

  • Base Fees - Constant fee or Fee Scheduler with decay mechanism
  • Dynamic Fees - Variable fees based on market volatility (max 20% of base fee)

Fee Collection Mode

Determines fee collection: Only Quote tokens or Output token of each swap

Activation Type

Slot-based (400ms) or Timestamp-based (100ms) calculation for vesting and fee scheduler

Locked Vesting

Vesting schedule for baseMint tokens to pool creator after migration

Token Supply

  • Pre-migration - Fixed token supply before migration
  • Post-migration - Fixed token supply after migration
  • Dynamic - Optional null value for dynamic supply

Migration Configuration

  • DAMM Pool Option - DAMM V1 (0) or DAMM V2 (1)
  • Fee Config - Base fees for migrated pools (0.25%, 0.3%, 1%, 2%, 4% and 6%)
  • Migration Quote Threshold - Minimum quote amount for migration
  • Migration Fee - Collect a percentage of fees from the pool’s quote reserve
  • Migrated Pool Base Fee Mode - Fee mode for the graduated DAMM v2 pool: FeeTimeSchedulerLinear (0), FeeTimeSchedulerExponential (1), RateLimiter (2), FeeMarketCapSchedulerLinear (3), or FeeMarketCapSchedulerExponential (4)
  • Market Cap Fee Scheduler Params - Configure fee reduction based on price movement for DAMM v2 pools (number of periods, sqrt price step, expiration duration)
  • First Swap with Min Fee - Allow the first swap to use minimum fee for creator bundled buys
  • Compounding Fee Mode - For DAMM v2 graduated pools, set collectFeeMode: 2 (Compounding) to reinvest trading fees back into the LP position. Requires compoundingFeeBps to be set to a non-zero value.
  • compoundingFeeBps - The fee rate (in basis points) applied when compounding fees back into the LP position. Must be non-zero when Compounding mode is active, and must be 0 for all other modes.

Migrated Pool Fee Configuration (DAMM v2 only)

When your pool migrates to DAMM v2 and you use the Customizable fee option, you can set the migratedPoolFee struct with these options:

  • QuoteToken (0) - Fees collected in the quote token only (maps to DAMM v2 OnlyB mode)
  • OutputToken (1) - Fees collected in both tokens (maps to DAMM v2 BothToken mode)
  • Compounding (2) - Fees are automatically reinvested back into the liquidity position, growing LP value over time instead of accumulating as separate claimable fees

Liquidity Percentages

  • Creator Liquidity - Claimable LP percentage for pool creator (creatorLiquidityPercentage)
  • Partner Liquidity - Claimable LP percentage for config creator (partnerLiquidityPercentage)
  • Creator Permanently Locked Liquidity - Forever locked LP for creator fees (creatorPermanentLockedLiquidityPercentage)
  • Partner Permanently Locked Liquidity - Forever locked LP for partner fees (partnerPermanentLockedLiquidityPercentage)
  • LP Vesting (DAMM v2 only) - Optional vesting schedule for partner/creator LP (partnerLiquidityVestingInfoParams, creatorLiquidityVestingInfoParams)

Note: Minimum 10% liquidity must remain locked at day 1 post-migration. This can be achieved via permanent locked liquidity and/or vesting liquidity.

Creator Trading Fee

Percentage of trading fees shared with pool creators (default: 0% to partner only)

Base Mint Token

  • Token Type - SPL or Token2022
  • Token Decimal - 6 or 9 decimal places

Price & Curve

  • SqrtStartPrice - Starting price in square root format
  • Curve - Up to 16 curve segments with sqrtPrice and liquidity

Pool Creation Fee

Partners can configure a pool creation fee in SOL lamports (poolCreationFee) that token creators must pay when creating pools with this config.

  • Fee Collection - Fee is collected from creators during initializeVirtualPoolWithSplToken or initializeVirtualPoolWithToken2022
  • Partner Claim - Partners can claim fees via claimPartnerPoolCreationFee
  • Protocol Share - Meteora receives 10% of collected pool creation fees

Additional Parameters

  • Config - Vanity address for the config key
  • Leftover Receiver - Claims leftover baseMint tokens after curve completion
  • Fee Claimer - Claims bonding curve fees
  • Payer - Pays for config key creation

How to create a DBC Config Key?

You can create a DBC Config Key by using the DBC Typescript SDK or via launch.meteora.ag