OpenViSTAI · Agents · Blockchain · Crypto
Menu
Staking & Validators

Marinade Liquid Staking Smart Contract

Marinade Liquid Staking Smart Contract is a public Solana repository containing a Rust program built with Anchor that calls Marinade’s staking pool to stake SOL for mSOL and unstake to return SOL, alongside Web3 tests for local-validator simulations.

Independent OpenViST project profile, based on linked sources.

Marinade Liquid Staking Smart Contract — OpenViST project profile in Staking & Validators.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when developing or reviewing an Anchor-based Solana integration with Marinade, or when working with its documented local-validator test setup.

Who it is for

  • Solana developers implementing Marinade-connected liquid staking.
  • Developers reviewing mSOL/SOL accounting or stake and unstake program flows.
  • Teams using a local validator to exercise staking transaction tests.

Documented uses

  • Stake SOL through Marinade and receive mSOL.
  • Unstake through the Marinade pool to receive SOL.
  • Inspect mSOL/SOL accounting and cross-program calls.
  • Use the included Web3 test suite to simulate stake and unstake flows on a local validator.
Before you choose

Requirements & limits

The GitHub repository is public and identifies the project as MIT-licensed.

  • The on-chain program is written in Rust with Anchor; the repository also identifies TypeScript as its primary language.
  • The documented test stack uses @solana/web3.js and @project-serum/anchor.
  • The README requires Anchor, Solana CLI, Node.js 16 or later, and Yarn or npm.
  • The described test environment is a local test validator; the repository documentation does not establish a live deployment.

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 dependencies and build the program locally

Prepare the project dependencies and build the Anchor-based Solana program.

Before you start

  • Anchor
  • Solana CLI
  • Node.js 16 or later
  • Yarn or npm

Steps

  1. Clone the repository and enter the project directory.

  2. Install dependencies with Yarn.

  3. Run anchor build.

Expected outcome

Dependencies are installed and the Anchor program build is requested.

Guide limitations

  • The README's clone example uses a placeholder repository URL; use the project URL listed below.
  • The documentation does not provide build output or verify a successful build.
Source-based practical guide

Run the documented Anchor test suite

Invoke the project’s Web3 tests, which are described as simulating stake and unstake flows on a local test validator.

Before you start

  • Anchor
  • Solana CLI
  • Node.js 16 or later
  • Project dependencies installed with Yarn or npm

Steps

  1. Prepare the project dependencies.

  2. Run anchor test from the project directory.

Expected outcome

The documented command invokes the Anchor test suite for the staking project.

Guide limitations

  • The README describes local-validator simulation but does not provide test output or establish that the tests pass.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
17 October 2026
Original website title
vvizardev/marinade-liquid-stake-fork · Official homepage title · retained in its source language