#interface #solana #stake

clone-solana-stake-interface

Instructions and constructors for the Stake program

1 stable release

new 1.2.1 Apr 30, 2025

#19 in #stake


Used in 2 crates (via clone-solana-sysvar)

Apache-2.0

145KB
3K SLoC

Solana

Solana Stake Interface

This crate contains instructions and constructors for interacting with the Stake program.

The Stake program can be used to create and manage accounts representing stake and rewards for delegations to validators.

Getting Started

From your project folder:

cargo add solana-stake-interface --features bincode

This will add the solana-stake-interface dependency with the bincode feature enabled to your Cargo.toml file. The bincode feature contains the instruction constructors to create instructions for the Stake program.

Documentation

Read more about the Stake program on the crate documentation.

Dependencies

~0.9–8MB
~65K SLoC