A fully forkable implementation of the Pump.fun smart contract on Solana
Bonding Curve • Meteora Migration • Token Launch Logic • PDA Architecture
This repository provides a high-quality fork of the Pump.fun smart contract, enabling developers to launch Solana tokens using the same bonding curve mechanics, protocol fee structure, and Meteora migration workflow used by Pump.fun.
Built in Rust and designed for Anchor-compatible development environments, this smart contract allows:
- Token launches using a linear bonding curve
- Efficient price discovery & liquidity provisioning
- Smooth migration to Meteora once the bonding curve threshold is met
- Clear PDA-based architecture for predictable, secure state management
If you're searching for a Solana Pumpfun smart contract, Pump.fun clone, or Solana token launch contract, this repository provides everything you need.
Implements a constant product–style linear bonding curve (x * y = k) to ensure:
- Continuous liquidity
- Fair price discovery
- Smooth buy/sell execution
When the bonding curve reaches 85 SOL, the remaining tokens automatically migrate to Meteora.
A slot‑based, piecewise linear fee mechanic:
- Fees scale based on user participation
- 100% of fees automatically route to the protocol multisig wallet
-
Init Global PDA:
https://solscan.io/tx/5YmZqVgFcKk11uUVTBZvtMCnbbfthM4QpYHvvWdRNqXhmeyFmE85H5XeQF9pAX6M8DApqn1PeyCH9mYhdCsEkvce?cluster=devnet -
Create Bonding Curve:
https://solscan.io/tx/22cFFDRgLnBpce97FhSE9srHcopkmDG3WpiwbgpwAj6VReu8cLMaZv3vnEvXMBr48XrCLGQ2xAzdUKBxKdfHFx2i?cluster=devnet -
Migrate to Meteora:
https://solscan.io/tx/5F1R9WBYgDXyATWjyyrCJKL2wudjK4WNom6KL4H2LQjcabfLR3agoaifiQWwMEWpmR47bKozJSn1esLCWmyMaRHe?cluster=devnet
- Telegram: RRR
If this Solana Pumpfun Smart Contract fork helps you, please consider:
✨ Starring the repository
🎞 Forking the project
Your support helps improve and maintain the project!
🔥 Built for the Solana token launch ecosystem
🚀 Pumpfun-compatible • Fully forkable • Production-ready