Skip to content
Back to skills

Pump Bonding Curve

ASecurity

Bonding curve math for Pump.fun SDK — quote, slippage, market cap, graduation progress

  • 61 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 6, 2026
toolstypescriptbash

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 2 files and shows the line behind each finding

Scanned September 6, 2026

npx -y skills add plurigrid/asi --skill pump-bonding-curve --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pump Bonding Curve?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pump Bonding Curve
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/plurigrid-pump-bonding-curve/badge)](https://www.skillsdirectory.com/skills/plurigrid-pump-bonding-curve)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pump-bonding-curve
description: Bonding curve math for Pump.fun SDK — quote, slippage, market cap, graduation progress
type: chain
trit: -1
---

# Pump Bonding Curve

Bonding curve math primitives from the Pump.fun protocol on Solana.

## Trit: -1 (MINUS — Validator)

Validates price quotes and slippage before execution.

## Core Functions

| Function | Returns | Description |
|----------|---------|-------------|
| `getBuyTokenAmountFromSolAmount(global, curve, solAmount)` | `BN` | Tokens received for SOL input |
| `getBuySolAmountFromTokenAmount(global, curve, tokenAmount)` | `BN` | SOL cost for token amount |
| `getSellSolAmountFromTokenAmount(global, curve, tokenAmount)` | `BN` | SOL received for selling |
| `bondingCurveMarketCap(global, curve)` | `BN` | Current market cap in lamports |
| `getGraduationProgress(global, curve)` | `GraduationProgress` | Progress toward AMM migration |

## On-Chain Programs

| Program | ID | Purpose |
|---------|----|---------| 
| Pump | `6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P` | Bonding curve ops |
| PumpAMM | `pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA` | Graduated AMM pools |

## SDK

```bash
npm install @pump-fun/pump-sdk
```

```typescript
import { PUMP_SDK, getBuyTokenAmountFromSolAmount } from "@pump-fun/pump-sdk";
const global = await sdk.fetchGlobal();
const tokens = getBuyTokenAmountFromSolAmount(global, bondingCurve, solAmount);
```

## GF(3) Triad

```
pump-bonding-curve (-1) ⊗ pump-token-launch (0) ⊗ pump-trading (+1) = 0 ✓
```

Files in this skill

  • CONCOMITANT_SKILLS.md928 B
  • SKILL.md1.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.