Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Pull Request Description This PR helps to create Meteora Dynamic and DLMM pool with prompt. ## Related Issue Fixes # (issue number) ## Changes Made This PR adds the following changes: <!-- List the key changes made in this PR --> - - ## Implementation Details <!-- Provide technical details about the implementation --> - The agent kit uses the functions from the `dynamic-amm-sdk` and the `dlmm-sdk` to create Meteora pools. - Both the tools to create pools have the parameter `computeUnitMicroLamports` to allow user inputs the priority fee so that the transaction can be landed faster. ## Transaction executed by agent <!-- If applicable, provide example usage, transactions, or screenshots --> Example transaction: - Create Meteora Dynamic pool: https://solscan.io/tx/3g1NEaiLAmrdewxTMP861MzZiubGs1K52PuADQpngX7frpABugUv1UfdKsyqFtvBjGcHqFW9wASMGtL8itADHujG - Create Meteora DLMM pool: https://solscan.io/tx/2zA6vzGAZZy3yQR9ZRNYw478gKtYLQpguiFAvbsedE7Sii65AVpoXM1YqQe3x1KsRxfqkqhZBdDaHpQ9hoq2hrZF ## Prompt Used <!-- If relevant, include the prompt or configuration used --> - Prompt to create Meteora Dynamic pool: ``` create meteora dynamic pool ``` - Prompt to input Dynamic pool params: ``` tokenAMint DVMkqJAx16dHV29RtHrFLe7VzbWCG64KCFfzgWQYvbVn tokenBMint So11111111111111111111111111111111111111112 tokenAAmount 100 tokenBAmount 0.01 tradeFeeNumerator 2500 ``` - Prompt to create Meteora DLMM pool: ``` create meteora dlmm pool ``` - Prompt to input DLMM pool params: ``` tokenAMint DVMkqJAx16dHV29RtHrFLe7VzbWCG64KCFfzgWQYvbVn tokenBMint So11111111111111111111111111111111111111112 binStep 20 initialPrice 0.25 feeBps 20 ``` ## Additional Notes <!-- Any additional information that reviewers should know --> ## Checklist - [x] I have tested these changes locally - [ ] I have updated the documentation - [x] I have added a transaction link - [x] I have added the prompt used to test it
- Loading branch information