The Cargo workspace contains 11 crates:
Crate
Role
Docs
shared
Foundation types, KV store abstraction, LMDB bindings
docs
crypto
Hashing (Blake2b, Keccak256, SHA256), signing (Secp256k1, Ed25519), TLS certs
docs
models
Protobuf-generated types, domain structs, Rholang AST, sorted collections
docs
rspace++
Tuple space engine: produce/consume matching, LMDB-backed trie history
docs
rholang
Rholang interpreter: parser, normalizer, reducer, cost accounting, system processes
docs
casper
CBC Casper consensus: block creation/validation, DAG, safety oracle, finalization
docs
block-storage
Block persistence, DAG storage (imbl), casper buffer, deploy index
docs
comm
P2P networking: Kademlia DHT, TLS transport, connection management
docs
node
Binary entry point: boot sequence, gRPC/HTTP servers, CLI, diagnostics
docs
graphz
Graphviz DOT generation for DAG visualization
docs
Architecture & Dependency Graph
┌──────────┐
│ node │ (binary, orchestrator)
└────┬─────┘
┌───────┬───────┼───────┬──────────┐
v v v v v
┌──────┐ ┌──────┐ ┌──────┐ ┌───────┐ ┌──────┐
│casper│ │ comm │ │graphz│ │rholang│ │block-│
│ │ │ │ │ │ │ │ │store │
└──┬───┘ └──┬───┘ └──────┘ └───┬───┘ └──┬───┘
│ │ │ │
┌───────┼────────┤ │ │
v v v v v
┌──────┐ ┌──────┐ ┌──────┐ ┌────────┐ ┌──────┐
│models│ │crypto│ │shared│ │rspace++│ │shared│
└──┬───┘ └──┬───┘ └──────┘ └────┬───┘ │ │
│ │ │ └──────┘
v v v
┌──────┐ ┌──────┐ ┌──────┐
│crypto│ │shared│ │shared│
└──┬───┘ └──────┘ └──────┘
v
┌──────┐
│shared│
└──────┘
Dependency direction : shared is the leaf dependency; node is the root.
Module
Description
shared
Foundation types, KV store abstraction, LMDB bindings
crypto
Hashing, signing, certificates
models
Protobuf types, Rholang AST, sorted collections
rspace
Tuple space engine, produce/consume matching, trie history
rholang
Interpreter, reducer, cost accounting, system processes
casper
CBC Casper consensus, block creation/validation, finalization
block-storage
Block persistence, DAG storage, deploy index
comm
P2P networking, Kademlia DHT, TLS transport
node
Binary entry point, gRPC/HTTP servers, CLI, diagnostics
graphz
Graphviz DOT generation for DAG visualization
Document
Description
Casper Overview
Block creation, validation, DAG merging, finalization
Consensus Protocol
End-to-end protocol walkthrough, abstraction boundaries for adding new consensus
Byzantine Fault Tolerance
BFT architecture, clique oracle, equivocation detection, slashing
Synchrony Constraint
Synchrony constraint mechanism, configuration, troubleshooting
Consensus Configuration
FTT and synchrony threshold semantics, recommended values
The native token's name, symbol, and decimals are configured before genesis and baked into the on-chain TokenMetadata contract at rho:system:tokenMetadata. They are immutable after genesis and exposed via /api/status. See:
Legacy and superseded documents are in archive/ .