#solana #stake #constructor #instructions #and #delegation

solana-stake-interface

Instructions and constructors for the Stake program

7 stable releases

2.0.2 Dec 2, 2025
2.0.1 Aug 21, 2025
1.2.1 Jan 30, 2025

#5 in #stake

Download history 56043/week @ 2025-09-16 57442/week @ 2025-09-23 54734/week @ 2025-09-30 66227/week @ 2025-10-07 68565/week @ 2025-10-14 81455/week @ 2025-10-21 68073/week @ 2025-10-28 69028/week @ 2025-11-04 67461/week @ 2025-11-11 78900/week @ 2025-11-18 61264/week @ 2025-11-25 79056/week @ 2025-12-02 69391/week @ 2025-12-09 84955/week @ 2025-12-16 39248/week @ 2025-12-23 45899/week @ 2025-12-30

253,156 downloads per month
Used in 954 crates (34 directly)

Apache-2.0

140KB
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.7–2.8MB
~55K SLoC