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

# Configuratie

> Builder-methoden voor het configureren van LiteSVM in TypeScript

LiteSVM gebruikt een builderpatroon voor configuratie. Alle methoden retourneren `LiteSVM`
zodat ze aaneengeschakeld kunnen worden.

## Typische testopzet

```typescript
import { createClient, generateKeyPairSigner } from "@solana/kit";
import { litesvm } from "@solana/kit-plugin-litesvm";
import { signer } from "@solana/kit-plugin-signer";

const mySigner = await generateKeyPairSigner();
const client = createClient().use(signer(mySigner)).use(litesvm());

client.svm
  .withSigverify(false) // Skip signature verification (faster)
  .withBlockhashCheck(false) // Skip blockhash validation (simpler)
  .withTransactionHistory(100n); // Store last 100 transactions
```

Een `litesvm()`-client heeft de sysvars, de ingebouwde programma's, de
precompiles en de standaardprogramma's al geladen, dus een typische opzet wijzigt alleen
de controles die nodig zijn.

## Handtekening & blockhash

### withSigverify

```typescript
withSigverify(sigverify: boolean): LiteSVM
```

Schakel handtekeningverificatie in of uit.

```typescript
// Disable for faster tests (default is enabled)
client.svm.withSigverify(false);

// Enable for production-like testing
client.svm.withSigverify(true);
```

<Info>
  Het uitschakelen van handtekeningverificatie maakt tests sneller, maar minder realistisch.
</Info>

### withBlockhashCheck

```typescript
withBlockhashCheck(check: boolean): LiteSVM
```

Schakel de controle op het verlopen van blockhashes in of uit.

```typescript
// Disable for simpler tests
client.svm.withBlockhashCheck(false);
```

## Programma's & sysvars

Deze methoden laden programma's en sysvars in de VM. Een `litesvm()`-client
heeft ze al allemaal, dus je hebt ze alleen nodig om een client te resetten of om
een kale `LiteSVM.default()`-instantie uit het `litesvm`-pakket op te zetten.

### withSysvars

```typescript
withSysvars(): LiteSVM
```

Zet Clock, Rent, EpochSchedule en de andere sysvars terug naar hun standaardwaarden.
Sysvars zijn al beschikbaar op een nieuwe client, dus je hebt dit alleen nodig om
wijzigingen ongedaan te maken. Als je dit aanroept na `setClock` of `warpToSlot`, gaat je clock verloren.

```typescript
client.svm.setClock(myClock);
client.svm.withSysvars(); // the clock is back to its default
```

### withBuiltins

```typescript
withBuiltins(): LiteSVM
```

Voeg de ingebouwde programma's van de runtime toe: het System Program, de BPF-loaders, Vote
en Compute Budget.

```typescript
client.svm.withBuiltins();
```

### withPrecompiles

```typescript
withPrecompiles(): LiteSVM
```

Voeg de precompiles voor handtekeningverificatie toe: ed25519, secp256k1 en secp256r1.

```typescript
client.svm.withPrecompiles();
```

### withDefaultPrograms

```typescript
withDefaultPrograms(): LiteSVM
```

Voeg de standaardprogramma's toe: Token, Token-2022, Associated Token Account, Memo,
Stake en Address Lookup Table.

```typescript
client.svm.withDefaultPrograms();
```

## Resourcelimieten

### withLamports

```typescript
withLamports(lamports: bigint): LiteSVM
```

Stel het saldo in van het interne faucetaccount waaruit `airdrop()` put.
Airdrops die groter zijn dan dit saldo mislukken.

```typescript
client.svm.withLamports(1_000_000_000n); // the faucet holds 1 SOL
```

### withLogBytesLimit

```typescript
withLogBytesLimit(limit?: bigint): LiteSVM
```

Stel de bytelimiet voor logoutput in.

```typescript
client.svm.withLogBytesLimit(10000n);
```

### withTransactionHistory

```typescript
withTransactionHistory(capacity: bigint): LiteSVM
```

Schakel het opslaan van transactiegeschiedenis in.

```typescript
// Store last 100 transactions
client.svm.withTransactionHistory(100n);
```

## Featuresets

### withFeatureSet

```typescript
withFeatureSet(featureSet: FeatureSet): LiteSVM
```

Configureer de featureset om specifieke Solana-versies te testen.
