These examples are based on the localDocumentation Index
Fetch the complete documentation index at: https://docs.meteora.ag/llms.txt
Use this file to discover all available pages before exploring further.
dynamic-bonding-curve-sdk examples and tests. They focus on transaction construction patterns. For the full method catalog, see the SDK Reference.
Setup
Build A Curve Config
buildCurveWithCustomSqrtPrices gives explicit control over the curve checkpoints. Other supported helpers are listed in the SDK Reference.
Create A Config
config signer.
Create A Pool
Quote And Swap
Partial Fill Near Completion
Use partial fill when the final buy may cross the migration threshold before consuming the full input amount.Read Progress And Fees
Claim Fees
Migration Flow
| Destination | SDK sequence |
|---|---|
| DAMM v1 | createDammV1MigrationMetadata, optional createLocker, migrateToDammV1, optional lockDammV1LpToken, optional claimDammV1LpToken. |
| DAMM v2 | Optional createLocker, then migrateToDammV2. |
Meteora runs mainnet migration keepers for eligible pools. The SDK migration builders are still useful for manual migration, devnet validation, and custom keeper infrastructure.

