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

# SVM 插件概览

> 适用于 Solana 和 SVM 兼容区块链的插件(测试版)

SVM `txtx` 插件可用于构建与 Solana 及
SVM 兼容区块链交互的 Runbook。该插件提供多种实用函数,可让您
部署 Anchor 程序,并根据程序
IDL 编码指令调用。这些操作可用于创建有效的转账、程序调用和
程序部署交易,并可通过助记词、私钥
或浏览器签名器进行签名。

## 快速入门

要使用 SVM 插件,请在您的 Runbook 中声明它:

```hcl
addon "svm" {
  network_id = "devnet"
  rpc_api_url = "https://api.devnet.solana.com"
}
```

## 功能特性

- **程序部署**:部署 Anchor 和原生 Solana 程序
- **指令构建**:使用程序 IDL 编码指令调用
- **交易签名**:支持助记词、私钥和网页钱包
- **账户管理**:查询和管理 Solana 账户

## 导航

<Columns cols={2}>
  <Card title="函数" href="/developers/docs/tools/surfpool/iac/svm/functions">
    用于 Solana 开发的实用函数
  </Card>
  <Card title="操作" href="/developers/docs/tools/surfpool/iac/svm/actions">
    交易和部署操作
  </Card>
  <Card title="签名器" href="/developers/docs/tools/surfpool/iac/svm/signers">
    不同的签名方式
  </Card>
</Columns>
