MCPcopy Index your code
hub / github.com/enlomy/pumpfun-solana-smart-contract

github.com/enlomy/pumpfun-solana-smart-contract @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
33 symbols 51 edges 13 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

💊 PumpFun Solana Smart Contract

The Pump.fun Smart Contract forking is an innovative platform designed to allow users to create tokens, markets, and pools on Raydium/Meteora. This comprehensive project offers not only same features of pump.fun but also more for managing token authorities, customizing token properties, white list and handling liquidity pools with advanced functionalities.

✨ Features

  • Token Management: Create tokens with customizable names, symbols, and images. Revoke token authority as needed.
  • Market Creation: Set up markets for trading tokens with ease.
  • Pool Management: Add and remove liquidity in Raydium pools. Burn SPL tokens efficiently.
  • Dashboard: Display detail information of token listed on pump.fun.
  • Discord Integration: Receive real-time notifications on Discord via webhooks.
  • Fee: Handling gather fee from user who use our smart contract.
  • 🚀 Migration to Meteora/Raydium 🚀: Migration to Meteora/Raydium using CPI call.
  • 🚀 Whiltelist 🚀: Add user to whitelist to add more permission to each user.
  • 🚀 Spam Detection 🚀: Automatically catch and handle spammers making transactions to the OpenBook market.

📋 Demo

I have shared my previous tx made on this smart contract

Main Wallet: en1omyBPyReHeUQfRvFqPtDPrzwQWSuKQMRctXLFmwh

Create Global PDA: LhMyuC3uQbN3rxMwRHFZ17o6VGKtuyztesjpHuG3JnZqEFpRfRnnDBSwPCuXJnPkVfuLMGXEEaUd51m7E1zM99m

Create BondingCurve: 48J3SsHG1urNR8BmCPKwX2gdq6SX7bkNRdXYjKT45npVTYdgftMbaJMyTBniMCzJa6BnPkmcip8pd4aTyXEnWoGj

Add whitelist: 7Z9Fz18Eo99MAupb7tdSuMiYcz3pqvJdnCqKhWQuGrFtKcBKoxWJFKrk6H8Zqy5NvxgvZaukf2BgN4cvKTGhyju

Migrate meteora: 524N14xCr75EiWP96xeQ6hFUxE8ewspjCbWUxqRZnCZfdGgCLVZDFuvxAQGka6rtArgKFDcPi2JYVU9JowyZvC8Z

🍵 Tip

If you are interested in my projects, please 🔗fork or give me ⭐star

You can verify this star history here: https://www.star-history.com

Star History Chart

Extension points exported contracts — how you extend this code

LiquidityPoolAccount (Interface)
(no doc) [1 implementers]
programs/bonding_curve/src/state.rs

Core symbols most depended-on inside this repo

buy
called by 2
programs/bonding_curve/src/state.rs
sell
called by 2
programs/bonding_curve/src/state.rs
transfer_token_from_pool
called by 2
programs/bonding_curve/src/state.rs
transfer_token_to_pool
called by 2
programs/bonding_curve/src/state.rs
transfer_sol_from_pool
called by 2
programs/bonding_curve/src/state.rs
transfer_sol_to_pool
called by 2
programs/bonding_curve/src/state.rs
update_reserves
called by 1
programs/bonding_curve/src/state.rs
initialize
called by 0
programs/bonding_curve/src/lib.rs

Shape

Function 14
Method 10
Class 7
Enum 1
Interface 1

Languages

Rust97%
TypeScript3%

Modules by API surface

programs/bonding_curve/src/state.rs15 symbols
programs/bonding_curve/src/lib.rs6 symbols
programs/bonding_curve/src/utils/calc.rs2 symbols
programs/bonding_curve/src/instructions/sell.rs2 symbols
programs/bonding_curve/src/instructions/initialize.rs2 symbols
programs/bonding_curve/src/instructions/create_pool.rs2 symbols
programs/bonding_curve/src/instructions/buy.rs2 symbols
tests/bonding-curve.ts1 symbols
programs/bonding_curve/src/errors.rs1 symbols

For agents

$ claude mcp add pumpfun-solana-smart-contract \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page