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

# Ví dụ

> Các ví dụ TypeScript hoàn chỉnh cho LiteSVM

Các ví dụ hoàn chỉnh, có thể chạy ngay, minh họa cách sử dụng LiteSVM với `@solana/kit`.

<Columns cols={2}>
  <Card title="Chuyển SOL" href="/developers/docs/tools/litesvm/typescript/examples/sol-transfer">
    Xây dựng và gửi giao dịch chuyển SOL
  </Card>
  <Card title="Thiết lập tài khoản" href="/developers/docs/tools/litesvm/typescript/examples/account-setup">
    Thiết lập các tài khoản và trạng thái thử nghiệm
  </Card>
  <Card title="Kiểm thử chương trình" href="/developers/docs/tools/litesvm/typescript/examples/program-testing">
    Tải và kiểm thử các chương trình tùy chỉnh
  </Card>
  <Card title="Kiểm thử dựa trên thời gian" href="/developers/docs/tools/litesvm/typescript/examples/time-based">
    Kiểm thử logic phụ thuộc vào thời gian
  </Card>
</Columns>

## Chạy các ví dụ

Tất cả các ví dụ đều có thể chạy bằng `tsx`, tuy nhiên một số địa chỉ/biến yêu cầu
thay thế các giá trị giữ chỗ bằng giá trị thực tế.

```bash
# Install dependencies
npm install @solana/kit @solana/kit-plugin-litesvm @solana/kit-plugin-signer @solana-program/system

# Run an example
npx tsx example.ts
```
