Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/2enology/pump.fun
- Owner: 2enology
- Created: 2024-07-15T17:39:53.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-08T22:47:41.000Z (3 months ago)
- Last Synced: 2024-09-25T23:19:33.283Z (about 2 months ago)
- Topics: anchor, cpi, liquidity, pumpfun, raydium-pool, rust, smart-contract
- Language: TypeScript
- Homepage:
- Size: 50.8 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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