This is a collection of utilities for Rust that enhance the off-chain work with the Marinade liquid-staking-program. It is primarily designed to be used with Marinade's CLI tools in Rust. These utilities provide helpers for utilizing the clap argument parser, in conjunction with the Solana clap utilities.
The repository is divided into three crates:
-
dynsigner
: This crate provides a helper class for integrating the Anchor Client with Solana Clap Utils. You can find more details about this integration here. -
marinade-client-rs
: This crate offers a set of helper functions for building Marinade instructions using the Anchor client. It also includes additional utility functions for working with Marinade state, particularly for managing Marinade list accounts. -
marinade-common-cli
: This crate provides a command-line parser helper for clap parser library, following the same conventions as the Solana clap utilities.