Pre-release · not yet deployed or audited

Launch on any curve. Graduate at its price.

Pina Bonding Curve runs self-serve token launchpads on Solana. One configuration fixes the curve, the supply, and the fees. Every token launched under it sells along that curve, then graduates into a Pina AMM pool at exactly the price it reached.

ProgramCurveqeE6jzkyHQMcWaGENzd7jrd8m9R1u4dZ17GnSa9

Try a launch

1 billion tokens, raising 85 SOL

The launch's price rising along its curve as tokens sell. The shaded area is the SOL the curve holds. At 85 SOL the launch completes and graduates into a Pina AMM pool at the same price. completes at 85 SOLPina AMM pool
Raised
42.5 of 85 SOL
Sold
582.4M tokens
Price
0.19 SOL per 1M
1 SOL buys
2.6M tokens after a 50% fee

Fill the curve to 85 SOL to complete the launch, then graduate it.

A launchpad you write, not one you rent

Anyone can run a launchpad by writing one configuration: the price curve, the supply, the fees, the creator's terms, and how launches graduate.

  • Curves of any shape

    A curve is up to 16 segments of concentrated liquidity. One segment is the classic pump-style curve; more segments approximate any rising price schedule.

    Read more →
  • A launchpad is one account

    Configurations are immutable and self-serve. Create one for your app, game, or community and share its address. There is no admin, allowlist, or pause switch.

    Read more →
  • Fair by construction

    Each launch mints a fixed supply and revokes the mint authority in the same instruction. An opening fee that decays over the first seconds taxes sniping bots instead of buyers.

    Read more →
  • Graduation nobody can front-run

    Launches graduate into a Pina AMM tier that only this program can create pools in, at the curve's final price. LP not paid to the creator or partner is burned.

    Read more →
  • Revenue for creators and partners

    Trading and migration fees split between the token's creator and the launchpad's partner, a creator allocation vests on a schedule, and the graduated pool can keep paying a creator fee.

    Read more →
  • Exact and cheap

    Integer math with 256-bit intermediates rounds every step in the curve's favour, and a buy costs about 8,400 compute units including both token transfers.

    Read more →

From launch to pool in three states

  1. Trading

    Buys and sells move the price along the curve. The trading fee opens high and falls to the end rate.

  2. Completed

    The buy that reaches the migration price completes the launch and pays only for what the curve used. Trading stops.

  3. Graduated

    Anyone can graduate it. The raised SOL and reserved tokens open a Pina AMM pool at the curve's final price, and unsold tokens burn.

per buy, both transfers included
8,400CU
segments a curve can use
16
account per launchpad
1
admins, allowlists, or pause switches
0

The end-to-end suite runs every instruction against the compiled program and fails if a buy exceeds 10,000 compute units. See the measurements.

A client for your stack

Rust, TypeScript, Dart, and on-chain CPI clients are generated from the program's IDL, so they always match it. The pina-curve CLI designs curves offline and runs launches from the terminal.

import { fetchLaunch, getBuyInstruction } from "@pina-rs/bonding-curve";
import { createSolanaRpc } from "@solana/kit";

const rpc = createSolanaRpc("https://api.devnet.solana.com");
const { data: launch } = await fetchLaunch(rpc, launchAddress);

const instruction = getBuyInstruction({
	trader: wallet,
	config: launch.config,
	launch: launchAddress,
	traderBase: walletBaseToken,
	traderQuote: walletQuoteToken,
	baseVault: launch.baseVault,
	quoteVault: launch.quoteVault,
	baseTokenProgram,
	quoteTokenProgram,
	quoteAmountIn: 1_000_000_000n,
	minimumBaseOut: 33_000_000_000_000n,
});
TypeScript guide →

Every launch ends in a real pool

Graduation creates a Pina AMM pool in a tier only this program can open pools in, so nobody can create it first. Someone who bought the last token on the curve sees the same price on the pool a block later.

Graduates intoPina AMMA permissionless constant-product market maker whose pools lock their fee rates when they are created.