Registry / other / solana-vote-program

solana-vote-program

JSON →
library4.0.0rscratesunverified

Solana Vote program for consensus.

# Cargo.toml [dependencies] solana-vote-program = "4.0.0"
INSTALL
IMPORT
SIG · SOLANA-VOTE-PROGRA
S
solana-vote-program
otherrustv4.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.

VoteInstruction
use solana_vote_program::vote_instruction::VoteInstruction;

Creates a default vote instruction.

use solana_vote_program::vote_instruction::VoteInstruction; fn main() { let instruction = VoteInstruction::Vote(Default::default()); println!("Vote instruction created"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
3 hits · last 30 days
node
2
Amazon
1
Resources
solana-vote-program — cargo add solana-vote-program · libregistry