Registry / other / sp-storage

sp-storage

JSON →
library23.0.0rscratesunverified

Storage-related primitives for the Substrate/Polkadot SDK, providing types for blockchain storage.

# Cargo.toml [dependencies] sp-storage = "23.0.0"
INSTALL
IMPORT
SIG · SP-STORAGE
S
sp-storage
otherrustv23.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.

StorageKey
use sp_storage::StorageKey;

Creates a storage key for blockchain state.

use sp_storage::StorageKey; let key = StorageKey("my_key".to_string().into_bytes()); println!("Storage key: {:?}", key);
Debug
Known issues
breakingPart of the Substrate/Polkadot SDK; may have breaking changes across versions.
fix
Pin to a specific version and follow the SDK's migration guides.
affects: >=23.0.0
Upgrade
Version history
23.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
sp-storage — cargo add sp-storage · libregistry