truthlinked_core/lib.rs
1//! Core protocol primitives for TruthLinked.
2//!
3//! This crate defines the shared transaction, identity, cell, and protocol constant
4//! types used by the node, CLI, SDKs, and tooling. The public surface is kept
5//! intentionally small so downstream components can rely on stable serialization
6//! and signing boundaries.
7
8pub mod cells;
9pub mod constants;
10pub mod pq_execution;
11pub mod pq_identity;
12
13pub use cells::{ManifestAnalysis, StorageKeySpec};
14pub use constants::ONE_TRTH;
15pub use pq_execution::{BatchTransferEntry, CellCall, Transaction, TransactionIntent};
16pub use pq_identity::{account_id_from_pubkey, sign_transaction, DualKeypair};
17
18pub type AccountId = [u8; 32];