pumpwrapped

Pump Wrapped (unofficial)

Paste a pump.fun username (or a wallet address) and get that wallet’s year: trades, realized profit and loss, win rate, best and worst trade, rugs eaten, biggest fumble, coins launched, creator fees, a trader type, and a share card. Read-only: no wallet connect, nothing to sign.

Fan-made. Not affiliated with pump.fun. The site says so in the header, footer and on every card.

Put it online

Vercel (no install needed)

  1. Push this folder to a GitHub repo and import it in Vercel. No framework, no build step.
  2. Add one environment variable: HELIUS_API_KEY (from dashboard.helius.dev).
  3. Deploy. public/ is the site, each file in api/ becomes a function.

Any server with Node 18+

HELIUS_API_KEY=your_key node server.js      # http://localhost:3000

Make it yours

Everything you are likely to change is in the PW_CONFIG block at the top of public/index.html:

Setting What it does
brand, year Name and year shown everywhere, including the share card
site Your domain, used in the share text
xUrl Shows an X link in the header when set
coin.ca, coin.symbol Paste a contract address to show the coin block with Copy CA and Buy on pump.fun
maxTx, maxCoins How much of a very active wallet to read and price

Share links work as https://yourdomain/?u=username.

How it works

browser ── /api/profile?user=name ──> pump.fun   username -> wallet, profile, launches, creator fees
        ── /api/txs?wallet=..     ──> Helius     the year's transactions, a few pages per call
        ── /api/tokens (POST)     ──> DexScreener + pump.fun   prices, names, all-time highs
        engine.js turns the records into the wrap, app.js shows it

Check these on your first live run

The code was tested end to end against stand-in copies of the three upstream APIs, not against the real ones (the build environment had no outside network access). Before you share the link:

  1. pump.fun endpoints. They are the ones pump.fun’s own site calls and are undocumented, so field names can shift. Open /api/profile?user=YOURNAME&raw=1 to see exactly what pump.fun returned next to what the site understood. The pickers live in lib/pump.js. If pump.fun blocks your host’s IP, the username lookup fails with a clear message and wallet addresses still work.
  2. Creator fees and all-time highs. Both are only shown when a recognised field is present (totalFeesSOL, shareholderTotalEarned, ath_market_cap). If the Dev card or the fumble card never appears, compare the raw output with creatorFees() and shapeCoin() in lib/pump.js.
  3. Your own wallet. Wrap a wallet whose numbers you know and compare.

Cost

Each page of 100 transactions is one Helius Enhanced Transactions request, which costs more credits than a plain RPC call (check the rate on your plan). A wallet with 20,000 transactions is about 200 requests. maxTx caps the worst case, and repeat visits are served from cache.

Tests

npm test

16 tests: the profit and loss rules (round trips, average cost, dead coins, airdrops, transfers, stablecoins, fumbles) and the three API routes against canned upstream responses.

Not built yet