Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Pump SDK Tutorials

19 hands-on tutorials for building on the Pump protocol with @pump-fun/pump-sdk.

Getting Started

npm install @pump-fun/pump-sdk @solana/web3.js @coral-xyz/anchor bn.js

Tutorials

Core Token Operations

# Tutorial Topics
01 Create Your First Token createV2Instruction, metadata, mint keypair
02 Buy Tokens from a Bonding Curve buyInstructions, fetchBuyState, slippage
03 Sell Tokens sellInstructions, fetchSellState, partial sells
04 Create and Buy Atomically createV2AndBuyInstructions, atomic transactions

Math & Pricing

# Tutorial Topics
05 Bonding Curve Math getBuyTokenAmountFromSolAmount, price impact, market cap

Advanced Operations

# Tutorial Topics
06 Token Migration to PumpAMM migrateInstruction, graduation detection, AMM pools
07 Fee Sharing Setup createFeeSharingConfig, shareholders, BPS
08 Token Incentives claimTokenIncentives, volume accumulators
09 Fee System Deep Dive computeFeesBps, tiers, FeeConfig

Architecture & Infrastructure

# Tutorial Topics
10 Working with PDAs bondingCurvePda, feeSharingConfigPda, all PDAs
11 Building a Trading Bot Monitoring, strategy, automated execution
12 Offline SDK vs Online SDK PumpSdk vs OnlinePumpSdk, hybrid patterns

Tools & Integrations

# Tutorial Topics
13 Generating Vanity Addresses Rust, TypeScript, shell generators
14 x402 Paywalled APIs HTTP 402, USDC micropayments, Express middleware
15 Decoding On-Chain Accounts decodeGlobal, decodeBondingCurve, batch decoding

Monitoring & Operations

# Tutorial Topics
16 Monitoring Claims Unclaimed tokens, creator vaults, fee distributions, cashback, polling

Full-Stack & Integrations

# Tutorial Topics
17 Build a Monitoring Website Live dashboard, real-time bonding curve UI
18 Telegram Bot Price alerts, claim checking, graduation notifications
19 CoinGecko Integration SOL/USD prices, token discovery, price comparison

Prerequisites

  • Node.js 18+
  • A Solana wallet with devnet SOL (solana airdrop 2)
  • Basic TypeScript knowledge

Resources