The Pump.fun Smart Contract integrates with TOKEN2022, the latest upgrade to the SPL token program on Solana. TOKEN2022 adds new features like programmatic governance, custom fees, and tax handling, making it ideal for projects that need flexible token mechanics and DeFi capabilities.
TOKEN2022 improves on the original SPL token standard, adding more functionality and flexibility for tokenized assets. Key benefits include:
- Enhanced Tokenomics – Support for built-in tax mechanisms, royalties, and custom transaction fees.
- Improved Governance – On-chain governance capabilities allow seamless protocol upgrades and community-driven decision-making.
- Expanded Flexibility – Developers can create tokens with advanced behavior, optimizing interactions within decentralized applications.
The following program addresses correspond to the Pumpfun smart contract’s integration with Raydium’s automated market maker (AMM) protocols.
Fu6WXgEQeVBrsvHbwh8vStwLxjA12E9KYjPzXnJ1sQC7
GY4gideNhYWJLkgxDW7q9hS6U2SrKb9AmSUbJPsWhEKB
Global Configuration
- Set global settings from backend
- Set fee account and swap protocol fee point
- Configure bonding curve upper limitation
- Configure virtual SOL & token reserve settings
- Set tax fee and max tax from backend
Create Pool
- Launch Token2022 on smart contract
- Create pool & launch token fee
- Disable mint & freeze authority on contract
Liquidity Management
- Add liquidity with virtual reserve
- Buy/Sell using linear bonding curve
- Buy/Sell protocol fee implementation
- Remove liquidity to temporary operational wallet
Migration to Raydium CLMM
- Proxy initialize
- Proxy open position
Global Configuration
- Set global settings from backend
- Set fee account and swap protocol fee point
- Configure bonding curve upper limitation
- Configure virtual SOL & token reserve settings
- Set tax fee and max tax from backend
Create Pool
- Launch Token2022 on smart contract
- Create pool & launch token fee
- Disable mint & freeze authority on contract
Liquidity Management
- Add liquidity with virtual reserve
- Buy/Sell using linear bonding curve
- Buy/Sell protocol fee implementation
- Remove liquidity to temporary operational wallet
Migration to Raydium CPMM
- Proxy initialize
Creating a liquidity pool on Pumpfun involves minting TOKEN2022 tokens and establishing a pool to facilitate token swaps.
- Pool Creation Transaction:
View Transaction
Users can purchase TOKEN2022 tokens via Pumpfun, where transaction fees apply for tax and platform-related charges.
- Purchase Transaction:
View Transaction
TOKEN2022 tokens can be sold on Pumpfun, with the sale process incorporating associated transaction fees.
- Sale Transaction:
View Transaction
Liquidity can be migrated from Pumpfun to Raydium’s concentrated liquidity market maker (CLMM) for improved capital efficiency.
- Liquidity Removal Transaction:
View Transaction
For projects that prefer Raydium’s constant product market maker (CPMM), liquidity migration is possible through a dedicated transaction.
- Migration Transaction:
View Transaction
TOKEN2022’s integration with Pumpfun introduces new possibilities for decentralized applications on Solana, enabling improved tokenomics and governance structures. By leveraging Pumpfun’s liquidity management and Raydium’s AMM protocols, developers can create more efficient and versatile financial instruments.
For further inquiries, feel free to open an issue or reach out via Telegram.
- Telegram Support: Sabonis