PROTOCOL · DESIGN GUIDE
Ledger & state
How spendable value, persistent objects and recorded history fit together—and why a balance summary is only one view of the ledger.
Four views of the same ledger
QuantumChain’s ledger design separates immutable history, active objects, derived indexes and proof structures. These views serve different purposes while remaining tied to the same validated state transitions. A fast balance query must not become a separate authority for spending.
- 01History
Blocks, transactions, receipts and certificates record how the ledger reached its state.
- 02Active objects
Current value, descriptors, asset definitions and locks determine what can happen next.
- 03Query indexes
Address activity and balance summaries make those records easier to find.
- 04Proofs & snapshots
Authenticated commitments support verification and state synchronization.
Value objects and persistent control
The detailed ledger source uses “state object” as the umbrella term, including value objects. The architecture also uses it more narrowly for persistent records. In these guides, value objects are the consumable category; persistent objects carry continuing control or registry state.
| Object family | Purpose | Typical lifecycle |
|---|---|---|
| Value | Represents units under explicit spending authority | Consume once; create new outputs |
| Asset definition | Defines an asset and its permitted operations | Persist; update only under its authority |
| Descriptor / policy | Defines who may act and under which conditions | Reference or update under the applicable rules |
| Lock / escrow | Restricts value until a permitted transition | Fund, hold, then release or settle |
| Registry | Records validators, domains or other protocol objects | Persist with authorized revisions |
Reading an object is not spending it
A transaction must distinguish a consumptive input from a read-only reference. Spending a value object ends that object’s spendable lifecycle. Consulting an asset policy does not destroy the policy.
Object identifiers, type, domain and revision bind execution to the intended state. If two transactions attempt to spend the same value object or update the same revision, both cannot succeed against that same state. Friendly wallet names do not replace canonical references.
Validate, then apply one complete transition
Independent object sets can support parallel work, but shared objects and limits still require deterministic conflict resolution. Parallelism is a design goal, not a published throughput measurement.
- 01Resolve
Parse the transaction and resolve its referenced objects.
- 02Authorize
Verify witnesses, validity bounds and object authority.
- 03Check
Apply transaction-type, asset, conservation and resource rules.
- 04Commit
Apply the complete transition, emit deterministic results and update commitments.
Follow every unit
For an ordinary native transfer, consumed value must equal resulting outputs plus fees and any explicitly authorized sink. Minting and burning require their own permitted transaction rules; an ordinary transfer cannot create units.
- Recipient
- 60 units
- Change
- 39 units
- Fee
- 1 unit
100 = 60 + 39 + 1
Illustrative units only. The one-unit fee is fixed for this example; it is not a network fee quote. No funds move.
| Illustrative transfer | Value |
|---|---|
| Consumed input | 100 units |
| Recipient output | 60 units |
| Sender change output | 39 units |
| Fee | 1 unit |
| Check | 100 = 60 + 39 + 1 |
Available and restricted value
The model supports available, locked, escrowed and other explicitly defined partitions. Showing an amount in a wallet does not make it spendable. The owning object’s rules determine which transitions are valid.
Institutional restrictions belong to the relevant asset and domain. Their existence does not authorize a universal administrator override of personal payments or the mutual-consent escrow profile.