atomic-collect

Collects pump.fun creator fees and drains wallets atomically inside Jito bundles.

15|2|Updated May 19, 2026
One-click install
npx skills add https://github.com/nirholas/atomic --skill atomic-collect-nirholas
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: atomic-collect
Source: https://github.com/nirholas/atomic/tree/main/skills/collect
Command: npx skills add https://github.com/nirholas/atomic --skill atomic-collect-nirholas

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When a pump.fun creator key is shared or leaked, any non-atomic fee collection leaves a window where another key-holder or sweeper bot can call collectCoinCreatorFee first and drain the vault. This Skill performs fee collection and fund transfer in a single atomic Solana transaction inside a Jito bundle, eliminating that race window. ## Core Features & Use Cases - One-shot atomic collect: Runs collectCoinCreatorFee plus a transfer to a safe destination wallet plus a Jito tip in one transaction via collect-jito.js. - Long-running watcher: watch-collect.js polls the vault balance every 30 seconds and triggers collection once it exceeds a configurable MIN_COLLECT_SOL threshold. - Full consolidation: consolidate.js drains the vault, creator wallet, and funder wallet to a safe wallet in one Jito bundle, for retiring a coin or shutting down a leaked key. - Use Case: A creator key has leaked and bots are watching the vault. You run the watcher with a cold DESTINATION wallet so every fee accrual above 0.05 SOL is swept atomically before any competing collector can land. ## Quick Start Set DESTINATION, FUNDER_SECRET, CREATOR_SECRET, and JITO_TIP in your environment, then ask the assistant to run npm run collect from the repo root to atomically collect the pump.fun creator fees into your safe wallet.

Frequently Asked Questions about atomic-collect

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I collect pump.fun creator fees safely with a leaked key?▼

Use an atomic collection flow that bundles collectCoinCreatorFee, the transfer to a safe wallet, and a Jito tip into one transaction inside a Jito bundle. This removes the window where another key-holder or sweeper bot could collect first.

How to automatically sweep a pump.fun vault when it reaches a threshold?▼

Run watch-collect.js, which polls the vault balance every 30 seconds and triggers the atomic collect once the balance reaches MIN_COLLECT_SOL. Set the threshold above the Jito tip plus transaction fee so each cycle stays net-positive.

Can I drain the creator and funder wallets along with the pump.fun vault?▼

Yes, consolidate.js drains the vault, creator wallet, and funder wallet to a safe destination in a single Jito bundle. Afterward only rent-exempt minimums remain, and closing the accounts must be done separately.

Why are my Jito bundles failing to land during fee collection?▼

Bundles that silently fail are usually starved by an insufficient Jito tip. Increase JITO_TIP first before debugging other causes, especially if the watcher reports zero landings while the vault keeps growing.

What wallet should receive collected pump.fun creator fees?▼

Use a cold wallet you control alone as DESTINATION, never the creator or funder pubkey and never an exchange deposit address. Atomicity only covers the Solana transaction, not custodial flows downstream.