Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/2enology/pump.fun

This project involves the development of a Rust/Anchor smart contract for Pump.fun, designed to handle various decentralized finance (DeFi) functionalities. The smart contract enables users to: Add virtual Liquidity Provider (LP) tokens. Remove LP tokens. Create Raydium Pools.
https://github.com/2enology/pump.fun

anchor cpi liquidity pumpfun raydium-pool rust smart-contract

Last synced: 4 days ago
JSON representation

This project involves the development of a Rust/Anchor smart contract for Pump.fun, designed to handle various decentralized finance (DeFi) functionalities. The smart contract enables users to: Add virtual Liquidity Provider (LP) tokens. Remove LP tokens. Create Raydium Pools.

Awesome Lists containing this project

README

        

# Pump.fun Smart Contract
![image](https://github.com/user-attachments/assets/24c9250c-d456-4967-85b5-c0e0cce697a3)

The Pump.fun Smart Contract is the Rust/Anchor smart contract for Pump.fun. The pump.fun smart contract facilitates various decentralized finance (DeFi) functionalities, including adding virtual Liquidity Provider (LP) tokens, removing LP tokens, and creating Raydium Pools.

## Functions
1. Add Virtual LP
This function allows users to add virtual liquidity to the Pump.fun platform. This increases the liquidity of the pool without requiring actual token deposits. This function is crucial for simulating and testing liquidity scenarios.
2. Remove LP
This function enables users to remove liquidity from the Pump.fun platform. This reduces the liquidity of the pool and allows users to withdraw their LP tokens.
3. Create Raydium Pool
The create_raydium_pool function allows users to create a new pool on the Raydium platform. This pool will facilitate decentralized trading and liquidity provision.

### Getting Started
1. git clone https://github.com/2enology/pump.fun.git
2. cd pump.fun
3. cargo build
4. anchor deploy