{"repo":"Erbsensuppee/pumpfun-pumpswap-sdk","free":true,"listed":false,"github":"https://github.com/Erbsensuppee/pumpfun-pumpswap-sdk","clone":"git clone https://github.com/Erbsensuppee/pumpfun-pumpswap-sdk.git","description":"Node.js SDK for Pump.fun & PumpSwap token trading on Solana with auto bonding curve switching.","language":"JavaScript","stars":14,"topics":["blockchain","crypto-trading","defi","helius","nodejs","pump-fun","pumpswap","solana","solana-sdk","spl-token"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"PumpFun-PumpSwap SDK This is a Node.js SDK for building buy, sell, and cashback-claim transactions on Pump.fun and PumpSwap (Solana). It automatically detects whether a mint is still on the bonding curve and switches to PumpSwap when migrated. The SDK uses manual transaction instructions (no Anchor runtime dependency) and supports slippage, retries, Token-2022 mints, and cashback account flows. Key features: - Auto-Switching : Handles Pump.fun buys/sells and redirects to PumpSwap when the bonding curve is complete. - Cashback Support : Supports claim cashback for Pump.fun and PumpSwap. - Token-2022 Aware : Correct ATA derivation and instruction account handling for Token-2022 mints. - V2 Account Layout Support : Optional trailing bonding curve v2 / pool v2 accounts for upgraded program layouts. - Optional Custom Trade Fee : You can add an extra buy/sell SOL fee transfer to your own wallet in the same transaction. - Test Scripts : Ready-to-run scripts for buy, sell, and cashback claims. Note : This SDK interacts with mainnet Solana programs. Always test with small amounts first. Installation 1. Clone the repository: 2. Install dependencies: Setup 1. Create a .env file and set at least: 2. Optional env variables : 3. IDLs Folder The idls/ folder contains Pump.fun and PumpSwap IDLs for reference and verification. 4. Cache Manager src/cacheManager/cacheManager.js is used by performBuy / performSell helper flows. You can customize or stub it if not needed. Usage Core files: - src/","default_branch":null,"files":null,"tree":[],"storefront":"/r/Erbsensuppee","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Erbsensuppee/pumpfun-pumpswap-sdk/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}