Trading bot update: Full Mayhem Mode support for Pump.fun
We’re excited to announce a critical update to our Pump.fun trading bot on Solana that ensures uninterrupted operation as the platform rolls out its new Mayhem Mode infrastructure. While other bots may struggle or stop working entirely, our solution is already future-proofed and ready.
What’s Changing on Pump.fun?
Pump.fun has introduced a new token creation instruction called create_v2, which uses the Token2022 program instead of the legacy Metaplex standard. This represents a fundamental shift in how tokens are launched on the platform, particularly with the introduction of Mayhem Mode: an experimental feature where an autonomous AI trading agent actively places trades on eligible coins for their first 24 hours of existence.
The Technical Challenge
The platform now supports two methods of token creation:
- Legacy
createinstruction: Uses the traditional token program and Metaplex metadata - New
create_v2instruction: Leverages Token2022 program with native metadata support
While the original create instruction remains active, Pump.fun has indicated it will be deprecated at a later time. This creates a transitional period where both instruction types coexist on the platform.
Why This Matters for Your Bot
Bots that only recognize the legacy create instruction will miss tokens launched with create_v2—and eventually, they’ll stop working altogether when Pump.fun deprecates the old method. During this transition, you could be missing out on:
- New tokens launched with Mayhem Mode enabled
- All future token launches once the migration is complete
- Critical trading opportunities in the first seconds of a token’s life
The risk is real: Once Pump.fun fully transitions to create_v2 and disables the legacy instruction, outdated bots will simply stop detecting new tokens.
Our Solution: Dual-Instruction Detection
Our updated bot now features comprehensive support for both token creation methods, ensuring seamless operation regardless of which instruction is used.
Key Features
✓ Dual Instruction Support
The bot actively monitors both create and create_v2 instructions, detecting tokens launched through either method without any gaps in coverage.
✓ Mayhem Mode Compatibility
Full support for Mayhem Mode tokens, including proper handling of the modified fee recipient requirements and Token2022 program interactions.
✓ Automatic Token Program Detection
Intelligently identifies whether a token uses the legacy token program or Token2022, adjusting its transaction construction accordingly.
✓ Future-Proof Architecture
When Pump.fun eventually deprecates the create instruction, your bot will continue operating without requiring any manual intervention or additional updates.
Technical Implementation
Our bot handles several critical distinctions between the two instruction types:
Token Program Recognition
- Legacy tokens: Standard SPL Token Program
- New tokens: Token2022 Program with extended functionality
Account Derivation
The associated bonding curve account is now owned by the Token2022 program rather than the legacy token program, and user token accounts must also be derived accordingly.
Mayhem Mode Fee Recipients
For tokens launched with Mayhem Mode enabled, the bot correctly identifies and uses the appropriate fee recipient addresses, ensuring transactions don’t fail due to incorrect account configurations.
What This Means for You
Uninterrupted Service: Your bot continues detecting and trading new tokens throughout the entire transition period and beyond.
Competitive Advantage: While other traders troubleshoot broken bots, you’re already positioned to capture opportunities from both legacy and new token launches.
Zero Downtime: No action required on your end—the update handles everything automatically.
Mayhem Mode Ready: When Mayhem Mode goes live for your trading strategy, your bot is already equipped to handle the increased volatility and unique trading patterns of these tokens.
The Bigger Picture: Mayhem Mode
Mayhem Mode aims to increase the number of good projects in the pump.fun ecosystem by making coin projects more appealing to engage in at early stages where they typically might fail. By understanding this feature, you can better position your trading strategies:
- Mayhem Mode tokens launch with 2 billion tokens instead of the standard 1 billion
- The AI agent introduces price volatility through randomized buying and selling
- The mode operates only during the first 24 hours after token creation
- After the period ends, unsold agent-held tokens are burned
Competitive Landscape
As this update rolls out across the ecosystem, bot operators face a critical decision point. Those who adapt quickly will maintain their edge, while those who delay risk:
- Missing new token launches entirely
- Losing market share to better-prepared competitors
- Experiencing unexpected downtime when the legacy instruction is finally disabled
- Scrambling to implement emergency fixes under pressure
Our proactive approach means you’re already ahead of this curve.
Frequently Asked Questions
Q: Do I need to do anything to enable this update?
A: No. The update is automatic and requires no configuration changes on your end.
Q: Will this affect my bot’s performance?
A: Not negatively. The bot maintains the same speed and efficiency while adding new detection capabilities.
Q: What happens to tokens created with the old instruction?
A: The bot continues to detect and trade them normally. Full backward compatibility is maintained.
Q: When will Pump.fun disable the legacy instruction?
A: The timeline hasn’t been officially announced, but our bot is ready regardless of when it happens.
Q: Does this support Mayhem Mode tokens specifically?
A: Yes. The bot properly handles all Mayhem Mode-specific requirements, including modified fee structures and Token2022 interactions.
Looking Ahead
This update represents our commitment to staying ahead of platform changes and ensuring your trading operations remain uninterrupted. As Pump.fun continues to evolve with features like Mayhem Mode and the broader Token2022 migration, you can trust that our bot will adapt accordingly.
The transition to create_v2 is just the beginning. Token2022 opens the door for new features like transfer fees, confidential transfers, and permanent delegates—capabilities that may reshape how trading bots interact with the platform. We’re already monitoring these developments to ensure your bot remains at the cutting edge.
Reliable Solana RPC infrastructure
Getting started with Solana on Chainstack is fast and straightforward. Developers can deploy a reliable Solana node within seconds through an intuitive Console — no complex setup or hardware management required.
Chainstack provides low-latency Solana RPC access and real-time gRPC data streaming via Yellowstone Geyser Plugin, ensuring seamless connectivity for building, testing, and scaling DeFi, analytics, and trading applications. With Solana low-latency endpoints powered by global infrastructure, you can achieve lightning-fast response times and consistent performance across regions.
Start for free, connect your app to a reliable Solana RPC endpoint, and experience how easy it is to build and scale on Solana with Chainstack – one of the best RPC providers.




