> ## Documentation Index
> Fetch the complete documentation index at: https://companyname-a7d5b98e-ton-storage.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Welcome to TON Blockchain documentation

> Meet the next generation of TON documentation. AI-native, beautiful out-of-the-box, and built for developers.

export const Journey = ({title, description, children}) => {
  return <div className="card block font-normal group mt-4 px-8 pt-8 pb-6 ring-2 ring-transparent rounded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 w-full">
      <h3 className="mb-2 text-balance text-xl sm:text-3xl font-semibold tracking-tight text-gray-900 dark:text-gray-200">
        {title}
      </h3>
      <p className="text-pretty text-lg prose prose-gray dark:prose-invert">
        {description}
      </p>
      {children && <div className="mt-4 overflow-x-auto no-scrollbar">
          <div className="flex flex-row gap-4 py-2 first:ml-2">
            {children}
          </div>
        </div>}
    </div>;
};

export const JourneyStep = ({title, icon, iconType, href, cta, children}) => {
  return <div className="flex-none w-52 max-h-64">
      <a className="card block font-normal group ring-2 ring-transparent rounded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full h-full cursor-pointer hover:!border-primary dark:hover:!border-primary-light" {...href && ({
    href: href
  })}>
        <div className="px-6 py-5 h-full flex flex-col" data-component-part="card-content-container">
          {icon && <div className="h-6 w-6 mb-4 fill-gray-800 dark:fill-gray-100 text-gray-800 dark:text-gray-100 shrink-0" data-component-part="card-icon">
              <Icon icon={icon} iconType={iconType} color="#0098EA" size={16} />
            </div>}
          <div className="flex-1 flex flex-col min-h-0">
            <h2 className="not-prose font-semibold text-base text-gray-800 dark:text-white shrink-0" contentEditable="false" data-component-part="card-title">{title}</h2>
            {children && <div className="prose mt-1 font-normal text-sm leading-6 text-gray-600 dark:text-gray-400 flex-1 overflow-hidden" data-component-part="card-content"><span data-as="p">{children}</span></div>}
            {cta && <div className="mt-8 shrink-0" data-component-part="card-cta"><button className="text-left text-gray-600 gap-2 dark:text-gray-400 text-sm font-medium flex flex-row items-center hover:text-primary dark:hover:text-primary-light">{cta}<svg width="3" height="24" viewBox="0 -9 3 24" className="rotate-0 overflow-visible h-6"><path d="M0 0L3 3L0 6" fill="none" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round"></path></svg></button></div>}
          </div>
        </div>
      </a>
    </div>;
};

<div className="relative w-full box-border flex flex-col mx-auto px-6 max-w-xl sm:max-w-2xl md:max-w-3xl lg:max-w-4xl xl:max-w-5xl">
  <div className="relative isolate">
    {/* color splash */}

    <div aria-hidden="true" className="absolute inset-x-0 -top-40 -z-10 transform-gpu overflow-hidden blur-3xl sm:-top-60">
      <div style={{ clipPath: "polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)" }} className="relative left-[calc(50%-11rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 rotate-[30deg] bg-gradient-to-tr from-[#2d83ec] to-[#1ac9ff] opacity-30 sm:left-[calc(50%-30rem)] sm:w-[72.1875rem]" />
    </div>

    {/* content */}

    <div className="py-16 sm:py-24 lg:py-32 flex flex-col lg:flex-row lg:items-center lg:gap-16 xl:gap-24">
      <div className="w-full lg:flex-[2] mx-auto lg:mx-0 lg:max-w-2xl">
        <div className="text-left">
          <h1 className="text-balance text-4xl sm:mt-16 sm:text-7xl font-semibold tracking-tight text-gray-900 dark:text-gray-200">
            Welcome to<br />TON Blockchain<br />documentation
          </h1>

          <p className="mt-8 max-w-xl text-pretty text-xl sm:text-2xl prose prose-gray dark:prose-invert">
            Meet the AI-native, beautiful and comprehensive documentation covering foundations, tools, languages, and APIs.
          </p>

          <div className="mt-8 flex items-center gap-x-6">
            <a href="/start-here" className="rounded-md bg-primary hover:bg-primary/60 px-3.5 py-2.5 text-base sm:text-lg font-semibold text-white shadow-sm">
              Learn TON in Y minutes
            </a>

            <a href="#journeys" className="font-semibold text-base sm:text-lg prose-gray dark:prose-invert">
              Or choose a path <span aria-hidden="true">→</span>
            </a>
          </div>
        </div>
      </div>

      <div className="hidden lg:flex w-full">
        <img src="https://mintcdn.com/companyname-a7d5b98e-ton-storage/-PnK4nEawjL9SLqI/resources/logo/ton.svg?fit=max&auto=format&n=-PnK4nEawjL9SLqI&q=85&s=5555fa9ef9c04312d8a50b5fba9d18cd" alt="TON logo" className="w-full" noZoom="true" width="56" height="56" data-path="resources/logo/ton.svg" />
      </div>
    </div>

    {/* color splash */}

    <div aria-hidden="true" className="absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-40rem)]">
      <div style={{ clipPath: "polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)" }} className="relative left-[calc(50%+3rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 bg-gradient-to-tr from-[#1ac9ff] to-[#2d83ec] opacity-30 sm:left-[calc(50%+24rem)] sm:w-[72.1875rem]" />
    </div>
  </div>

  <section id="journeys" tabIndex={-1} className="relative mt-16 py-12 sm:py-24 flex flex-col gap-8 focus:outline-none dark:focus:outline-none">
    <div className="text-left">
      <h2 className="text-balance text-2xl sm:text-5xl font-semibold tracking-tight text-gray-900 dark:text-gray-200">
        Choose your path
      </h2>

      <p className="mt-4 text-pretty text-lg sm:text-xl prose prose-gray dark:prose-invert">
        Embark on a journey tailored to your role, experience, and intent.
      </p>
    </div>

    <Journey title="Freshman" description="Learn the fundamentals of TON Blockchain. Perfectly suited for newcomers who explore the web3 world through TON.">
      <JourneyStep title="How to read this documentation?" icon="1" iconType="solid" href="/start-here" cta="Start here" />

      <JourneyStep title="What is blockchain?" icon="2" iconType="solid" href="/foundations/glossary#blockchain" />

      <JourneyStep title="What is a smart contract on TON?" icon="3" iconType="solid" href="/foundations/glossary#smart-contract" />

      <JourneyStep title="Writing your first smart contract" icon="4" iconType="solid" href="/contract-dev/first-smart-contract" />

      {/* <JourneyStep
                  title="What is a dApp?"
                  icon="5"
                  iconType="solid"
                  href="/foundations/glossary#decentralized-application-dapp"
                />
                <JourneyStep
                  title="Your first dApp on TON"
                  icon="6"
                  iconType="solid"
                  href="/guides/first-dapp"
                /> */}
    </Journey>

    <Journey title="Nomad" description="For those coming from another blockchain. Study how things work on TON in comparison and go through hands-on guides for migration.">
      <JourneyStep title="Coming from Ethereum" icon="ethereum" iconType="solid" href="/from-ethereum">
        Compare the execution model and the ecosystem of TON
      </JourneyStep>

      <JourneyStep title="Your first smart contract" icon="file" iconType="solid" href="/contract-dev/first-smart-contract">
        Write and deploy a contract that can be interacted with
      </JourneyStep>
    </Journey>

    <Journey title="Ace" description="For amateurs, experts, and learners alike. Take a deep dive into the low-level details, or do a quick reference check and return to your project.">
      <JourneyStep title="Blueprint" href="/contract-dev/blueprint/overview">
        Development environment
      </JourneyStep>

      <JourneyStep title="TVM Exit codes" href="/tvm/exit-codes">
        Complete list of compute phase exit codes
      </JourneyStep>

      <JourneyStep title="TVM Instructions" href="/tvm/instructions">
        Complete list of instructions and opcodes
      </JourneyStep>

      <JourneyStep title="API providers" href="/ecosystem/api/overview">
        TON Center v2 and v3, and others
      </JourneyStep>

      <JourneyStep title="TON Connect" href="/ecosystem/ton-connect">
        Integrate TON into dApps and wallets
      </JourneyStep>

      <JourneyStep title="Blockchain nodes" href="/ecosystem/node/overview">
        Pick the right kind and setup your node
      </JourneyStep>
    </Journey>

    <div className="text-left sm:text-center">
      <p className="mt-4 text-pretty text-base sm:text-lg prose prose-gray dark:prose-invert">
        Looking for something else? Search documentation with <kbd>Ctrl + K</kbd> and ask AI right there,
        or open the assistant panel by pressing <kbd>Ctrl + I</kbd>. If nothing was found, <a href="#community" className="font-normal text-base sm:text-lg">ask the community</a> of TON developers, builders and enthusiasts.
      </p>
    </div>
  </section>

  <section id="community" tabIndex={-1} className="relative mt-16 py-12 sm:py-24 flex flex-col gap-8 focus:outline-none dark:focus:outline-none">
    <div className="text-left">
      <h2 className="text-balance text-2xl sm:text-5xl font-semibold tracking-tight text-gray-900 dark:text-gray-200">
        Join the community
      </h2>

      <p className="mt-4 text-pretty text-lg sm:text-xl prose prose-gray dark:prose-invert">
        Troubleshoot issues or discuss best practices with other community members.
      </p>
    </div>

    <Columns cols={3}>
      <Card title="Get support" icon="life-ring" iconType="solid" href="/get-support">
        Learn how to get help on the dedicated page
      </Card>

      <Card title="Telegram" icon="telegram" iconType="solid" arrow="true" href="https://t.me/addlist/1r5Vcb8eljk5Yzcy">
        Add the folder with many developer chats
      </Card>

      <Card title="TON Talents" icon="user-group" iconType="solid" arrow="true" href="https://ton.org/en/talents">
        Seek skilled professionals and agencies
      </Card>
    </Columns>
  </section>
</div>
