1pub mod chain;
8pub mod cli;
9pub mod config;
10pub mod error;
11pub mod log;
12pub mod wallet;
13
14pub use error::{QuantusError as Error, Result};
16
17pub use chain::client::{ChainConfig, QuantusClient};
19
20pub use qp_dilithium_crypto;
22
23pub use sp_core::crypto::AccountId32;
25pub use sp_runtime::MultiAddress;
26
27pub use cli::send::{
29 batch_transfer, format_balance_with_symbol, get_balance, transfer, transfer_with_nonce,
30};
31
32pub const VERSION: &str = env!("CARGO_PKG_VERSION");
34
35pub const NAME: &str = env!("CARGO_PKG_NAME");
37
38pub fn version() -> &'static str {
40 VERSION
41}
42
43pub fn name() -> &'static str {
45 NAME
46}
47
48#[cfg(test)]
49mod tests {
50 use super::*;
51
52 #[test]
53 fn test_version() {
54 assert!(!version().is_empty());
55 }
56
57 #[test]
58 fn test_name() {
59 assert_eq!(name(), "quantus-cli");
60 }
61}