npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

pump-kit

v0.2.5

Published

![Pump Kit - Solana Kit 6](https://amaranth-manual-buzzard-640.mypinata.cloud/ipfs/bafkreif6akiu636nsc53bkexhuxoy3ddscyjepsbjdzldf3wxyl6rl4tqm)

Readme

Pump Kit

Pump Kit - Solana Kit 6

npm version Bun >= 1.3.0 Node.js >= 20

A TypeScript SDK for Pump.fun built on Solana Kit 6. Designed for high-performance applications including launch bots, bundlers, and low-latency trading systems using latest Solana best practices.

Features

  • Solana Kit 6 – Built on the latest Solana development framework
  • Modern transaction patterns – Optimized for speed and reliability
  • Unified swapsbuy/sell auto-route between bonding curves and AMM pools
  • Curve helpers – Direct access to bonding-curve instructions when you need them (curveBuy, curveSell)
  • AMM helpers – Deterministic AMM operations with percentage-aware selling (ammBuy, ammSell)
  • Automatic slippage protection – Built-in guards for buy/sell operations
  • Full TypeScript support – Strongly typed throughout with complete type coverage

TODO

These are the next actions we need to make happen:

  • create pump fun curve launch helpers with dev buy
  • provide/remove liquidity in existing pool
  • create new liquidity pool

Installation

bun add pump-kit

Quick Start

Setup

import { createSolanaRpc } from "@solana/kit";

const rpc = createSolanaRpc("https://api.mainnet-beta.solana.com");

Buy Tokens (Curve)

import { curveBuy } from "pump-kit";

await curveBuy({
  user: myWallet,
  mint: "TokenMintAddress",
  solAmount: 0.5,        // 0.5 SOL
  slippageBps: 50,       // 0.5% slippage (optional)
  rpc,
});

Sell Tokens (Curve)

import { curveSell } from "pump-kit";

// Sell specific amount
await curveSell({
  user: myWallet,
  mint: "TokenMintAddress",
  tokenAmount: 125_000,
  rpc,
});

// Sell percentage of wallet
await curveSell({
  user: myWallet,
  mint: "TokenMintAddress",
  useWalletPercentage: true,
  walletPercentage: 40,  // Sell 40% of holdings
  rpc,
});

Buy Tokens (AMM)

import { ammBuy } from "pump-kit";

await ammBuy({
  user: myWallet,
  mint: "TokenMintAddress",
  solAmount: 0.5,
  poolCreator: "CreatorAddress", // optional if auto detection works
  rpc,
});

Sell Tokens (AMM)

import { ammSell } from "pump-kit";

await ammSell({
  user: myWallet,
  mint: "TokenMintAddress",
  useWalletPercentage: true,
  walletPercentage: 100,
  poolCreator: "CreatorAddress",
  rpc,
});

API Reference

Curve Swap Helpers

// Buy tokens on the bonding curve
curveBuy({ user, mint, solAmount, slippageBps?, rpc, ... })

// Sell tokens on the bonding curve
curveSell({ user, mint, tokenAmount?, useWalletPercentage?, walletPercentage?, rpc, ... })

AMM Swap Helpers

// Buy tokens from the AMM pool using a SOL budget
ammBuy({ user, mint, solAmount, rpc, quoteMint?, poolCreator?, poolAddress? })

// Sell tokens into the AMM pool (supports percentage-based selling)
ammSell({
  user,
  mint,
  tokenAmount?,
  useWalletPercentage?,
  walletPercentage?,
  rpc,
  quoteMint?,
  poolCreator?,
  poolAddress?,
})

Transaction Utilities

// Build transaction
buildTransaction({ instructions, payer, prependInstructions?, appendInstructions?, rpc })

// Send and confirm
sendAndConfirmTransaction({ instructions, payer, rpc, rpcSubscriptions, ... })

// Simulate transaction
simulateTransaction({ instructions, payer, rpc, options? })

Agent Integration

  • llms.txt provides an LLM-oriented index of the SDK and usage constraints.
  • metadata/actions-registry.json provides a machine-readable action map for tool/agent wrappers.

License

MIT