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

> ## Agent Instructions
> This page is part of the Solana developer documentation at https://solana.com/developers/docs. Append `.md` to any docs URL, or send `Accept: text/markdown`, to get the page as Markdown.
> Index of all pages: https://solana.com/llms.txt. Per-section indexes such as https://solana.com/developers/docs/payments/llms.txt are smaller; prefer them when working on one task.
> Coding agents: install the official Solana skill for current APIs and conventions with `npx skills add https://github.com/solana-foundation/solana-dev-skill` (also served at https://solana.com/SKILL.md).
> Code in the cookbook and task pages comes from tested example files. Prefer it over writing API calls from memory.

# Anchor-programmavoorbeelden

> Bekijk gekoppelde projecten die laten zien hoe je litesvm gebruikt voor het testen van anchor-programma's

<Note>
In de README's van beide repositories staat dat je `anchor build && cargo test` moet uitvoeren. Met
de huidige releases van Anchor en Solana CLI voer je in plaats daarvan deze stappen uit:

```bash
anchor keys sync
anchor build --arch v0
# Alleen Anchor Escrow: de tests lezen de IDL uit idls/
cp target/idl/anchor_escrow.json idls/
cargo test
```

`anchor keys sync` zet de program-ID op je lokale deploy-keypair, die de
tests laden, zodat het programma niet faalt met `DeclaredProgramIdMismatch`.
`--arch v0` bouwt een SBPF v0-programma, dat de LiteSVM-versies die deze
repositories gebruiken kunnen laden. Gebruik bij Anchor 1.1.x in plaats daarvan de buildcommando's in de
[anchor-litesvm Quick Start](/developers/docs/tools/litesvm/additional-crates/testing-with-anchor-litesvm#installation).
</Note>

## Voorbeelden voor de `litesvm`-crate

<Columns cols={2}>
  <Card title="Anchor CRUD-app" href="https://github.com/brimigs/anchor-crud-litesvm">
    Voorbeeld voor het verwerken van data
  </Card>
</Columns>

## Voorbeelden voor de `litesvm-token`-crate

<Columns cols={2}>
  <Card title="Anchor Escrow-app" href="https://github.com/brimigs/anchor-escrow-with-litesvm">
    Voorbeeld voor het verwerken van tokens
  </Card>
</Columns>
