Registry / crypto / solana-stake-program

solana-stake-program

JSON →
library5.0.0rscratesunverified

Solana's native BPF stake program for managing stake accounts and delegations.

# Cargo.toml [dependencies] solana-stake-program = "5.0.0"
INSTALL
IMPORT
SIG · SOLANA-STAKE-PROGR
S
solana-stake-program
cryptorustv5.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

instruction
use solana_stake_program::stake::instruction;

Creates a stake account instruction.

use solana_stake_program::stake::instruction; fn main() { let ix = instruction::create_account( &pubkey, &stake_pubkey, &authorized, &lockup, lamports, ); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
5.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Amazon
1
Resources
solana-stake-program — cargo add solana-stake-program · libregistry