Expand description
§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
use webylib::{Wallet, SecretWebcash};
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?;Re-exports§
pub use amount::Amount;pub use error::Error;pub use error::Result;pub use hd::ChainCode;pub use protocol::TERMS_OF_SERVICE;pub use protocol::VERSION;pub use server::endpoints;pub use server::NetworkMode;pub use webcash::PublicWebcash;pub use webcash::SecretWebcash;pub use wallet::Wallet;pub use wallet::WalletSnapshot;pub use wallet::WalletStats;
Modules§
- amount
- Amount type with 8-decimal precision for Webcash
- crypto
- Cryptographic utilities for Webcash
- error
- Error types for the Webcash wallet library
- ffi
- C FFI bindings for webylib.
- hd
- Hierarchical Deterministic (HD) wallet key derivation.
- miner
- Light CPU miner for testnet usage.
- passkey
- Passkey encryption for Webcash wallets
- protocol
- Webcash protocol constants and version information.
- server
- Server communication for Webcash operations
- wallet
- Wallet engine — pluggable-storage HD wallet for Webcash.
- webcash
- Webcash types and serialization