Skip to content

Rabnail-SOL/Solana-Pump-Fun-Smart-Contract

Repository files navigation

Pumpfun Smart Contract ⚓

Pump.fun smart contract clone that works just like pump.fun site, like pump.fun, this smart contract creates the pool on contract, and make users to buy and sell from the pool. And at some point, it can go to Raydium under some predefined condition

You can see the deployed the contract in devnet here https://solscan.io/account/5mdPUgyK9mqosLtqZvfpY5pcpCqQBWHuS3XoU34CrJK3?cluster=devnet

In here, you can see the creation transaction, buy and sell transaction and withdraw transaction

Environement and Development ⚙️

  • For the one who want to clone the project, need to setup as following
    - anchor : v0.29.0
    - solana : v1.17.14
    - rustc : v1.75.0 
  • Here's IDL structure of original pump.fun and new forked pump.fun project I have completed
https://github.com/Rabnail-SOL/Solana-Pumpfun-Smart-Contract-Forking/blob/main/target/deploy/bonding_curve.json 

https://github.com/Rabnail-SOL/Solana-Pumpfun-Smart-Contract-Forking/blob/main/target/deploy/pump-fun-IDL_original.json

Recording of pumpfun smart contract test process

bonding.mp4

Raydium migration and other detailed code are reserved for private, you can contact me for more understanding about the project and other features

👤 Author

Twitter: @Rabnail_SOL

Telegram: @Rabnail_SOL