4 stable releases
1.2.1 | Jan 30, 2025 |
---|---|
1.2.0 | Jan 28, 2025 |
1.1.0 | Jan 18, 2025 |
1.0.0 | Jan 16, 2025 |
#10 in #stake
80,190 downloads per month
Used in 187 crates
(7 directly)
115KB
2.5K
SLoC
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.
lib.rs
:
The Stake program interface.
Dependencies
~0.9–7.5MB
~65K SLoC