# PNP Exchange Docs ## Docs - [What's PNP?](https://pnpprotocol.mintlify.app/index.md): PNP Exchange — decentralized prediction market protocol on Solana with bonding curve liquidity and LLM oracle settlement. - [Why PNP](https://pnpprotocol.mintlify.app/why-we-build-this.md): Reimagining the prediction market lifecycle: creation → trading → settlement - [How to use](https://pnpprotocol.mintlify.app/how-to-use.md): This page guides you through creating prediction markets and trading, providing step-by-step instructions to participate easily and confidently. - [Core Features](https://pnpprotocol.mintlify.app/core-features.md): Core features of PNP Exchange: creator revenue, permissionless launches, LLM oracle settlement, bonding curve liquidity, and the PNP DAO. - [General Predictions](https://pnpprotocol.mintlify.app/general.md): This section details the process for setting up general prediction markets, where participants can predict and trade outcomes on any topic - from politics and sports to entertainment and world events. - [YouTube Predictions](https://pnpprotocol.mintlify.app/youtube.md): This section details the process for setting up YouTube-based markets, where participants can predict and trade outcomes tied to viewership and engagement data. - [Coin Predictions](https://pnpprotocol.mintlify.app/coin.md): This section details the process for setting up cryptocurrency-based markets, where participants can predict and trade outcomes tied to coin price movements and market data. - [Twitter Predictions](https://pnpprotocol.mintlify.app/twitter.md): This section details the process for setting up Twitter-based markets, where participants can predict and trade outcomes tied to tweet engagement and social metrics. - [DefiLlama Predictions](https://pnpprotocol.mintlify.app/defillama.md): This section details the process for setting up DefiLlama-based markets, where participants can predict and trade outcomes tied to DeFi protocol metrics and TVL data. - [2nd Derivative Kalshi Markets](https://pnpprotocol.mintlify.app/kalshi-derivative.md): Build prediction markets on top of prediction markets — the meta-layer for information aggregation - [Oracle Settlement](https://pnpprotocol.mintlify.app/quickstart.md): How PNP settles prediction markets using LLM oracles with evidence-first evaluation, time-bounded lookups, and PNP DAO as the backstop. - [Fee Structure](https://pnpprotocol.mintlify.app/development.md): PNP fee breakdown: creators earn 30% of volume fees, 20% goes to DAO settlement, and the rest funds protocol growth and trading incentives. - [Bonding Curve](https://pnpprotocol.mintlify.app/bonding.md): How PNP uses a Pythagorean bonding curve AMM for continuous on-chain prediction market liquidity without order books. - [Market Models](https://pnpprotocol.mintlify.app/module.md): PNP's market models: Pythagorean AMM (V2), Parimutuel P2P (V3), Virtual Liquidity PAMM (EVM), and Bubblegum (launchpad). - [SDK Overview](https://pnpprotocol.mintlify.app/sdk/overview.md): pnp-core is a lean, type-safe TypeScript SDK for the PnP prediction-market protocol on Solana. Install it, construct a client, and create or trade markets in a few lines. - [Create a Market](https://pnpprotocol.mintlify.app/sdk/create-market.md): Create every type of PnP market with pnp-core — parimutuel (P2P) and Pythagorean (AMM) markets, with general, coin, or YouTube resolution and optional custom odds. - [Trading & Redemption](https://pnpprotocol.mintlify.app/sdk/trading.md): Take a position in a P2P market, read live odds, and redeem winning positions with pnp-core. - [Custom Oracles & Settlement](https://pnpprotocol.mintlify.app/sdk/custom-oracles.md): Designate your own settler, resolve markets, attach settlement criteria, and read the PnP AI oracle with pnp-core. - [Refunds](https://pnpprotocol.mintlify.app/sdk/refunds.md): Reclaim unmatched collateral from a P2P market with pnp-core's creatorWithdraw, and understand how unresolvable markets are handled. - [API Reference](https://pnpprotocol.mintlify.app/sdk/api-reference.md): Complete reference for pnp-core — the PnpClient, the p2p / amm / oracle namespaces, helper functions, constants, and exported types. - [Examples & Best Practices](https://pnpprotocol.mintlify.app/sdk/guides.md): End-to-end pnp-core recipes — read-only clients, browser wallets, unit handling, error handling, and security guidance. - [PAMM Overview](https://pnpprotocol.mintlify.app/pamm/overview.md): Virtual Liquidity AMM (PAMM) — a constant product market maker for binary prediction markets on EVM chains. No LPs, no order books, just one deposit and instant liquidity. - [How PAMM Works](https://pnpprotocol.mintlify.app/pamm/how-it-works.md): Deep dive into PNP's Virtual Liquidity CPMM — virtual reserves, constant product math, buying and selling mechanics, price dynamics, and edge cases. - [For Market Creators](https://pnpprotocol.mintlify.app/pamm/for-creators.md): How to create a PAMM prediction market, what creators earn, risk profile, and why PAMM is the best bootstrappable liquidity model for spinning up markets fast. - [PAMM Economics](https://pnpprotocol.mintlify.app/pamm/economics.md): Fee architecture, settlement payouts, worked numerical examples, and comparison to other prediction market AMMs for PNP's Virtual Liquidity CPMM. - [What is Bubblegum?](https://pnpprotocol.mintlify.app/bubblegum/overview.md): Bubblegum is a permissionless prediction market launchpad on Solana. Every market launches its own token on a bonding curve — no LPs, no market makers, no seed capital required. - [How Bubblegum Works](https://pnpprotocol.mintlify.app/bubblegum/how-it-works.md): The mechanics behind Bubblegum — bonding curves that feed prediction markets, two independent price axes, and automatic graduation to permanent liquidity. - [Creating Markets](https://pnpprotocol.mintlify.app/bubblegum/creating-markets.md): How to launch a Bubblegum prediction market — choose a question, pick a ticker, and go live in seconds. No capital required. - [Trading on Bubblegum](https://pnpprotocol.mintlify.app/bubblegum/trading.md): How to buy and sell YES/NO prediction outcomes on Bubblegum markets using SOL — trading mechanics, slippage, and what happens at settlement. - [For Creators](https://pnpprotocol.mintlify.app/bubblegum/for-creators.md): How Bubblegum market creators earn revenue — fee splits, settlement rewards, and why creating popular markets is the best strategy. ## OpenAPI Specs - [openapi](https://pnpprotocol.mintlify.app/api-reference/openapi.json) ## Optional - [Website](https://www.pnp.exchange/) - [X](https://x.com/predictandpump) - [GitHub](https://github.com/pnp-protocol) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.