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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pump.fun Smart Contract

image

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

About

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.


Languages

Language:TypeScript 63.4%Language:Rust 36.6%