Skip to main content

krusty_kms_common/
lib.rs

1//! Common types and utilities for TONGO protocol implementation.
2//!
3//! This crate provides shared functionality used across all TONGO crates:
4//! - Type conversions between different numeric representations
5//! - Field element operations
6//! - Serialization/deserialization helpers
7//! - Error types
8
9pub mod address;
10pub mod amount;
11pub mod chain;
12pub mod error;
13pub mod network;
14pub mod secret_felt;
15pub mod token;
16pub mod types;
17pub mod utils;
18pub mod validator;
19
20pub use address::Address;
21pub use amount::Amount;
22pub use chain::ChainId;
23pub use error::{KmsError, Result};
24pub use network::NetworkPreset;
25pub use secret_felt::SecretFelt;
26pub use token::Token;
27pub use types::*;
28pub use validator::Validator;