OpenViSTAI · Agents · Blockchain · Crypto
Menu
Developer Tools

ZK Litesvm

An open-source Rust library derived from LiteSVM for testing Solana programs in an in-process virtual machine, with changes intended to support zero-knowledge-oriented workflows.

Independent OpenViST project profile, based on linked sources.

ZK Litesvm — OpenViST project profile in Developer Tools.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when a Rust-based, local in-process Solana testing workflow is more suitable than solana-program-test or solana-test-validator, especially for transaction and account-state tests.

Who it is for

  • Solana program developers using Rust
  • Teams building local or CI-based program tests
  • Developers investigating zero-knowledge-compatible Solana execution environments

Documented uses

  • Run Solana program tests locally in an in-process VM.
  • Submit transactions and inspect resulting account state.
  • Create a lightweight testing basis for zk-oriented Solana development.
  • Run tests without a full validator process.
Before you choose

Requirements & limits

The project is a public GitHub repository and is open source under the Apache-2.0 license.

  • The workflow is Rust-based and installed with Cargo.
  • The VM supports transaction execution and account inspection in the supplied example.
  • The documented alternative to a full validator process is a design distinction, but no quantitative speed benchmark is supplied.
  • The zero-knowledge direction is described, while a complete proving or verification pipeline is not demonstrated.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Install LiteSVM and run a minimal Solana transaction test

Set up LiteSVM as a Rust development dependency and test a transfer while inspecting account balances.

Before you start

  • A Rust project using Cargo.
  • The LiteSVM crate.
  • The Solana-related Rust types and interfaces used by the documented example.

Steps

  1. Add LiteSVM as a development dependency with the command below.

    Documented command
    cargo add --dev litesvm
  2. Create a LiteSVM instance, generate sender and recipient keys, and airdrop 10,000 lamports to the sender.

  3. Construct and submit a transfer transaction using the VM's latest blockhash.

  4. Retrieve both accounts and assert that the sender has 4,936 lamports and the recipient has 64 lamports.

Expected outcome

A local in-process Solana VM test executes a transaction and verifies resulting account balances.

Guide limitations

  • The documented example does not establish a complete zero-knowledge proving or verification pipeline.
  • The evidence does not quantify performance improvements over alternative Solana testing tools.
  • The broader production-deployment suitability is not established.
Source-based practical guide

Build test programs and run the repository tests

Prepare the repository's test programs and execute its Rust test suite.

Before you start

  • Solana CLI version 1.18.8 or later.
  • A checked-out repository containing crates/litesvm/test_programs.

Steps

  1. Change to crates/litesvm/test_programs.

  2. Build the test programs with the command below.

    Documented command
    cargo build-sbf
  3. Return to the repository root and run the command below.

    Documented command
    cargo test

Expected outcome

The repository test programs are built and the Rust test suite is invoked.

Guide limitations

  • The documented process does not specify expected test results or coverage.
  • The evidence does not document deployment, validator operation, or a proving and verification workflow.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
28 September 2026
Original website title
Eclipse-Laboratories-Inc/zk-litesvm · Official homepage title · retained in its source language