> ## 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.

# Welcome to DFlow

> DFlow is a trading protocol that enables traders to exchange value across spot and prediction markets natively on Solana.

<style>
  {`
    body, html { background-color: #0C1218 !important; }
    `}
</style>

<div
  className="hero-background relative w-full"
  style={{
backgroundSize: "cover",
backgroundPosition: "center",
minHeight: "300px",
}}
>
  <div className="absolute inset-0 bg-black/40" />

  <div className="relative z-10 flex min-h-[220px] flex-col items-center justify-center px-6 py-12 text-center">
    <h1 className="mb-6 text-5xl font-semibold text-white" style={{ textShadow: "0 2px 12px rgba(0, 0, 0, 0.6)" }}>Build with DFlow</h1>

    <p className="mb-8 max-w-3xl text-lg text-white" style={{ textShadow: "0 2px 8px rgba(0, 0, 0, 0.8)" }}>
      One unified API to trade spot crypto and prediction markets natively on Solana.
    </p>

    <a href="/get-started/what-is-dflow" className="inline-flex items-center gap-2 rounded-full bg-[#66C5F6] px-7 py-3 text-base font-semibold text-gray-900 shadow-lg transition-all hover:opacity-90">
      Get Started

      <Icon icon="arrow-right" size={18} color="#0a0a0a" />
    </a>
  </div>
</div>

<div className="bg-[#0C1218] min-h-screen">
  <div className="mx-auto max-w-[1080px] px-6 pt-12 pb-24">
    <h2 className="mb-4 text-2xl font-bold text-white">Products</h2>

    <div className="grid grid-cols-1 sm:grid-cols-2 gap-4">
      <a href="/spot/introduction" className="group block relative overflow-hidden rounded-xl no-underline border border-[#66C5F6]/15 transition-all hover:scale-[1.02] hover:shadow-[0_0_40px_rgba(102,197,246,0.2)] bg-gradient-to-br from-[#082035] to-[#0C1218]" style={{ minHeight: "180px" }}>
        <div className="relative z-10 p-6 h-full">
          <Icon icon="arrow-right-arrow-left" size={24} color="#66C5F6" />

          <h3 className="mt-3 text-xl font-semibold text-white">Spot Trading</h3>
          <p className="mt-2 text-sm text-[#94D2F2]">Swap any pair of Solana tokens through one aggregated liquidity API.</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/introduction" className="group block relative overflow-hidden rounded-xl no-underline border border-[#66C5F6]/15 transition-all hover:scale-[1.02] hover:shadow-[0_0_40px_rgba(102,197,246,0.2)] bg-gradient-to-br from-[#082035] to-[#0C1218]" style={{ minHeight: "180px" }}>
        <div className="relative z-10 p-6 h-full">
          <Icon icon="chart-line" size={24} color="#66C5F6" />

          <h3 className="mt-3 text-xl font-semibold text-white">Prediction Markets</h3>
          <p className="mt-2 text-sm text-[#94D2F2]">Trade Kalshi YES and NO outcome tokens across crypto, sports, politics, and more.</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>

    <h2 className="mb-4 mt-12 text-2xl font-bold text-white">Tools & Reference</h2>

    <div className="grid grid-cols-1 sm:grid-cols-2 gap-4">
      <a href="/ai/introduction" className="group block relative overflow-hidden rounded-xl no-underline border border-[#66C5F6]/15 transition-all hover:scale-[1.02] hover:shadow-[0_0_40px_rgba(102,197,246,0.2)] bg-gradient-to-br from-[#082035] to-[#0C1218]" style={{ minHeight: "180px" }}>
        <div className="relative z-10 p-6 h-full">
          <Icon icon="robot" size={24} color="#66C5F6" />

          <h3 className="mt-3 text-xl font-semibold text-white">Build with AI</h3>
          <p className="mt-2 text-sm text-[#94D2F2]">Agent CLI, MCP server, and Claude Code skills for connecting AI agents to DFlow.</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="/resources/introduction" className="group block relative overflow-hidden rounded-xl no-underline border border-[#66C5F6]/15 transition-all hover:scale-[1.02] hover:shadow-[0_0_40px_rgba(102,197,246,0.2)] bg-gradient-to-br from-[#082035] to-[#0C1218]" style={{ minHeight: "180px" }}>
        <div className="relative z-10 p-6 h-full">
          <Icon icon="code" size={24} color="#66C5F6" />

          <h3 className="mt-3 text-xl font-semibold text-white">APIs</h3>
          <p className="mt-2 text-sm text-[#94D2F2]">Trading, Metadata, and Proof API references, plus troubleshooting and wallet integration guides.</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>
  </div>
</div>
