https://github.com/solana-bot-service/raydium-lp-contract
A Solana program demonstrating Raydium liquidity pool integration, built with Anchor framework. This project showcases how to interact with Raydium's AMM to manage liquidity positions.
https://github.com/solana-bot-service/raydium-lp-contract
anchor cargo liquidity pool raydium rust rustc smart-contract solana spl-token
Last synced: over 1 year ago
JSON representation
A Solana program demonstrating Raydium liquidity pool integration, built with Anchor framework. This project showcases how to interact with Raydium's AMM to manage liquidity positions.
- Host: GitHub
- URL: https://github.com/solana-bot-service/raydium-lp-contract
- Owner: solana-bot-service
- Created: 2022-05-27T09:02:09.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2025-02-28T02:49:56.000Z (over 1 year ago)
- Last Synced: 2025-02-28T10:31:15.692Z (over 1 year ago)
- Topics: anchor, cargo, liquidity, pool, raydium, rust, rustc, smart-contract, solana, spl-token
- Language: TypeScript
- Homepage:
- Size: 109 MB
- Stars: 6
- Watchers: 0
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Shiba Token Liquidity Pool on Raydium
A Solana program demonstrating Raydium liquidity pool integration, built with Anchor framework. This project showcases how to interact with Raydium's AMM to manage liquidity positions.
## Have a project in mind? Ping me if you need help!
[](mailto:cashblaze129@gmail.com)
[](https://t.me/cashblaze127)
[](https://discordapp.com/users/965772784653443215)
[](https://www.linkedin.com/in/legend-keyvel-alston)
[](https://github.com/cashblaze127)
## 🛠 Prerequisites
Make sure you have the following installed:
- Solana CLI (v2.0.25)
- Anchor CLI (v0.29.0)
- Rust (v1.81.0)
- Node.js (v22.13.0)
## 🚀 Features
- Create Raydium liquidity pools
- Add liquidity to existing pools
- Remove liquidity from pools
- Full integration with Raydium's AMM protocol
## 🏗 Project Structure
```
├── programs/
│ └── shiba-token/
│ ├── src/
│ │ ├── instructions/
│ │ │ ├── add_liquidity.rs
│ │ │ └── remove_liquidity.rs
│ │ └── lib.rs
└── tests/
└── shiba-token.ts
```
## 💫 Test the program
1. Build the program:
```bash
anchor build
```
2. Run tests:
```bash
anchor test
```
## 🔒 Security
- All accounts are properly checked and validated
- Integration with Raydium's secure AMM protocol
- Comprehensive testing suite