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

# SOL 전송

> LiteSVM으로 SOL 전송 트랜잭션 빌드 및 전송하기

가장 기본적인 Solana 트랜잭션입니다. 한 계정에서 다른 계정으로 SOL을 이동합니다. 더 복잡한
프로그램 로직을 테스트하기 전에 LiteSVM 설정이 제대로 작동하는지 확인하는 첫 번째 테스트로
적합합니다.

## 전체 예제

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

// Payer first, then the LiteSVM transport, then program plugins.
const mySigner = await generateKeyPairSigner();
const client = createClient()
  .use(signer(mySigner))
  .use(litesvm())
  .use(systemProgram());
const recipient = await generateKeyPairSigner();

// Airdrop SOL to the payer
client.svm.airdrop(client.payer.address, lamports(10_000_000_000n));

// Check initial balance
const senderInitial = client.svm.getBalance(client.payer.address) ?? 0n;
console.log("Sender initial:", Number(senderInitial) / 1e9, "SOL");

// Build and send the transfer
await client.system.instructions
  .transferSol({
    source: client.payer,
    destination: recipient.address,
    amount: lamports(1_000_000_000n) // 1 SOL
  })
  .sendTransaction();

// Check final balances
const senderFinal = client.svm.getBalance(client.payer.address) ?? 0n;
const recipientFinal = client.svm.getBalance(recipient.address) ?? 0n;
console.log("Sender final:", Number(senderFinal) / 1e9, "SOL");
console.log("Recipient final:", Number(recipientFinal) / 1e9, "SOL");
```

## 예상 출력

```
Sender initial: 10 SOL
Sender final: 8.999995 SOL
Recipient final: 1 SOL
```

<Info>
  트랜잭션 수수료(서명당 5,000 lamport)로 인해 발신자의 최종 잔액은 9 SOL보다 약간 적습니다.
</Info>

여기서는 가장 간단한 트랜잭션 유형을 다뤘습니다. 커스텀 프로그램 테스트는
[프로그램 테스트](/developers/docs/tools/litesvm/typescript/examples/program-testing)를 참고하세요.
토큰 전송(민트, ATA)은
[토큰 테스트](/developers/docs/tools/litesvm/typescript/tokens)를 참고하세요.
