Meteora Documentation home pagelight logodark logo
  • Meteora
  • Blog
  • Support
Overview
Anti Sniper Suite
Developer Guide
API Reference
Resources
Legal
  • GitHub
  • Faucet
  • Support
  • Developer Updates
  • API Status
  • Introduction
    • Meteora Stack Overview
    Quick Launch
    • DLMM Launch Pool
    • DAMM v2 Launch Pool
    • DAMM v1 Launch Pool
    • DBC Token Launch Pool
    Invent with Metsumi
    • Metsumi Actions 💕
    • Metsumi Scaffolds 💗
    Guides
    • DLMM
      • Introduction
      • DLMM Formulas
      • Typescript SDK
      • CPI
        • DLMM CPI Examples
    • DAMM v1
    • DAMM v2
    • DBC
    • Alpha Vault
    • Stake2Earn
    • Dynamic Vault
    • Meteora Lock
    • Dynamic Fee Sharing
    On this page
    • Dependencies
    • CPI Examples
    • Rust Examples
    CPI

    DLMM CPI Examples

    This repository contains examples for CPI (Cross-Program Invocation) to swap using DLMM programs.

    ​
    Dependencies

    • Anchor: 0.28.0
    • Solana: 1.16.1
    • Rust: 1.68.0

    ​
    CPI Examples

    Access this repository in the SDK, import, and use CPI for the following.

    CPI Example to DLMM Swap

    Example implementation of Cross-Program Invocation for DLMM swap operations.

    Tests

    Test cases and examples for CPI integration with DLMM programs.

    ​
    Rust Examples

    CLI Examples

    Command-line interface examples for DLMM SDK integration and usage.

    Market Making Examples

    Market making strategies and examples using the DLMM SDK.

    Was this page helpful?

    DLMM SDK FunctionsIntroduction
    Assistant
    Responses are generated using AI and may contain mistakes.
    Meteora Documentation home pagelight logodark logo
    discordxyoutubemediumgithublinkedin
    MeteoraTerms of Service
    discordxyoutubemediumgithublinkedin
    Powered by Mintlify