For the complete documentation index, see llms.txt. This page is also available as Markdown.

Marinade Rust SDK

There is no supported standalone Rust SDK. If you are building in Rust, use one of the two routes below.

Option 1: The Shared Rust Crates

Marinade maintains its Rust client code in marinade-common-rs-cli. The crate you want is marinade-client-rs, which provides instruction builders and RPC state queries for the Liquid Staking program. The same repository ships dynsigner and marinade-common-cli for CLI work.

These crates back Marinade's own Rust tooling, so they track the on-chain program, but they are published for internal use first. Expect the surface to move.


Option 2: Generate A Client From The IDL

Every Marinade program publishes its Anchor IDL on chain. Fetch it and generate a client with your preferred Rust codegen. See Anchor IDL for the fetch command and the list of programs.

This is the most stable route for an external integration, because the IDL is the contract.


If TypeScript Is An Option

The TypeScript SDK is the supported, documented integration path and covers more of the protocol. See Marinade Ts/Js SDK.

If you have questions or troubles, please join our Discord. Marinade contributors will be there to help you.

Last updated

Was this helpful?