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
//! 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
//!
//! **Native only (requires `native` feature — SQLite-backed):**
//! - `core` — `WalletCore` struct and all wallet operations
//! - `schema` — Database schema and migrations
//! - `contracts`, `identities`, `payments`, `snapshots`, `voucher`
//!
//! **Optional protocols:**
//! - `bitcoin` — BDK Bitcoin wallet (requires `bitcoin` feature)
//! - `ark` — ARK protocol VTXOs (requires `ark` feature)
// ── Always available (pure crypto, WASM-compatible) ──────────────
// ── Native only (SQLite-backed WalletCore) ───────────────────────
// ── Optional protocol modules ────────────────────────────────────
// ── Re-exports from native core ──────────────────────────────────
pub use *;