Registry / crypto / spl-account-compression

spl-account-compression

JSON →
library1.0.0rscratesunverified

Solana Program Library Account Compression Program.

# Cargo.toml [dependencies] spl-account-compression = "1.0.0"
INSTALL
IMPORT
SIG · SPL-ACCOUNT-COMPRE
S
spl-account-compression
cryptorustv1.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.

AccountCompression
use spl_account_compression::AccountCompression;

Initialize the SPL Account Compression program for Solana.

use spl_account_compression::AccountCompression; use solana_program::pubkey::Pubkey; fn main() { let program_id = Pubkey::new_unique(); let compression = AccountCompression::new(program_id); println!("Account compression program initialized."); }
Debug
Known issues
gotchaRequires Solana runtime environment; not usable outside of Solana programs.
fix
Ensure you are building for Solana BPF target and have solana-program dependency.
affects: >=1.0.0
Upgrade
Version history
1.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
16
Resources
spl-account-compression — cargo add spl-account-compression · libregistry