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 call example

Access this repo in the SDK, import, CPI:

Rust examples

Access these repos in the SDK, import, and use the necessary functions:

Contents

For more details, please check the DLMM repo.

Last updated