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

# Приклади

> Повні приклади на Go для LiteSVM

Повні, готові до запуску приклади, що демонструють `litesvm-go`. Кожен приклад — це
самодостатній тест на Go, який можна додати до пакета та запустити за допомогою `go test`.

<Columns cols={2}>
  <Card title="Переказ SOL" href="/developers/docs/tools/litesvm/go/examples/sol-transfer">
    Створення та надсилання переказу через System Program
  </Card>
  <Card title="Налаштування акаунтів" href="/developers/docs/tools/litesvm/go/examples/account-setup">
    Наповнення тестових акаунтів і стану даних програми
  </Card>
  <Card title="Тестування програм" href="/developers/docs/tools/litesvm/go/examples/program-testing">
    Завантаження та виконання користувацьких SBF-програм
  </Card>
  <Card title="Тестування на основі часу" href="/developers/docs/tools/litesvm/go/examples/time-based">
    Тестування логіки, що залежить від часу, за допомогою WarpToSlot / SetClock
  </Card>
</Columns>

## Запуск прикладів

```bash
# 1) Initialize a Go module (skip if you already have a go.mod)
go mod init mytest

# 2) Add the dependencies to your Go project
go get github.com/LiteSVM/litesvm-go
go get github.com/gagliardetto/solana-go

# 3) Drop an example into a _test.go file and run
go test ./...
```

`litesvm-go` версії v0.3.0 і новіших вимагає Go 1.25.7+ та є повністю написаним на Go, тому
додаткові теги збирання чи інструментарії не потрібні.

Приклад окремого застосунку для командного рядка (без тестового раннера) дивіться в
[`examples/transfer/main.go`](https://github.com/LiteSVM/litesvm-go/blob/main/examples/transfer/main.go)
у репозиторії `litesvm-go`.
