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 wallet;
12
13// Securities module — DORMANT. Compiled only when feature = "securities" is set.
14// Do NOT enable in production until Phase 3 is released.
15// Dependency order: Phase 1 (RGB21 contracts) → Phase 2 (Stablecash sandbox) → Phase 3 (securities)
16#[cfg(feature = "securities")]
17pub mod securities;
18
19pub use error::{Error, Result};
20pub use identity::Identity;
21pub use types::{
22    Certificate, Contract, ContractStatus, ContractType, Role, StablecashProof, StablecashSecret,
23    WitnessProof, WitnessSecret,
24};
25pub use wallet::{PgpIdentityRecord, PgpIdentitySnapshot, RgbWallet, WalletSnapshot};
26
27#[cfg(feature = "securities")]
28pub use securities::{SecurityDeed, SecurityType, SecurityUnderlying};