> ## Documentation Index
> Fetch the complete documentation index at: https://compact-by-example.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Compact by Example

> Practical code examples for Midnight's Compact language. Build zero-knowledge smart contracts and privacy-preserving DApps on Midnight Network.

## Get Started

<Columns cols={2}>
  <Card title="Installation Guide" icon="gear" href="/setup">
    Set up your Compact development environment with compiler, wallet, and tools
  </Card>

  <Card title="Hello World" icon="hand-wave" href="/basics/hello-world">
    Your first Compact contract with private state and zero-knowledge proofs
  </Card>

  <Card title="First App" icon="rocket" href="/basics/first-app">
    Build a simple counter application with validation and state management
  </Card>

  <Card title="Primitive Types" icon="shapes" href="/basics/primitive-types">
    Understand Compact's type system including Opaque types and privacy features
  </Card>
</Columns>

## Community

<Columns cols={3}>
  <Card title="Official Docs" icon="book" href="https://docs.midnight.network">
    Comprehensive Midnight Network documentation
  </Card>

  <Card title="Discord Community" icon="discord" href="https://discord.com/invite/midnightnetwork">
    Get help, share ideas, and connect with developers
  </Card>

  <Card title="Contributor Board" icon="users" href="https://github.com/orgs/midnightntwrk/projects/36">
    View and join community contributions
  </Card>

  <Card title="Midnight Network" icon="globe" href="https://midnight.network">
    Learn about the Midnight ecosystem
  </Card>

  <Card title="Forum" icon="comments" href="https://forum.midnight.network">
    Ask questions and discuss with the community
  </Card>

  <Card title="Compact Compiler" icon="github" href="https://github.com/midnightntwrk/compact">
    Official Compact repository and releases
  </Card>

  <Card title="YouTube Channel" icon="youtube" href="https://www.youtube.com/@midnight.network">
    Video tutorials and developer content
  </Card>

  <Card title="Hackathon" icon="trophy" href="https://midnight.network/hackathon">
    Join Midnight Network hackathons and competitions
  </Card>

  <Card title="Whitepaper" icon="file-lines" href="https://midnight.network/whitepaper">
    Technical deep dive into Midnight's architecture
  </Card>
</Columns>
