AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Pumpfun

skill-vo1ganin-crypto-claude-skills-pumpfun · by Vo1ganin

|

No reviews yet
0 installs
22 views
0.0% view→install

Install

$ agentstack add skill-vo1ganin-crypto-claude-skills-pumpfun

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access Used
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-vo1ganin-crypto-claude-skills-pumpfun)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Pumpfun? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

pump.fun Skill

Reference files:

  • references/mechanics.md — bonding curve math, reserves, migration, program IDs
  • references/trading-api.md — PumpPortal Lightning + Local APIs, all params
  • references/streaming.md — WebSocket data API, subscriptions, one-connection rule
  • references/onchain.md — direct RPC parsing + Dune tables + Bitquery GraphQL
  • references/examples/ — working Python scripts (sniper, copytrade, migration watcher)

🚨 Rule #1: ONE WebSocket connection for ALL subscriptions

PumpPortal WS (wss://pumpportal.fun/api/data) bans clients who open multiple connections. Always:

  • Open ONE connection
  • Send all subscribe messages on that single connection
  • Reconnect on disconnect — never open parallel connections

See references/streaming.md for pattern.

🚨 Rule #2: pick the right trading mode

PumpPortal Lightning (POST /api/trade?api-key=KEY):

  • PumpPortal signs & submits your transaction
  • 0.5% fee per trade on top of pump.fun's fees
  • Routes through dedicated Solana nodes + SWQoS + Jito bundles automatically
  • Use for: quick prototypes, trading bots where latency doesn't need absolute minimum

PumpPortal Local (POST /api/trade-local):

  • Returns a serialized unsigned transaction
  • You sign with your own wallet + submit via your own RPC
  • No additional fee beyond network / Jito
  • Use for: production bots, when you want full control over RPC, signing, keys

Rule of thumb: Local if you're serious, Lightning if you're testing. For sniping: Local + Helius Sender + Jito bundle.

🚨 Rule #3: jitoOnly: true for competitive landing

On creations (first N blocks after mint) competition is fierce. Set jitoOnly: true on the trading call → PumpPortal routes exclusively through Jito bundles. Higher landing rate during mempool congestion.

For very competitive snipes: skip PumpPortal entirely, build tx locally, submit via Jito block engine directly (see jito-skill for bundle mechanics).


Core concepts (memorize these)

Token supply (per pump.fun token)

  • Total: 1,000,000,000 (1B, fixed)
  • On bonding curve: 793,100,000 (79.31%)
  • Reserved for migration: 206,900,000 (20.69%, seeds the AMM pool on graduation)

Bonding curve progress formula

progress_pct = 100 - (((tokens_in_curve - 206_900_000) * 100) / 793_100_000)

At 100% → token migrates to PumpSwap (or sometimes Raydium depending on era).

Price discovery

Constant-product AMM with virtual reserves. Initial launch reserves (classic values):

  • Virtual SOL: 30
  • Virtual tokens: 1,073,000,000
price = (virtualSol + realSol) / (virtualTokens + realTokens)

Non-linear — early buyers win most.

Main program ID

6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P

Filter DEX trades / instructions by this address.


Step-by-step workflow

1. Identify the task

  • Real-time stream → PumpPortal WS
  • One-off trade → Lightning (fast) or Local (full control)
  • Bot with repeated trades → Local + own RPC + Jito tips
  • Historical analysis → Dune tables
  • Single-wallet creator analysis → Helius getTransactionsForAddress filtered by program

2. Pick the right API See "Data access options" in references/mechanics.md for the decision matrix.

3. Setup

  • Get PumpPortal API key at https://pumpportal.fun/ (required for Lightning, not for Data/Local)
  • Ensure SOLANA_RPC_URL is set (see solana-rpc-skill) — Local API + own signing requires your own RPC

4. Execute

  • Streaming: async WebSocket client (see examples/ws_monitor.py)
  • Trading (Lightning): simple httpx POST
  • Trading (Local): request unsigned tx, sign with solders/web3.js, submit via RPC

5. Handle failures

  • PumpPortal WS disconnects: reconnect, resend all subscribes
  • Trade rejected: check slippage + priorityFee, raise both if sniping hot coin
  • Jito bundle failed: retry with higher tip (see jito-skill)

Common patterns

Sniper bot (new token creation → auto-buy)

WS subscribeNewToken
  ↓ event received
Local API: request unsigned buy tx
  ↓
Sign with hot wallet
  ↓
Submit via Helius Sender OR Jito bundle
  ↓ (if Jito) include tip to JitoFeeAccount

Full example: references/examples/sniper_bot.py.

Copytrade (mirror KOL trades)

WS subscribeAccountTrade keys=[KOL1, KOL2, ...]
  ↓ KOL bought token X
Local API: request buy for same mint
  ↓ (optional) wait N ms to let KOL's tx land
Submit your buy

Example: references/examples/copytrade_watcher.py.

Migration watcher

WS subscribeMigration
  ↓ event received: token X migrated to PumpSwap
→ Optionally trade on PumpSwap (use solana-rpc-skill or Jupiter)

Example: references/examples/migration_watcher.py.

Historical analysis via Dune

-- Tokens created per day last month with final market cap
SELECT date_trunc('day', block_time) AS day,
       COUNT(*) AS tokens_created
FROM pumpdotfun_solana.pump_evt_create
WHERE block_time >= NOW() - INTERVAL '30' DAY
GROUP BY 1
ORDER BY 1

More templates when dune-skill is available.


Error & edge cases

  • "Bonding curve not initialized" — token doesn't exist yet or instruction called before create
  • "Insufficient liquidity" — tried to buy/sell more than curve can support; reduce amount
  • "Slippage exceeded" — curve moved during tx build → submit; retry with higher slippage
  • Token already migrated — stops being tradeable on bonding curve after 100% progress; use pool: "pump-amm" or pool: "auto"
  • WS 403/disconnect — likely hit rate limit or opened multiple connections; wait, reconnect on single conn only

Reference files

  • references/mechanics.md — bonding curve math, program IDs, supply math
  • references/trading-api.md — PumpPortal Lightning + Local with all params
  • references/streaming.md — WS subscriptions + single-connection pattern
  • references/onchain.md — raw RPC parsing, Dune queries, Bitquery GraphQL
  • references/examples/ws_monitor.py — WebSocket listener template
  • references/examples/sniper_bot.py — new-token sniper (Local + Helius Sender)
  • references/examples/copytrade_watcher.py — mirror KOL wallets
  • references/examples/migration_watcher.py — detect graduations to PumpSwap

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.