Infrastructure as CodeSVM Addon

SVM Addon Overview

Add-on for Solana and SVM Compatible Blockchains (beta)

The SVM txtx plugin enables building Runbooks that interact with Solana and SVM compatible blockchains. The plugin provides utility functions that allow you to deploy anchor programs and encode instruction calls according to program IDLs. The actions can be used to create valid transfer, program call, and program deployment transactions that can be signed via a mnemonic phrase, secret key, or via your browser signer.

Quick Start

To use the SVM addon, declare it in your Runbook:

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

Features

  • Program Deployment: Deploy Anchor and native Solana programs
  • Instruction Building: Encode instruction calls using program IDLs
  • Transaction Signing: Support for mnemonics, secret keys, and web wallets
  • Account Management: Query and manage Solana accounts

On this page