Skip to main content

harmoniis_wallet/
lib.rs

1pub mod arbiter;
2pub mod ark;
3pub mod bitcoin;
4pub mod client;
5pub mod crypto;
6pub mod error;
7pub mod identity;
8pub mod keychain;
9pub mod miner;
10pub mod types;
11pub mod vault;
12pub mod voucher_wallet;
13pub mod wallet;
14
15// Securities module — DORMANT. Compiled only when feature = "securities" is set.
16// Do NOT enable in production until Phase 3 is released.
17// Dependency order: Phase 1 (RGB21 contracts) → Phase 2 (Stablecash sandbox) → Phase 3 (securities)
18#[cfg(feature = "securities")]
19pub mod securities;
20
21pub use error::{Error, Result};
22pub use identity::Identity;
23pub use types::{
24    Certificate, Contract, ContractStatus, ContractType, Role, StablecashProof, StablecashSecret,
25    VoucherProof, VoucherSecret, WitnessProof, WitnessSecret,
26};
27pub use vault::{VaultPublicIdentity, VaultRootMaterial};
28pub use voucher_wallet::{VoucherStats, VoucherWallet};
29pub use wallet::{
30    NewPaymentAttempt, NewPaymentTransaction, NewPaymentTransactionEvent, PaymentAttemptRecord,
31    PaymentAttemptUpdate, PaymentBlacklistRecord, PaymentLossRecord, PaymentTransactionEventRecord,
32    PaymentTransactionRecord, PaymentTransactionUpdate, PgpIdentityRecord, PgpIdentitySnapshot,
33    RgbWallet, WalletSlotRecord, WalletSnapshot,
34};
35
36#[cfg(feature = "securities")]
37pub use securities::{SecurityDeed, SecurityType, SecurityUnderlying};