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
//! # webylib — Webcash HD Wallet Library
//!
//! A secure, production-grade Rust implementation of the Webcash electronic cash protocol.
//!
//! ## Features
//!
//! - Deterministic HD wallet (BIP32-style 4-chain derivation)
//! - SQLite storage with WAL mode for crash safety
//! - Passkey and password-based encryption (Argon2 + AES-256-GCM)
//! - Full server client (health check, replace, mining)
//! - Zeroize-on-drop for all secret material
//!
//! ## Quick Start
//!
//! ```rust,no_run
//! use webylib::{Wallet, SecretWebcash};
//!
//! # async fn example() -> Result<(), Box<dyn std::error::Error>> {
//! let wallet = Wallet::open("my_wallet.db").await?;
//! let webcash = SecretWebcash::parse("e1.00000000:secret:abcdef123456...")?;
//! wallet.insert(webcash).await?;
//! let balance = wallet.balance().await?;
//! # Ok(())
//! # }
//! ```
// Re-exports — flat access to the most common types
pub use Amount;
pub use ;
pub use ChainCode;
pub use ;
pub use endpoints;
pub use NetworkMode;
pub use ;
pub use ;