2 stable releases

new 1.1.0 Jan 18, 2025
1.0.0 Jan 16, 2025

#8 in #stake

Download history 98/week @ 2025-01-12

98 downloads per month

Apache-2.0

115KB
2.5K 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.


lib.rs:

The Stake program interface.

Dependencies

~0.9–7.5MB
~60K SLoC