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

# Yapılandırma

> TypeScript'te LiteSVM'i yapılandırmak için builder metotları

LiteSVM, yapılandırma için builder kalıbını kullanır. Tüm metotlar zincirleme kullanım için `LiteSVM`
döndürür.

## Tipik Test Kurulumu

```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
```

Bir `litesvm()` istemcisinde sysvar'lar, yerleşik programlar, precompile'lar
ve varsayılan programlar zaten yüklü gelir; bu yüzden tipik bir kurulumda
yalnızca ihtiyaç duyulan kontroller değiştirilir.

## İmza ve Blockhash

### withSigverify

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

İmza doğrulamasını etkinleştirir veya devre dışı bırakır.

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

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

<Info>
  İmza doğrulamasını devre dışı bırakmak testleri hızlandırır ancak gerçekçiliği azaltır.
</Info>

### withBlockhashCheck

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

Blockhash geçerlilik süresi kontrolünü etkinleştirir veya devre dışı bırakır.

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

## Programlar ve Sysvar'lar

Bu metotlar programları ve sysvar'ları VM'e yükler. `litesvm()` istemcisinde
bunların hepsi zaten bulunur; bu nedenle yalnızca bir istemciyi sıfırlamak veya
`litesvm` paketindeki çıplak bir `LiteSVM.default()` örneğini kurmak için
gerekirler.

### withSysvars

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

Clock, Rent, EpochSchedule ve diğer sysvar'ları varsayılan değerlerine sıfırlar.
Sysvar'lar yeni bir istemcide zaten hazır olduğundan, buna yalnızca değişiklikleri
geri almak için ihtiyaç duyarsınız. `setClock` veya `warpToSlot` sonrasında
çağırmak clock ayarınızı siler.

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

### withBuiltins

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

Çalışma zamanının yerleşik programlarını ekler: System Program, BPF yükleyicileri, Vote
ve Compute Budget.

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

### withPrecompiles

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

İmza doğrulama precompile'larını ekler: ed25519, secp256k1 ve secp256r1.

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

### withDefaultPrograms

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

Varsayılan programları ekler: Token, Token-2022, Associated Token Account, Memo,
Stake ve Address Lookup Table.

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

## Kaynak Limitleri

### withLamports

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

`airdrop()` işleminin kaynak olarak kullandığı dahili faucet hesabının bakiyesini ayarlar.
Bu bakiyeden büyük airdrop'lar başarısız olur.

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

### withLogBytesLimit

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

Log çıktısı bayt limitini ayarlar.

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

### withTransactionHistory

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

İşlem geçmişi depolamayı etkinleştirir.

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

## Özellik Kümeleri

### withFeatureSet

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

Belirli Solana sürümlerini test etmek için özellik kümesini yapılandırır.
