Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kelvin-1013/rust-execrise-meteora-cpi
https://github.com/kelvin-1013/rust-execrise-meteora-cpi
Last synced: about 4 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/kelvin-1013/rust-execrise-meteora-cpi
- Owner: Kelvin-1013
- Created: 2024-10-30T14:04:11.000Z (21 days ago)
- Default Branch: main
- Last Pushed: 2024-10-30T14:34:14.000Z (21 days ago)
- Last Synced: 2024-10-30T15:32:08.199Z (20 days ago)
- Language: Rust
- Size: 795 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Meteora-CPI-examples
The repository containing examples for CPI (Cross-Program Invocation) to swap at [DLMM](https://github.com/meteoraAg/dlmm-sdk) and [Dynamic AMM](https://github.com/mercurial-finance/mercurial-dynamic-amm-sdk) programs.
## Dependencies
- anchor 0.28.0
- solana 1.16.1
- rust 1.68.0## Contents
- [CPI to DLMM swap example](programs/cpi-example/src/instructions/dlmm_swap.rs)
- [CPI to Dynamic AMM swap example](programs/cpi-example/src/instructions/dynamic_amm.rs)
- [DLMM CPI test](programs/cpi-example/tests/dlmm_swap.rs)
- [Dynamic AMM CPI test](programs/cpi-example/tests/dynamic_dlmm_swap.rs)For more details, please check the respective [DLMM](https://github.com/meteoraAg/dlmm-sdk) and [Dynamic AMM](https://github.com/mercurial-finance/mercurial-dynamic-amm-sdk) repo.