docs: add official Pump SDK documentation#27
Open
DebuggingMax wants to merge 1 commit into
Open
Conversation
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
|
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 |
|
😄 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds documentation for the official @pump-fun/pump-sdk package to the README.
Changes
PumpSdkandOnlinePumpSdkcreateV2InstructioncreateV2AndBuyInstructionsCloses #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.mdlinking to@pump-fun/pump-sdk, with npm install instructions and TypeScript examples for initializingPumpSdk/OnlinePumpSdk.Includes usage snippets for coin creation via
createV2Instructionand for creating + buying in one transaction viacreateV2AndBuyInstructions(including fetching global state and calculating buy amounts).Written by Cursor Bugbot for commit a70162f. This will update automatically on new commits. Configure here.