1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
//! Wallet engine — deterministic HD wallet for Webcash, Bitcoin, and RGB.
//!
//! # Module layout
//!
//! **Always available (WASM-compatible):**
//! - `keychain` — BIP32/BIP39 deterministic key derivation
//! - `vault` — HKDF-based vault key derivation (AEAD, signing, MQTT)
//! - `webcash` — Webcash type re-exports from webylib
//! - `labeled_wallets` — Labeled wallet data types
//! - `store` — `HarmoniiStore` trait + all storage types
//! - `store_mem` — `MemHarmoniiStore` (in-memory, JSON-serializable)
//! - `core` — `WalletCore` struct + business logic
//! - `identities`, `payments`, `contracts`, `snapshots` — domain methods
//!
//! **Native only (requires `native` feature — SQLite-backed):**
//! - `store_sqlite` — `SqliteHarmoniiStore` (two SQLite connections)
//! - `schema` — Database schema and migrations
//! - `voucher` — Voucher wallet (separate SQLite store)
//!
//! **Optional protocols:**
//! - `bitcoin` — BDK Bitcoin wallet (requires `bitcoin` feature)
//! - `ark` — ARK protocol VTXOs (requires `ark` feature)
// ── Always available (pure crypto, WASM-compatible) ──────────────
// ── Always available (business logic, uses HarmoniiStore trait) ──
// ── Native only (SQLite-backed) ─────────────────────────────────
// ── Optional protocol modules ────────────────────────────────────
// ── Re-exports from core ────────────────────────────────────────
pub use *;