Registry / crypto / spl-governance

spl-governance

JSON →
library4.0.0rscratesunverified

Solana Program Library Governance Program.

# Cargo.toml [dependencies] spl-governance = "4.0.0"
INSTALL
IMPORT
SIG · SPL-GOVERNANCE
S
spl-governance
cryptorustv4.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.

Governance
use spl_governance::state::Governance;

Imports the Governance state type.

use spl_governance::state::Governance; fn main() { println!("Governance module loaded"); }
Debug
Known issues
gotchaRequires Solana SDK and BPF target
fix
Add solana-program and build for bpf
affects: >=4.0.0
Upgrade
Version history
4.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
14
Amazon
1
Resources
spl-governance — cargo add spl-governance · libregistry