Skip to content

docs: add official Pump SDK documentation#27

Open
DebuggingMax wants to merge 1 commit into
pump-fun:mainfrom
DebuggingMax:feat/add-pump-sdk-docs
Open

docs: add official Pump SDK documentation#27
DebuggingMax wants to merge 1 commit into
pump-fun:mainfrom
DebuggingMax:feat/add-pump-sdk-docs

Conversation

@DebuggingMax

@DebuggingMax DebuggingMax commented Feb 23, 2026

Copy link
Copy Markdown

Summary

Adds documentation for the official @pump-fun/pump-sdk package to the README.

Changes

  • Added SDK installation instructions
  • Added basic setup examples with PumpSdk and OnlinePumpSdk
  • Added coin creation example using createV2Instruction
  • Added combined create and buy transaction example using createV2AndBuyInstructions

Closes #25


Note

Low Risk
Documentation-only change (README examples/links) with no runtime or security impact.

Overview
Adds an “Official Pump SDK” section to README.md linking to @pump-fun/pump-sdk, with npm install instructions and TypeScript examples for initializing PumpSdk/OnlinePumpSdk.

Includes usage snippets for coin creation via createV2Instruction and for creating + buying in one transaction via createV2AndBuyInstructions (including fetching global state and calculating buy amounts).

Written by Cursor Bugbot for commit a70162f. This will update automatically on new commits. Configure here.

Adds documentation for @pump-fun/pump-sdk package including:
- Installation instructions
- Basic setup with PumpSdk and OnlinePumpSdk
- Coin creation example using createV2Instruction
- Combined create and buy transaction example

Closes pump-fun#25
@livcoding2

Copy link
Copy Markdown

I struggled alone to make a script that would buy, and for 10 hours I've only been getting the error Buy failed: Program error: 6024.

@qqlvl

qqlvl commented Feb 26, 2026

Copy link
Copy Markdown

I struggled alone to make a script that would buy, and for 10 hours I've only been getting the error Buy failed: Program error: 6024.

Same think but made create + buy = 6024 , over 6 hours.....

but this work for me yesterday

@dannpl

dannpl commented Feb 27, 2026

Copy link
Copy Markdown

😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update README from package https://www.npmjs.com/package/@pump-fun/pump-sdk

4 participants