entropa_core/lib.rs
1//! # Entropa core
2//!
3//! Post-quantum blockchain primitives for Entropa — *"AI probes reach post-quantum
4//! consensus, seeded by a public randomness beacon."*
5//!
6//! - [`pqc`] — Probe identities and ML-DSA (FIPS-204) post-quantum signatures.
7//! - [`block`] — transactions and blocks, with a canonical blake3 digest.
8//! - [`chain`] — an append-only, fully-verifiable constellation of signed blocks.
9//! - [`beacon`] — the public randomness beacon ([drand](https://drand.love)) that
10//! seeds proposer selection; [`chain::Chain`] itself stays pure and offline.
11//!
12//! [`chain::Chain`] is the ledger the `entropa-node`, `entropa-agents`, and
13//! `entropa-api` crates build on. The one piece of this crate that reaches the network
14//! is [`beacon::sample_live`] — everything else is pure Rust.
15
16pub mod beacon;
17pub mod block;
18pub mod chain;
19pub mod pqc;
20
21pub use block::{block_digest, Block, Transaction};
22pub use chain::{Chain, ChainError, BIG_BANG};
23pub use pqc::{probe_id, verify_hex, Probe};