Skip to main content

Crate walletkit_db

Crate walletkit_db 

Source
Expand description

Encrypted on-device storage primitives for WalletKit.

The crate provides building blocks shared by walletkit-core::storage and sibling SDKs (e.g. OrbKit’s OrbPcpStore):

Consumers own their schemas, FFI surfaces, and storage policy on top of these primitives.

Re-exports§

pub use blobs::compute_content_id;
pub use blobs::ContentId;

Modules§

blobs
Content-addressed blob storage shared across consumer vaults.

Structs§

Lock
File-backed cross-process exclusive lock. See the module docs for what it’s for (and what it isn’t).
LockGuard
Guard that holds an exclusive lock for its lifetime.
Vault
Open encrypted database wrapper.

Enums§

StoreError
Errors raised by the storage primitives (vault, blobs, envelope, lock).

Traits§

AtomicBlobStore
Atomic blob store for small binary files (e.g. sealed key envelopes).
Keystore
Device keystore for sealing and opening secrets under a device-bound key.

Functions§

init_or_open_envelope_key
Initialize or open the envelope-sealed intermediate key.

Type Aliases§

StoreResult
Result alias for StoreError.