coinzap / solala-pumpfun-program

Pump.fun is a blockchain project leveraging Solana, built with Rust and Anchor. It features advanced token sale mechanisms and innovative financial tools for efficient on-chain operations. It is not real, but fork project.
0 stars 0 forks source link
onchain pumpfun rust solana solana-program

Solana-Pumpfun-Smart-Contract

This is the Pump.fun smart contract developed using Rust and Anchor.

Clone Project

   git clone https://github.com/coinzap/solala-pumpfun-program.git
   cd solala-pumpfun-program
   npm install

Features

It has All features that pump.fun has.

When the Market Cap meet the KOH, the pumpfun launch the real Sol $12K i.e. $24K Liquidity to the Raydium. Then the rest of the liquidity will be gained by pumpfun team.

Bonding Curve Logic

It is using its own specific bonding curve logic.

so It is

X * Y = K ** 2

X : the price of the token

Y : the supply of the token in the pool

It has its own test cases to test all functions except Raydium Launch because it is used my ongoing project. You can check the tx to Remove vitual LP and Create Raydium Pool in this smart contract with CPI calls. https://explorer.solana.com/tx/4L6MWmtV1ZsT8NFfbtu68ZYyYVbpvZ4iynJhPdZw8jESi28TxwojjTFs88Q5QRdNUb297aWfkKcoYP9Ya8npx8AV?cluster=devnet In this smart contract, I set creating LP FEE as 5% of Reserves.

Contact me

Telegram: @dwlee918