CPI and Typescript Examples
Memecoin Pools are a subset of Dynamic AMM pools.
Memecoin Pools can be integrated with platforms such as memecoin launchpads to support liquidity and trading for the token after it has graduated from the launchpad.
CPI Examples
This repository contains examples for CPI (Cross-Program Invocation) to swap using Dynamic AMM programs.
Dependencies
anchor 0.28.0
solana 1.16.1
rust 1.68.0
Contents
For more details, please check the Dynamic AMM repo.
Typescript Code Examples
Create a Memecoin Pool and permanently lock liquidity inside
Please refer to this code example:
You can also create a new Memecoin Pool on the app (UI) here: https://app.meteora.ag/pools/create
How to assign which wallets can claim fees from the permanently-locked liquidity
Please refer to the section under let allocations = [
New Custom Pool Config and Fee Curve for Integrators / Launchpads
Integrators such as launchpads or other partners may need to use their own unique custom pool config key, if they want custom pool_creator_authority
to prevent front-running of the token launch pool. New dedicated config keys can only be created by Meteora - Please reach out to the team if this is required.
Read more about Setting Pool and Fee Config for Memecoin Pools here.
Devnet Testing
Last updated