bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 75쪽 중 74쪽
don't have an existing metadata uri
* This will create an image uri and a new metadata uri and upload everything to Irys
*/
"image": "./data/image/test-token.jpg", // this can be a URL of the image address (e.g. https://example.com/token-image.png) or the image file path (e.g. ./data/image/test-token.jpg)
"description": "YOUR_TOKEN_DESCRIPTION", // token description
"website": "https://example.com", // project website
"twitter": "https://x.com/yourproject", // twitter URL
"telegram": "https://t.me/yourproject" // telegram URL
}
},
/* dlmmConfig is only used in the following actions:
* 1. dlmm-create-pool
*/
"dlmmConfig": {
"binStep": 25, // Price increment/decrement percentage in basis points (400 = 4% price step between bins)
"feeBps": 1, // Trading fee in basis points (200 = 2% fee per swap)
"initialPrice": 1.333, // Initial price(in terms of quote/base price)
"activationType": 1, // 0 - Slot | 1 - Timestamp
"activationPoint": null, // Activation time of the pool depending on activationType (Calculate in slots if activationType is 0 (slots) | Calculate in seconds if activationType is 1 (timestamp))
"priceRounding": "up", // Price calculation rounding direction for bin ID conversion
"creatorPoolOnOffControl": true, // Pool creator permission to enable/disable trading for permissionless pools
"hasAlphaVault": false // If true, the alpha vault will be created after the pool is created
// "concreteFunctionType": 0, // 0 - LimitOrder | 1 - LiquidityMining (defaults to 0, only pools created with 0 accept limit orders)
// "collectFeeMode": 0 // 0 - InputOnly | 1 - OnlyY (defaults to 0)
},
/* lfgSeedLiquidity is only used in the following actions:
* 1. dlmm-seed-liquidity-lfg
* https://ilm.jup.ag/
*/
"lfgSeedLiquidity": {
"minPrice": 0.003393, // Minimum price boundary for liquidity distribution range
"maxPrice": 0.004393, // Maximum price boundary for liquidity distribution range
"curvature": 0.6, // Distribution curvature factor (1/k) controlling liquidity concentration (0-1, lower = more concentrated)
"seedAmount": "200000", // Total amount of liquidity to seed into the pool (in token units)
"operatorKeypairFilepath": "./keypair.json", // File path to operator's private key for signing seeding transactions
"positionOwner": "YOUR_POSITION_OWNER_ADDRESS", // Public key of the position owner who controls the liquidity
"feeOwner": "YOUR_FEE_OWNER_ADDRESS", // Public key entitled to claim trading fees from this position
"lockReleasePoint": 0, // Timestamp/slot when position becomes withdrawable (0 = immediately unlocked)
"seedTokenXToPositionOwner": true // Whether to send 1 lamport of token X to position owner as ownership proof
},
/* singleBinSeedLiquidity is only used in the following actions:
* 1. dlmm-seed-liquidity-single-bin
*/
"singleBinSeedLiquidity": {
"price": 1.333, // Exact price where liquidity will be concentrated in a single bin
"priceRounding": "up", // Price calculation rounding direction for bin ID conversion. "up" = round up, "down" = round down
"seedAmount": "750000000", // Amount of token X (base token) to seed into the single bin (in token units)
"operatorKeypairFilepath": "./keypair.json", // File path to operator's private key for signing seeding transactions
"positionOwner": "YOUR_POSITION_OWNER_ADDRESS", // Public key of the position owner who controls the liquidity
"feeOwner": "YOUR_FEE_OWNER_ADDRESS", // Public key entitled to claim trading fees from this position
"lockReleasePoint": 0, // Timestamp/slot when position becomes withdrawable (0 = immediately unlocked)
"seedTokenXToPositionOwner": true // Whether to send 1 lamport of token X to position owner as ownership proof
},
/* setDlmmPoolStatus is only used in the following actions:
* 1. dlmm-set-pool-status
*/
"setDlmmPoolStatus": {
"enabled": true // true = enable trading | false = disable trading
},
/* placeLimitOrder is only used in the following actions:
* 1. dlmm-place-limit-order (requires --poolAddress flag)
* The pool must have been created with the limit order function type (concreteFunctionType: 0).
* A limit order deposits into one or more bins (max 50) and fills as the market price crosses them.
*/
"placeLimitOrder": {
"side": "bid", // "ask" = sell the base token above the active bin | "bid" = buy with the quote token below the active bin
"bins": [
{
"price": 1.2, // price (in terms of quote/base price) for this portion of the order
"amount": 100 // amount in token units: base token amount for "ask" orders, quote token amount for "bid" orders
}
]
},
/* cancelLimitOrder is only used in the following actions:
* 1. dlmm-cancel-limit-order (requires --poolAddress flag, optional --limitOrder flag)
* Cancelling withdraws unfilled deposits, filled proceeds and earned fees, then closes the order account.
*/
"cancelLimitOrder": {
"cancelAll": false // when true and no --limitOrder flag is passed, cancels every open order on the pool
},
/* alphaVault is only used in the following actions:
* 1. dlmm-create-pool
* There are 2 types of alpha vault: First Come First Serve (FCFS) and Prorata.
*/
"alphaVault": {
"poolType": "dlmm", // DLMM = dlmm | DAMM v1 = dynamic | DAMM v2 = damm2
"alphaVaultType": "fcfs", // FCFS = fcfs | Prorata = prorata
/* Only use the following parameters for alphaVaultType: fcfs
* 1. maxDepositCap
* 2. individualDepositingCap
*/
"maxDepositCap": 10000, // Maximum total amount (in quote token) that can be deposited across all users in the vault
"individualDepositingCap": 1, // Maximum amount (in quote token) that each individual user can deposit
/* Only use the following parameters for alphaVaultType: prorata
* 1. maxBuyingCap
*/
// "maxBuyingCap": 10000, // Maximum total amount (in quote token) that can be bought across all users in the vault
"depositingPoint": 1755421200, // When users can start depositing depending on pool's activationType (Calculate in slots if activationType is 0 (slots) | Calculate in seconds if activationType is 1 (timestamp))
"startVestingPoint": 1755507600, // When token vesting begins and users can start claiming their vested tokens depending on pool's activationType (Calculate in slots if activationType is 0 (slots) | Calculate in seconds if activationType is 1 (timestamp))
"endVestingPoint": 1755507600, // When token vesting ends and all tokens become fully claimable depending on pool's activationType (Calculate in slots if activationType is 0 (slots) | Calculate in seconds if activationType is 1 (timestamp))
"escrowFee": 0, // Fee amount (in quote token) charged when creating a stake escrow account
"whitelistMode": "permissionless" // Whitelist mode: permissionless | permissioned_with_merkle_proof | permissioned_with_authority
/* Optional Configuration: whitelistFilePath
* Only use when whitelistMode is permissioned_with_merkle_proof or permissioned_with_authority
*/
// "whitelistFilepath": "./data/whitelist_wallet.csv", // Optional path to CSV file containing whitelisted wallet addresses and their deposit caps (format: wallet,deposit_cap)
/* Optional Configuration: merkleProofBaseUrl, chunkSize, kvProofFilepath, cloudflareKvProofUpload
* Only use when whitelistMode is permissioned_with_merkle_proof
*/
// "merkleProofBaseUrl": "https://example.workers.dev/", // Base URL endpoint where merkle proofs are stored and can be retrieved for whitelisted wallet verification
// "chunkSize": 1000, // Optional batch size for processing large whitelist files or merkle tree operations to avoid memory/performance issues
// "kvProofFilepath": "./data/kv_proofs", // Optional path to key-value file storing pre-computed merkle proofs for whitelisted addresses
// "cloudflareKvProofUpload": {
// "kvNamespaceId": "YOUR_KV_NAMESPACE_ID",
// "accountId": "YOUR_ACCOUNT_ID",
// "apiKey": "YOUR_API_KEY"
// }
}
}
```
</Accordion>
<Tip>
The toolkit contains logic to make it easier for you to create the DLMM pool such as:
* Minting a new `baseMint` token or parsing in an existing `baseMint` token.
* Launching the DLMM pool immediately or at a certain `activationPoint` (in slots or timestamp depending on the `activationType`).
* Optional creation of an Alpha Vault with your DLMM launch pool.
</Tip>
</Step>
<Step title="Create your DLMM Pool">
After configuring your DLMM pool settings in `dlmm_config.jsonc`, you can now create your pool by running the following command.
*If you don't have a base mint, you can configure `createBaseToken` in the config file and run the
following command.*
```bash theme={"system"}
pnpm studio dlmm-create-pool
```
*If you already have a base mint created, you can provide it via the CLI with a `--baseMint` flag
and run the following command.*
```bash theme={"system"}
pnpm studio dlmm-create-pool --baseMint <YOUR_BASE_MINT_ADDRESS>
```
This will create your pool and print the pool address and other relevant information to the console. <br /> <br />
<Frame>
<img />
</Frame>
</Step>
<Step title="Seed your DLMM Pool">
After creating your DLMM pool, you can now seed your pool with liquidity.
<Tabs>
<Tab title="dlmm-seed-liquidity-lfg" icon="chart-bar">
*If you want to seed your pool with liquidity using the LFG model, you can run the following command.*
<Warning>Please take note that the `dlmm-seed-liquidity-lfg` command will only work when your DLMM launch pool is not activated yet. You can configure the pool activation time using the `activationPoint` parameter in the `dlmm_config.jsonc` file.</Warning>
```bash Terminal theme={"system"}
pnpm studio dlmm-seed-liquidity-lfg --baseMint <YOUR_BASE_MINT_ADDRESS>
```
This will seed your DLMM pool with liquidity based on the `curvature`, `minPrice` and `maxPrice` parameters that you have set in the `dlmm_config.jsonc` file.
<Note>If you want to learn how the liquidity curvature works, you can head to [https://ilm.jup.ag/](https://ilm.jup.ag/) to learn more.</Note>
<Frame>
<img />
</Frame>
</Tab>
<Tab title="dlmm-seed-liquidity-single-bin" icon="chart-area">
*If you want to seed your pool with liquidity in a single bin, you can run the following command.*
<Warning>Please take note that the `dlmm-seed-liquidity-single-bin` command will only work when your DLMM launch pool is not activated yet. You can configure the pool activation time using the `activationPoint` parameter in the `dlmm_config.jsonc` file.</Warning>
```bash Terminal theme={"system"}
pnpm studio dlmm-seed-liquidity-single-bin --baseMint <YOUR_BASE_MINT_ADDRESS>
```
This will seed your DLMM pool with liquidity in a single bin based on the `price` and `seedAmount` parameters that you have set in the `dlmm_config.jsonc` file. <br /> <br />
<Frame>
<img />
</Frame>
</Tab>
</Tabs>
</Step>
<Step title="Place Limit Orders on your DLMM Pool (Optional)">
DLMM pools created with the limit order function type (`concreteFunctionType: 0`, the default) support onchain limit orders. A limit order deposits tokens into one or more bins and fills automatically as the market price crosses them.
<Note>To learn how DLMM limit orders work under the hood, head to [DLMM Limit Order](/core-products/dlmm/limit-order).</Note>
*After configuring the `placeLimitOrder` settings in `dlmm_config.jsonc`, place an order with the following command.*
```bash theme={"system"}
pnpm studio dlmm-place-limit-order --poolAddress <YOUR_POOL_ADDRESS>
```
This will place the order and print the limit order address to the console. Save the address if you want to cancel a specific order later.
*To inspect your open orders — per-bin fill status, fees earned, and withdrawable amounts — run the following command.*
```bash theme={"system"}
pnpm studio dlmm-get-limit-orders --poolAddress <YOUR_POOL_ADDRESS>
```
*To cancel an order and withdraw unfilled deposits, filled proceeds, and earned fees, run the following command.*
```bash theme={"system"}
pnpm studio dlmm-cancel-limit-order --poolAddress <YOUR_POOL_ADDRESS> --limitOrder <YOUR_LIMIT_ORDER_ADDRESS>
```
<Tip>Omit the `--limitOrder` flag and set `cancelLimitOrder.cancelAll` to `true` in `dlmm_config.jsonc` to cancel every open order on the pool in one run.</Tip>
</Step>
</Steps>
Voilà! You've successfully created your DLMM pool on Meteora. You can now see your pool in action on Meteora either on Meteora's [mainnet](https://app.meteora.ag) or [devnet](https://devnet.meteora.ag) app.
# Overview
Source: https://docs.meteora.ag/invent/launch-pools/index
Choose a Meteora Invent launch-pool path for DBC, DLMM, DAMM v2, or DAMM v1 token liquidity.
Launch pools are the Meteora Invent workflows for creating token liquidity with a configuration file and CLI commands. Use this overview to choose between Dynamic Bonding Curve (DBC), DLMM, DAMM v2, and DAMM v1 launch paths before jumping into the step-by-step guide.
<CardGroup>
<Card title="DBC Token Launch Pool" icon="chart-simple" href="/invent/launch-pools/dbc-token-launch-pool">
Launch a new token on a customizable bonding curve — with or without a Token 2022 transfer hook — then graduate the pool to DAMM v1 or DAMM v2 when the migration threshold is reached.
</Card>
<Card title="DLMM Launch Pool" icon="bolt-lightning" href="/invent/launch-pools/dlmm-launch-pool">
Create a DLMM pool with dynamic fees and precise liquidity concentration, then seed liquidity with an LFG curve or a single bin and place onchain limit orders.
</Card>
<Card title="DAMM v2 Launch Pool" icon="scale-balanced" href="/invent/launch-pools/damm-v2-launch-pool">
Create a balanced or one-sided DAMM v2 constant-product pool with configurable fee schedules, dynamic fees, optional compounding, and position NFTs.
</Card>
<Card title="DAMM v1 Launch Pool" icon="rocket" href="/invent/launch-pools/damm-v1-launch-pool">
Create a DAMM v1 constant-product pool with optional liquidity locking and Stake2Earn workflows.
</Card>
</CardGroup>
## Which launch pool should you use?
| Use case | Recommended pool | Why |
| - | - | - |
| You are launching a brand-new token and want users to buy along a curve before AMM graduation. | DBC | DBC creates the token pool first, handles bonding curve trading (including Token 2022 transfer-hook launches), and can migrate liquidity to DAMM v1 or DAMM v2. |
| You want concentrated liquidity with dynamic fees and custom liquidity seeding before trading starts. | DLMM | DLMM gives LPs discrete-bin liquidity concentration, volatility-aware fees, and onchain limit orders. |
| You want a modern constant-product AMM launch with flexible fee logic and NFT positions. | DAMM v2 | DAMM v2 supports balanced and one-sided pool creation, dynamic fees, fee schedulers, optional compounding, and more flexible liquidity management. |
| You need the legacy DAMM v1 flow, liquidity locks, or Stake2Earn. | DAMM v1 | DAMM v1 is the legacy constant-product AMM path with existing lock-liquidity and Stake2Earn tooling. |
## Shared setup
All launch-pool guides use the same Meteora Invent Studio setup:
```bash Terminal theme={"system"}
git clone https://github.com/MeteoraAg/meteora-invent.git
cd meteora-invent
pnpm install
cp studio/.env.example studio/.env
pnpm studio generate-keypair
```
Each guide then points you to its matching config file in `studio/config`:
* `dlmm_config.jsonc`
* `damm_v2_config.jsonc`
* `damm_v1_config.jsonc`
* `dbc_config.jsonc`
<Tip>
Start with `"dryRun": true` while validating your configuration. Set it to `false` only when you understand which transactions will be sent on-chain.
</Tip>
# Fun Launch
Source: https://docs.meteora.ag/invent/scaffold/fun-launch
Build a token launchpad scaffold powered by Meteora's Dynamic Bonding Curve program.
This guide walks you through the steps to create a launchpad platform for launching tokens with Meteora's Dynamic Bonding Curve Program.
# Features
<CardGroup>
<Card title="Integrated with Meteora DBC" icon="money-bill-trend-up">
Built-in integration for Meteora's DBC program to create token pools with your DBC config key. You can configure your DBC config key on [launch.meteora.ag](https://launch.meteora.ag) and get started within minutes.
</Card>
</CardGroup>
<CardGroup>
<Card title="Advanced Token Analytics" icon="rocket">
Productin-grade search functionalities and real-time data from websocket APIs. Provide up-to-date information including token price, volume and holder count on your launchpad platform without worrying about the nitty-gritty details of indexing data.
</Card>
<Card title="Built-in Trading Interface" icon="chart-line">
Ready-to-use trading interface with all the features you need for users to trade your tokens without leaving the platform. Comprises of with Trading View's charts and open source Jupiter APIs that includes volume analysis and trading marks.
</Card>
</CardGroup>
# Tech Stack
* Next.js 15
* React 19
* TypeScript
* Tailwind CSS (with light and dark theme support)
* Solana Web3.js
* Dynamic Bonding Curve SDK
* Cloudflare R2 for storage (via `@aws-sdk/client-s3`)
# Prerequisites
* Node.js >= 22.12.0
* pnpm >= 10.0.0
## Setup
<Steps>
<Step title="Clone and Setup Meteora Invent">
Meteora Invent is a toolkit consisting of everything you need to invent innovative token launches on Meteora. Run the following command in your terminal to get started.
```bash Terminal theme={"system"}
git clone https://github.com/MeteoraAg/meteora-invent.git
```
Once you've cloned the repository, you'll have a new project directory with a meteora-invent folder. Run the following to install pnpm and the project dependencies.
```bash Terminal theme={"system"}
cd meteora-invent
pnpm install
```
<Frame>
<img />
</Frame>
</Step>
<Step title="Setup Environment Variables">
Copy the `.env.example` file to `.env` and configure the environment variables.
```bash theme={"system"}
cp scaffolds/fun-launch/.env.example scaffolds/fun-launch/.env
```
```env theme={"system"}
# Cloudflare R2 Storage
R2_ACCESS_KEY_ID=your_r2_access_key_id
R2_SECRET_ACCESS_KEY=your_r2_secret_access_key
R2_ACCOUNT_ID=your_r2_account_id
R2_BUCKET=your_r2_bucket_name
# Solana RPC URL
RPC_URL=your_rpc_url
# Pool Configuration
POOL_CONFIG_KEY=your_pool_config_key
```
<Tip>
**Getting R2 Credentials**
1. Go to [Cloudflare Dashboard](https://dash.cloudflare.com)
2. Navigate to R2
3. Create a new bucket or select an existing one
4. Go to "Manage R2 API Tokens"
5. Create a new API token with the following permissions:
* Account R2 Storage: Edit
* Bucket: Your bucket name
6. Copy the Access Key ID and Secret Access Key
7. Your Account ID can be found in the Cloudflare dashboard URL or in the Account Home page
</Tip>
<Tip>
**Getting RPC URL**
You can get your RPC URL from any 3rd party provider like [Triton](https://triton.one/) or [Helius](https://www.helius.dev).
</Tip>
<Tip>
**Getting Pool Config Key**
You can get your pool config key from [Meteora Launch](https://launch.meteora.ag) or create a DBC config with the [Meteora Invent actions](/invent/actions#dbc).
</Tip>
</Step>
<Step title="Start the development server">
```bash theme={"system"}
pnpm --filter @meteora-invent/scaffold/fun-launch dev
```
<Frame>
<img />
</Frame>
</Step>
<Step title="Build the project">
```bash theme={"system"}
pnpm --filter @meteora-invent/scaffold/fun-launch build
```
<Frame>
<img />
</Frame>
</Step>
</Steps>
# DAMM v1 Fee and APY Calculation
Source: https://docs.meteora.ag/legacy-products/damm-v1/damm-v1-fee-and-apy-calculation
How DAMM v1 trading fees, protocol fees, base APY, fee-over-TVL, Dynamic Vault yield, and farm APR are interpreted for LPs.
DAMM v1 LP returns can come from several sources, so APY needs to be read carefully. A pool may show fee performance, base APY, Dynamic Vault yield, and farming incentives. These are related, but they are not the same thing.
This page explains how to think about the 프로젝트로 돌아가기