{"id":25497199,"url":"https://github.com/toptrendev/pumpfun-bundler","last_synced_at":"2026-05-02T01:35:00.760Z","repository":{"id":278171056,"uuid":"934422495","full_name":"TopTrenDev/pumpfun-bundler","owner":"TopTrenDev","description":"PumpFun Bundler, create/buy token in single bundle for Pumpfun on Solana Network","archived":false,"fork":false,"pushed_at":"2025-02-18T10:45:39.000Z","size":5271,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-18T11:36:14.452Z","etag":null,"topics":["bot","bundler","buy","pool","pump","pumpfun","pumpfun-bot","pumpfun-bundler","pumpfun-tool","solana","solana-bundle"],"latest_commit_sha":null,"homepage":"https://pump.fun","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TopTrenDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-17T20:03:18.000Z","updated_at":"2025-02-18T10:47:04.000Z","dependencies_parsed_at":"2025-02-18T11:47:13.091Z","dependency_job_id":null,"html_url":"https://github.com/TopTrenDev/pumpfun-bundler","commit_stats":null,"previous_names":["toptrendev/pumpfun-bundler"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TopTrenDev%2Fpumpfun-bundler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TopTrenDev%2Fpumpfun-bundler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TopTrenDev%2Fpumpfun-bundler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TopTrenDev%2Fpumpfun-bundler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TopTrenDev","download_url":"https://codeload.github.com/TopTrenDev/pumpfun-bundler/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239576779,"owners_count":19662114,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","bundler","buy","pool","pump","pumpfun","pumpfun-bot","pumpfun-bundler","pumpfun-tool","solana","solana-bundle"],"created_at":"2025-02-19T01:18:46.212Z","updated_at":"2026-05-02T01:35:00.753Z","avatar_url":"https://github.com/TopTrenDev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **PumpFun Bundler**  \n\n**An efficient self-bundling script for creating and buying tokens with 20 different wallets in one single bundle on the PumpFun protocol.**  \n\nThe **PumpFun Bundler** is a fast, efficient tool for creating tokens and buying them using up to **20 different wallets** in one bundled transaction. This script simplifies the process of managing multiple wallets and tokens while ensuring a smooth and seamless token creation and purchase experience on the **PumpFun platform**.\n\n\n[![Twitter](https://img.shields.io/badge/Twitter-@toptrendev-black?style=for-the-badge\u0026logo=twitter\u0026logoColor=1DA1F2)](https://x.com/toptrendev)\n[![Discord](https://img.shields.io/badge/Discord-toptrendev-black?style=for-the-badge\u0026logo=discord\u0026logoColor=5865F2)](https://discord.com/users/648385188774019072)\n[![Telegram](https://img.shields.io/badge/Telegram-@toptrendev_641-black?style=for-the-badge\u0026logo=telegram\u0026logoColor=2CA5E0)](https://t.me/toptrendev_641)\n\n---\n\n## **📌 Overview**  \n\nThe **PumpFun Bundler** allows you to create tokens and buy them across multiple wallets using a single bundled transaction. It's designed to be the **best, fastest**, and **most efficient** way to launch tokens on the **PumpFun site**.\n\n---\n\n## **⚙️ Installation**\n\nTo install the PumpFun Bundler SDK, run the following npm command:\n\n```bash\nnpm i pumpdotfun-sdk\n```\n\n---\n\n## **🛠️ Usage Example**\n\n### Step 1: Set up your environment\n\n1. Create a `.env` file and add your RPC URL (refer to `.env.example` for the format).\n\n2. Fund an account with at least **0.004 SOL** (which will be generated when you run the command below).\n\n### Step 2: Edit Token Metadata\n\nYou can customize the metadata for your token as desired. Here's an example:\n\n```typescript\nconst metadata = {\n  name: \"SolTrendingToken\",\n  symbol: \"STT\",\n  description: \"Solana Trending Token\",\n  image: \"./upload/img.jpg\",\n  showName: true,\n  createdOn: \"https://pump.fun\",\n  twitter: \"https://x.com/soltrendev\",\n  telegram: \"https://t.me/soltrendev\",\n  website: \"https://soltrendev\"\n}\n```\n\n### Step 3: Run the Token Launch\n\nRun the following command to launch your token and perform bundling:\n\n```bash\nnpx ts-node example/basic/index.ts\n```\n\nYou can check your token launch and bundling:\n\n- **PumpFun Site**: [View Token Launch](https://pump.fun/2q4JLenwD1cRhzSLu3uPMQPw4fTEYp7bLtfmBwFLb48v)\n- **Solscan**: ![Solscan Example](image.png)\n\n---\n\n## **💻 PumpDotFunSDK Class**  \n\nThe `PumpDotFunSDK` class provides methods to interact with the **PumpFun** protocol. Below are the method signatures and their descriptions.\n\n### **`createAndBuy` Method**  \n\n```typescript\nasync createAndBuy(\n  creator: Keypair,\n  mint: Keypair,\n  createTokenMetadata: CreateTokenMetadata,\n  buyAmountSol: bigint,\n  slippageBasisPoints: bigint = 500n,\n  priorityFees?: PriorityFee,\n  commitment: Commitment = DEFAULT_COMMITMENT,\n  finality: Finality = DEFAULT_FINALITY\n): Promise\u003cTransactionResult\u003e\n```\n\n- **Creates a new token and buys it.**\n- **Parameters**:\n  - `creator`: The keypair of the token creator.\n  - `mint`: The keypair of the mint account.\n  - `createTokenMetadata`: Metadata for the token.\n  - `buyAmountSol`: Amount of SOL to buy.\n  - `slippageBasisPoints`: Slippage in basis points (default: 500).\n  - `priorityFees`: Optional priority fees.\n  - `commitment`: Commitment level (default: `DEFAULT_COMMITMENT`).\n  - `finality`: Finality level (default: `DEFAULT_FINALITY`).\n- **Returns**: A promise that resolves to a `TransactionResult`.\n\n---\n\n## **🚀 Running the Examples**\n\n### **Basic Example**\n\nTo run the basic example for creating, buying, and selling tokens, use:\n\n```bash\nnpx ts-node example/basic/index.ts\n```\n\n---\n\n## **💡 Contributing**\n\nWe welcome contributions to this project! If you have any ideas, improvements, or fixes, please feel free to submit a **Pull Request** or open an **Issue**.\n\n---\n\n## **🔥 PumpFun Bundler V2**\n\n### **Introducing PumpFun Bundler Version 2**\n\nNow you can create and buy tokens with **20 wallets in a single bundle**. This new version further improves efficiency and simplifies the process for users managing multiple wallets.\n\n- **Example**:  \n  [View Example Transaction](https://explorer.jito.wtf/bundle/28d842bef7c919cee00798cee05bb15616bdf96574a8428a27b81c71252342e0)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoptrendev%2Fpumpfun-bundler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoptrendev%2Fpumpfun-bundler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoptrendev%2Fpumpfun-bundler/lists"}