Skip to content

Update buy instructions on both programs - 2 new additional writable accounts #122

@smypmsa

Description

@smypmsa

Message from the official Telegram channel:

Image

Hello. We will do a BREAKING update for both Pump and PumpSwap programs on August 1 at 10:00 AM UTC.

buy instructions on both programs will require 2 new additional writable accounts with the following PDA seeds:

  • Pump program (6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P) buy instruction will require 2 new additional writable accounts at 0-based indexes 12 (global_volume_accumulator) and 13 (user_volume_accumulator).
  • PumpSwap program (pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA) buy instruction will require 2 new additional writable accounts at 0-based indexes 19 (global_volume_accumulator) and 20 (user_volume_accumulator).
    On Devnet, both programs have already been updated to require these 2 new writable accounts on buy. Please test your integrations on Devnet and Mainnet and make sure they both work after adding these 2 new accounts.

The latest IDLs for both programs can be found here: https://github.com/pump-fun/pump-public-docs/tree/main/idl and as part of the Typescript SDKs.

You can start appending these 2 new accounts to the programs from now already. Both our Typescript SDKs have been updated with the latest IDL changes:

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