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

# Examples

> Browse runnable encrypted applications grouped by complexity and mapped to the Arcium concepts they demonstrate

Browse complete MXE projects in the [Arcium examples repository](https://github.com/arcium-hq/examples). Each project includes its Arcis circuits, Solana program, tests, and setup instructions.

<Note>
  The examples currently target Arcium `0.12.0`, while the latest toolchain is `0.13.2`. Check each project's manifests before copying code into a project on another release.
</Note>

## Start with the fundamentals

| Example                                                                                                                                                                                                                           | What it demonstrates                                                    | Maps to                                                                                                                                                  |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Coinflip](https://github.com/arcium-hq/examples/tree/main/coinflip)                                                                                                                                                              | Trustless randomness with `ArcisRNG`; stateless circuit                 | [Arcis primitives](/developers/arcis/primitives), [Callback type generation](/developers/program/callback-type-generation)                               |
| Rock Paper Scissors: [player vs player](https://github.com/arcium-hq/examples/tree/main/rock_paper_scissors/against-player), [player vs house](https://github.com/arcium-hq/examples/tree/main/rock_paper_scissors/against-house) | Encrypted async gameplay with hidden moves or an MPC-generated opponent | [Input/output](/developers/arcis/input-output), [Callback accounts](/developers/program/callback-accs), [Arcis primitives](/developers/arcis/primitives) |

## Build stateful applications

| Example                                                                                        | What it demonstrates                                                   | Maps to                                                                  |
| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- | ------------------------------------------------------------------------ |
| [Voting](https://github.com/arcium-hq/examples/tree/main/voting)                               | Private ballots with public results via encrypted state accumulation   | [Callback type generation](/developers/program/callback-type-generation) |
| [Share medical records](https://github.com/arcium-hq/examples/tree/main/share_medical_records) | Patient-controlled re-encryption between parties                       | [Sealing](/developers/encryption/sealing)                                |
| [Sealed-bid auction](https://github.com/arcium-hq/examples/tree/main/sealed_bid_auction)       | Encrypted bid comparison supporting first-price and Vickrey mechanisms | [Operations](/developers/arcis/operations)                               |

## Explore advanced patterns

| Example                                                                       | What it demonstrates                                              | Maps to                                                                                                             |
| ----------------------------------------------------------------------------- | ----------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| [Blackjack](https://github.com/arcium-hq/examples/tree/main/blackjack)        | Hidden deck state with `Pack<T>` for compact encrypted storage    | [Arcis primitives](/developers/arcis/primitives#data-packing), [Types](/developers/arcis/types)                     |
| [Ed25519 signatures](https://github.com/arcium-hq/examples/tree/main/ed25519) | Threshold signing where the private key never exists in one place | [Arcis primitives](/developers/arcis/primitives#ed25519-signatures), [Input/output](/developers/arcis/input-output) |

## What's next?

<CardGroup cols={2}>
  <Card title="Hello World" icon="rocket" href="/developers/hello-world">
    Build your first encrypted instruction end-to-end.
  </Card>

  <Card title="Arcis quick reference" icon="graduation-cap" href="/developers/arcis/quick-reference">
    Syntax cheatsheet for the patterns these examples use.
  </Card>
</CardGroup>
