█████╗ ████████╗ ██████╗ ███╗ ███╗██╗ ██████╗
██╔══██╗╚══██╔══╝██╔═══██╗████╗ ████║██║██╔════╝
███████║ ██║ ██║ ██║██╔████╔██║██║██║
██╔══██║ ██║ ██║ ██║██║╚██╔╝██║██║██║
██║ ██║ ██║ ╚██████╔╝██║ ╚═╝ ██║██║╚██████╗
╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═════╝
all-or-nothing pump.fun launching & fee collection
Atomic create. Atomic collect. No window for a sweeper bot.
Table of contents
At a glance
| |
|---|
| Atomic launch | funder pays rent + Jito tip in Tx1, creator signs createV2 in Tx2 — both land or neither does |
| Atomic collect | collectCoinCreatorFee + drain to safe wallet in one tx, so a leaked creator key can't be swept |
| MEV-aware | every multi-step money flow runs inside a Jito bundle, so no searcher can interleave |
| Tiny surface | plain CommonJS scripts under src/, TS helpers under src/lib/, read-only CLI tools under tools/ |
| Pure env-driven | every script is configured with environment variables — copy .env.example and go |
pump-launch-toolkit
Atomic scripts for launching, collecting fees from, and trading pump.fun coins. Built around Jito bundles for atomicity across multiple txs — useful when:
- You need the create tx's fee payer to differ from the wallet supplying the SOL (separate funder vs creator)
- The creator wallet has a public/shared private key (e.g. multi-sig setup, or you accept other signers exist) and you want every fee collection to atomically move the SOL to a safe wallet on the same tx
- You want to win the race against MEV/sweeper bots watching specific addresses
⚠️ Secrets handling. All scripts read keypairs from environment variables (base58) or local JSON files. Never commit either form. .gitignore excludes *.json by default (with allowlist exceptions for package.json, tsconfig.json, and lockfiles).
Layout
.
├── src/ Runnable scripts (CommonJS, run via `node src/<name>.js`)
│ ├── fire-jito.js, collect-jito.js, …
│ └── lib/ Shared TS helpers
│ ├── funding-source.ts detectSeededByPump implementation
│ ├── programs.ts Pump.fun program IDs + fee recipients
│ └── funding-source.test.ts
├── tools/ Read-only CLI tools (run via tsx)
│ ├── check-pump-funding.ts CLI wrapper around detectSeededByPump
│ ├── sanity-check.ts Pre-flight env / keypair / balance check
│ ├── check-balances.ts SOL + SPL / Token-2022 balances for a wallet
│ ├── check-bundle-status.ts Query a Jito bundle by UUID
│ ├── check-tip-accounts.ts Diff live Jito tip accounts against the hardcoded list
│ └── analyze-holders.ts Holder distribution, concentration, Gini
├── .env.example Copy to `.env` and fill in
├── package.json npm scripts cover every runnable file
└── tsconfig.json Type-checks src/lib/ + tools/
Docs