pump-bonding-curve

Community

Pump token pricing & AMM math

Authornirholas
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides the core mathematical logic for pricing Pump tokens on a constant-product bonding curve, enabling accurate buy/sell quotes and market cap calculations.

Core Features & Use Cases

  • Bonding Curve Math: Implements the $x \times y = k$ formula for token pricing.
  • Fee Calculations: Handles fee stripping, tiered fees based on market cap, and creator fees.
  • Reserve Management: Differentiates between virtual and real reserves for accurate trading.
  • Use Case: Calculate the exact amount of SOL needed to buy 1000 tokens, or the SOL received from selling 5000 tokens, considering all applicable fees and the current bonding curve state.

Quick Start

Calculate the SOL output for selling 1000 tokens on the bonding curve.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pump-bonding-curve
Download link: https://github.com/nirholas/pump-fun-sdk/archive/main.zip#pump-bonding-curve

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.