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