> ## Documentation Index
> Fetch the complete documentation index at: https://pond.dflow.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Prediction Markets

> Trade prediction market outcome tokens on DFlow

In a prediction market, users trade on the outcome of a real-world event, expressed as a yes or no question (for example, "Will the Boston Red Sox win the World Series?").

DFlow tokenizes [Kalshi](https://kalshi.com) prediction markets on Solana. Kalshi markets span crypto, sports, politics, weather, and more. Each outcome becomes an SPL token that users buy, sell, and redeem through the same API used for spot trading.

Because outcome tokens are standard SPL tokens, they're composable with the rest of the Solana ecosystem. Users can trade in and out before a market resolves or use their positions as collateral in lending protocols, and you can build portfolio tools, automated strategies, and secondary trading on top.

<div className="grid grid-cols-1 sm:grid-cols-2 gap-4 mt-8">
  <a
    href="/prediction-markets/prediction-markets-101"
    className="group block relative overflow-hidden rounded-xl no-underline border border-[#66C5F6]/15 dark:border-[#66C5F6]/5 transition-all hover:scale-[1.02] hover:shadow-[0_0_40px_rgba(102,197,246,0.2)]"
    style={{
  backgroundImage: "url('https://mintcdn.com/dflow/qELrBAnO2isWQljL/images/ui-banner-buttons/button-1.png?fit=max&auto=format&n=qELrBAnO2isWQljL&q=85&s=3c8e03fbb32991bab74335ffd4218703')",
  backgroundSize: "cover",
  backgroundPosition: "center",
  minHeight: "200px",
}}
  >
    <div className="absolute inset-0 bg-gradient-to-b from-black/90 via-black/60 to-black/30" />

    <div className="relative z-10 p-6 h-full">
      <Icon icon="graduation-cap" size={24} color="#66C5F6" />

      <h3 className="mt-3 text-lg font-semibold text-white">Prediction Markets 101</h3>
      <p className="mt-2 text-sm text-white">How prediction markets work, who runs them, and why they're traded onchain.</p>
    </div>

    <div className="absolute bottom-4 right-4 z-10 opacity-60 transition-all group-hover:opacity-100 group-hover:translate-x-1">
      <Icon icon="arrow-right" size={20} color="#66C5F6" />
    </div>
  </a>

  <a
    href="/prediction-markets/prediction-market-data-model"
    className="group block relative overflow-hidden rounded-xl no-underline border border-[#66C5F6]/15 dark:border-[#66C5F6]/5 transition-all hover:scale-[1.02] hover:shadow-[0_0_40px_rgba(102,197,246,0.2)]"
    style={{
  backgroundImage: "url('https://mintcdn.com/dflow/qELrBAnO2isWQljL/images/ui-banner-buttons/button-2.png?fit=max&auto=format&n=qELrBAnO2isWQljL&q=85&s=19f0f3c01f82131c5864e8f2833f454f')",
  backgroundSize: "cover",
  backgroundPosition: "center",
  minHeight: "200px",
}}
  >
    <div className="absolute inset-0 bg-gradient-to-b from-black/90 via-black/60 to-black/30" />

    <div className="relative z-10 p-6 h-full">
      <Icon icon="diagram-project" size={24} color="#66C5F6" />

      <h3 className="mt-3 text-lg font-semibold text-white">Data Model</h3>
      <p className="mt-2 text-sm text-white">Series, events, markets, and outcome tokens, and how they relate.</p>
    </div>

    <div className="absolute bottom-4 right-4 z-10 opacity-60 transition-all group-hover:opacity-100 group-hover:translate-x-1">
      <Icon icon="arrow-right" size={20} color="#66C5F6" />
    </div>
  </a>

  <a
    href="/prediction-markets/recipes/quickstart"
    className="group block relative overflow-hidden rounded-xl no-underline border border-[#66C5F6]/15 dark:border-[#66C5F6]/5 transition-all hover:scale-[1.02] hover:shadow-[0_0_40px_rgba(102,197,246,0.2)] sm:col-span-2"
    style={{
  backgroundImage: "url('https://mintcdn.com/dflow/qELrBAnO2isWQljL/images/ui-banner-buttons/button-3.png?fit=max&auto=format&n=qELrBAnO2isWQljL&q=85&s=26b1d50e6c6b700940d31014864b52df')",
  backgroundSize: "cover",
  backgroundPosition: "center",
  minHeight: "180px",
}}
  >
    <div className="absolute inset-0 bg-gradient-to-b from-black/90 via-black/60 to-black/30" />

    <div className="relative z-10 p-6 h-full">
      <Icon icon="rocket" size={24} color="#66C5F6" />

      <h3 className="mt-3 text-lg font-semibold text-white">Quickstart</h3>
      <p className="mt-2 text-sm text-white">Build a Kalshi prediction market integration end to end.</p>
    </div>

    <div className="absolute bottom-4 right-4 z-10 opacity-60 transition-all group-hover:opacity-100 group-hover:translate-x-1">
      <Icon icon="arrow-right" size={20} color="#66C5F6" />
    </div>
  </a>
</div>
