Skip to content

Add fee_config and fee_program accounts to buy/sell instructions #132

@smypmsa

Description

@smypmsa

🚨 Pump Developer Updates - Action Required

⏰ Deadline: August 29, 2025 at 20:00 UTC

🛠️ Required Changes

Both Pump and PumpSwap programs need 2 additional readonly accounts for all buy/sell transactions:

Pump Program

Pump program (6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P):

  • Buy instruction: Add accounts at indexes 14 (fee_config) and 15 (fee_program)
  • Sell instruction: Add accounts at indexes 12 (fee_config) and 13 (fee_program)

PumpSwap program (pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA):

  • Buy instruction: Add accounts at indexes 21 (fee_config) and 22 (fee_program)
  • Sell instruction: Add accounts at indexes 19 (fee_config) and 20 (fee_program)

⚠️ Common Mistakes to Avoid

  • ❌ Don't add unused accounts at new indexes - remove or replace them
  • ❌ Don't add accumulator accounts to both buy AND sell (buy only!)

🧪 Testing

  • Programs already deployed on Devnet for testing
  • Test your integration before mainnet update

📚 Resources

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions