LiteSVM

LiteSVM is a lightweight library for testing Solana programs that works by creating an in-process Solana VM optimized for program developers. Unlike other testing approaches that spin up separate validator processes, LiteSVM embeds the VM inside your tests, making them execute much faster. In a further break from tradition, it has an ergonomic API with sane defaults and extensive configurability for those who want it.

Getting Started

Rust

TypeScript

Resources

  • crates.io - The LiteSVM Rust crate
  • npm - The @solana/kit LiteSVM plugin
  • GitHub - View the source code

Is this page helpful?

Spis treści

Edytuj stronę
LiteSVM | Solana