Skip to main content

Module wallet

Module wallet 

Source
Expand description

Wallet engine — pluggable-storage HD wallet for Webcash.

§Architecture

  • store — Storage trait: SqliteStore (native) or MemStore (WASM).
  • operations — Insert, pay, merge, recover, check, balance.
  • encryption — Database-level and seed-level encryption.
  • snapshot — JSON export/import for backup and recovery.
  • schema — SQLite schema init (native only).

Re-exports§

pub use operations::CheckResult;
pub use operations::RecoveryResult;
pub use operations::WalletStats;
pub use snapshot::SpentHashSnapshot;
pub use snapshot::UnspentOutputSnapshot;
pub use snapshot::WalletSnapshot;
pub use store::Store;

Modules§

encryption
Wallet encryption — database-level and seed-level encryption.
operations
Core wallet operations: insert, pay, merge, recover, check, balance.
schema
Database schema initialization and migrations for the wallet.
snapshot
Wallet snapshot export/import for backup and recovery.
store
Storage abstraction for the wallet engine.

Structs§

Wallet
Webcash wallet with pluggable storage backend.