MCPcopy Index your code
hub / github.com/alphaoinker/Pump.fun-Smart-Contract

github.com/alphaoinker/Pump.fun-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 Fork is a cutting-edge platform designed to empower users in creating and managing tokens, markets, and liquidity pools on Raydium/Meteora. This enhanced version extends beyond the core features of Pump.fun, offering advanced functionalities for token authority management, custom token properties, whitelisting, and liquidity control.

✨ Key Features

  • Token Management: Create fully customizable tokens (name, symbol, image) with optional revocable token authority.
  • Market Creation: Seamless market setup for token trading.
  • Pool Management: Add/remove liquidity on Raydium, manage SPL token burns efficiently.
  • Dashboard: Comprehensive token listings with real-time insights.
  • Discord Integration: Instant notifications via Discord webhooks.
  • Fee Handling: Integrated fee structure for contract usage.

🚀 Latest Enhancements

🔄 Meteora/Raydium Migration

Effortlessly migrate liquidity to Meteora or Raydium using Cross-Program Invocation (CPI) calls. This ensures smooth interoperability and efficient asset movement between Solana's top liquidity platforms.

Whitelisting System

Implement granular access control by whitelisting users with specific permissions. This feature allows project owners to define different levels of authority, providing enhanced security and flexibility in token and pool management.

⚠️ Spam Detection & Prevention

A smart spam detection system automatically identifies and handles malicious activities in OpenBook markets. This ensures a fair and secure trading environment by mitigating spam transactions and market manipulation.

🤝 Proof of Work

Devnet Contract Address - Config - Pool Creation - Trading(including fee) - Migration to Meteora - LP Lock

📩 Contact

For inquiries, custom integrations, or tailored solutions, reach out via:

💬 Telegram: @alphaoinker

Support the Project

If you find this project useful, consider starring the repository to show your support! 🌟

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 Pump.fun-Smart-Contract \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page