How should the system run?
Runtime, peer communication, consensus, storage, cryptography, coordination, and deterministic testing.
FOUNDATION / COMMONWARE
Commonware is a collection of replaceable Rust primitives for specialized blockchain systems. Nunchi uses that foundation to organize finance-specific state, modules, and examples.
Commonware deliberately avoids a fixed block format, state layout, mempool policy, execution rule, or security assumption. Teams select the primitives that fit the application.
Runtime, peer communication, consensus, storage, cryptography, coordination, and deterministic testing.
Assets, authority, data, market logic, finance-oriented state, application scaffolding, and examples.
Commonware's website acts as an index into crate-level Rust documentation. These six primitives are the clearest starting points for understanding the Nunchi foundation.
commonware-actorSafely coordinate concurrent components.
commonware-runtimeExecute asynchronous tasks in production or deterministic simulation.
commonware-p2pCommunicate with authenticated peers over encrypted connections.
commonware-consensusOrder opaque messages in a Byzantine environment.
commonware-storagePersist and retrieve data from an abstract store.
commonware-glueUse default constructions that span multiple primitives.
Commonware Runtime provides a production-focused Tokio environment and a deterministic environment for tests and simulations. Both expose a common set of runtime responsibilities through traits.
| Environment | Purpose | Useful for |
|---|---|---|
| runtime::tokio | Production-focused asynchronous execution. | Network, storage, clock, metrics, and task execution. |
| runtime::deterministic | Repeatable task scheduling from a fixed seed. | Simulating network conditions, faults, and concurrent behavior. |
WHY IT MATTERS
Deterministic simulation makes complex concurrent interactions repeatable, which helps teams inspect faults and validate system behavior.
Commonware uses calendar versions such as 2026.7.0 so compatible crate releases are easy to identify. Maturity is tracked separately for each primitive.
Breaking changes expected. Migration support is undefined.
Wire and storage formats are stable with migration paths.
The API is stable and extensively tested.
The primitive is battle-tested and bug-bounty eligible.
The feature set is frozen to fixes and performance work.
RELEASE CHECK
A shared calendar version signals compatibility across the library. Each selected primitive still carries its own stability level. Use the Nunchi lockfile and Commonware crate documentation together.