Crates.io | solana-stake-interface |
lib.rs | solana-stake-interface |
version | 1.2.1 |
source | src |
created_at | 2025-01-16 18:49:00.261632+00 |
updated_at | 2025-01-30 11:54:34.164401+00 |
description | Instructions and constructors for the Stake program |
homepage | https://anza.xyz/ |
repository | https://github.com/solana-program/stake |
max_upload_size | |
id | 1519663 |
size | 135,377 |
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.
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.
Read more about the Stake program on the crate documentation.