One segment from first trade to graduation; the SDK sets the exact prices.1% feeGraduates at 12 SOL
Already raised Your buyLeft is the first trade. Right is graduation.
The raise is 35% full. You take the next 10%, leaving it 45% of the way to graduation. The drawing is a sketch of the shape, so the × marks are the shape, not a quoted multiple. Your buy puts in about 1.2 SOL. A flat 1% trading fee sits on the swap and does not change the shape.
One segment. Graduation at 12 SOL. The pool on the other side is small.
This is a small door. One segment, and it ends when 12 SOL has come in. The pool after that is thin. Use it to prove a launch flow, a metadata URI, or that your pad can create a pool. Do not expect a deep market after it graduates.
A recipe is numbers you deploy as your own PoolConfig. It is not another pad's address.
import { NATIVE_MINT } from "@solana/spl-token";
import { Keypair, PublicKey } from "@solana/web3.js";
import {
ActivationType,
BaseFeeMode,
buildCurve,
CollectFeeMode,
DynamicBondingCurveClient,
MigrationFeeOption,
MigrationOption,
TokenDecimal,
TokenType,
TokenAuthorityOption,
} from "@meteora-ag/dynamic-bonding-curve-sdk";
// Small test — deploy a new PoolConfig. Fee claimer is your wallet.
// This does not point launches at another pad's config address.
const curveConfig = buildCurve({
token: {
tokenType: TokenType.SPLToken,
tokenBaseDecimal: TokenDecimal.SIX,
tokenQuoteDecimal: TokenDecimal.NINE,
tokenAuthorityOption: TokenAuthorityOption.PartnerUpdateAuthority,
totalTokenSupply: 1_000_000_000,
leftover: 0,
},
fee: {
baseFeeParams: {
baseFeeMode: BaseFeeMode.FeeSchedulerLinear,
feeSchedulerParam: {
startingFeeBps: 100,
endingFeeBps: 100,
numberOfPeriod: 0,
totalDuration: 0,
},
},
dynamicFeeEnabled: false,
collectFeeMode: CollectFeeMode.QuoteToken,
creatorTradingFeePercentage: 0,
poolCreationFee: 0,
enableFirstSwapWithMinFee: false,
},
migration: {
migrationOption: MigrationOption.MET_DAMM_V2,
migrationFeeOption: MigrationFeeOption.FixedBps100,
migrationFee: { feePercentage: 0, creatorFeePercentage: 0 },
},
liquidityDistribution: {
partnerLiquidityPercentage: 0,
partnerPermanentLockedLiquidityPercentage: 100,
creatorLiquidityPercentage: 0,
creatorPermanentLockedLiquidityPercentage: 0,
},
lockedVesting: {
totalLockedVestingAmount: 0,
numberOfVestingPeriod: 0,
cliffUnlockAmount: 0,
totalVestingDuration: 0,
cliffDurationFromMigrationTime: 0,
},
activationType: ActivationType.Timestamp,
percentageSupplyOnMigration: 35,
migrationQuoteThreshold: 12,
});
const config = Keypair.generate();
const partner = /* your launchpad wallet */ new PublicKey("YOUR_FEE_CLAIMER");
const createConfigTx = await client.partner.createConfig({
config: config.publicKey,
feeClaimer: partner,
leftoverReceiver: partner,
payer: partner,
quoteMint: NATIVE_MINT,
...curveConfig,
});