Skip to main content

harmoniis_wallet/
lib.rs

1pub mod arbiter;
2pub mod client;
3pub mod crypto;
4pub mod error;
5pub mod identity;
6pub mod miner;
7pub mod types;
8pub mod wallet;
9
10// Securities module — DORMANT. Compiled only when feature = "securities" is set.
11// Do NOT enable in production until Phase 3 is released.
12// Dependency order: Phase 1 (RGB21 contracts) → Phase 2 (Stablecash sandbox) → Phase 3 (securities)
13#[cfg(feature = "securities")]
14pub mod securities;
15
16pub use error::{Error, Result};
17pub use identity::Identity;
18pub use types::{
19    Certificate, Contract, ContractStatus, ContractType, Role, StablecashProof, StablecashSecret,
20    WitnessProof, WitnessSecret,
21};
22pub use wallet::{RgbWallet, WalletSnapshot};
23
24#[cfg(feature = "securities")]
25pub use securities::{SecurityDeed, SecurityType, SecurityUnderlying};