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

# LiteSVM

> Kiểm thử chương trình Solana với VM chạy trong cùng tiến trình. Kiểm thử chương trình của bạn nhanh hơn, không tốn chi phí mạng hay các tiến trình validator.

LiteSVM là một thư viện nhẹ để kiểm thử các chương trình Solana, hoạt động bằng
cách tạo ra một Solana VM chạy trong cùng tiến trình, được tối ưu cho lập trình viên chương trình. Không giống các
cách kiểm thử khác phải khởi chạy các tiến trình validator riêng biệt, LiteSVM nhúng
VM ngay bên trong các bài kiểm thử của bạn, giúp chúng thực thi nhanh hơn nhiều. Tiếp tục phá vỡ
lối làm truyền thống, thư viện có API thân thiện với lập trình viên, các giá trị mặc định hợp lý và khả năng
tùy chỉnh phong phú dành cho những ai cần đến.

## Bắt đầu

<Columns cols={2}>
  <Card title="Bắt đầu" href="/developers/docs/tools/litesvm/getting-started">
    Cài đặt LiteSVM và viết các bài kiểm thử đầu tiên của bạn.
  </Card>
  <Card title="Tại sao chọn LiteSVM" href="/developers/docs/tools/litesvm/core-concepts">
    Tìm hiểu lý do bạn nên dùng LiteSVM để kiểm thử.
  </Card>
</Columns>

## Rust

<Columns cols={2}>
  <Card title="Kiểm thử chương trình của bạn" href="/developers/docs/tools/litesvm/testing-your-program">
    Tìm hiểu cách kiểm thử chương trình Solana của riêng bạn.
  </Card>
  <Card title="Ví dụ" href="/developers/docs/tools/litesvm/examples">
    Các giải pháp có thể sao chép và dán cho những tình huống phổ biến, cùng các ví dụ repository đầy đủ.
  </Card>
  <Card title="Tham chiếu API" href="/developers/docs/tools/litesvm/api-reference">
    Tìm hiểu các tính năng nâng cao và cấu hình tùy chỉnh.
  </Card>
  <Card title="Các crate bổ sung" href="/developers/docs/tools/litesvm/additional-crates/testing-with-litesvm-utils">
    Các crate hỗ trợ cho tiện ích, SPL token, loader và kiểm thử Anchor.
  </Card>
</Columns>

## TypeScript

<Columns cols={2}>
  <Card title="Bắt đầu" href="/developers/docs/tools/litesvm/typescript/getting-started">
    Sử dụng LiteSVM thông qua @solana/kit trong các bài kiểm thử TypeScript của bạn.
  </Card>
  <Card title="Kiểm thử token" href="/developers/docs/tools/litesvm/typescript/tokens">
    Kiểm thử SPL token bằng plugin tokenProgram().
  </Card>
  <Card title="Tham chiếu API" href="/developers/docs/tools/litesvm/typescript/api-reference">
    Tìm hiểu các tính năng nâng cao và cấu hình tùy chỉnh.
  </Card>
  <Card title="Ví dụ" href="/developers/docs/tools/litesvm/typescript/examples">
    Các giải pháp có thể sao chép và dán cho những tình huống phổ biến.
  </Card>
</Columns>

## Go

<Columns cols={2}>
  <Card title="Bắt đầu" href="/developers/docs/tools/litesvm/go/getting-started">
    Sử dụng LiteSVM từ Go với litesvm-go.
  </Card>
  <Card title="Tham chiếu API" href="/developers/docs/tools/litesvm/go/api-reference">
    Tra cứu mọi phương thức của litesvm-go.
  </Card>
  <Card title="Ví dụ" href="/developers/docs/tools/litesvm/go/examples">
    Chạy các bài kiểm thử Go hoàn chỉnh cho những tình huống phổ biến.
  </Card>
</Columns>

## Tài nguyên

- [crates.io](https://crates.io/crates/litesvm) - Crate Rust của LiteSVM
- [npm](https://www.npmjs.com/package/@solana/kit-plugin-litesvm) - Plugin
  LiteSVM cho @solana/kit
- [GitHub](https://github.com/LiteSVM/litesvm) - Xem mã nguồn
- [litesvm-go](https://github.com/LiteSVM/litesvm-go) - Binding cho Go
