QuantumChain QTCN
MenuClose menu
Documentation QTCN / NETWORK

QUANTUMCHAIN

Explore the docs

Architecture · Payments · Protocol

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.

7 min readReviewed 24 November 2026Markdown ↗

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.

  1. 01
    History

    Blocks, transactions, receipts and certificates record how the ledger reached its state.

  2. 02
    Active objects

    Current value, descriptors, asset definitions and locks determine what can happen next.

  3. 03
    Query indexes

    Address activity and balance summaries make those records easier to find.

  4. 04
    Proofs & snapshots

    Authenticated commitments support verification and state synchronization.

Logical storage responsibilities. This is not a diagram of four separate networks.

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.

Value objects and persistent control
Object familyPurposeTypical lifecycle
ValueRepresents units under explicit spending authorityConsume once; create new outputs
Asset definitionDefines an asset and its permitted operationsPersist; update only under its authority
Descriptor / policyDefines who may act and under which conditionsReference or update under the applicable rules
Lock / escrowRestricts value until a permitted transitionFund, hold, then release or settle
RegistryRecords validators, domains or other protocol objectsPersist 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.

  1. 01
    Resolve

    Parse the transaction and resolve its referenced objects.

  2. 02
    Authorize

    Verify witnesses, validity bounds and object authority.

  3. 03
    Check

    Apply transaction-type, asset, conservation and resource rules.

  4. 04
    Commit

    Apply the complete transition, emit deterministic results and update commitments.

Design-level execution sequence. Invalid transitions must not leave partially updated economic state.

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.

VALUE CONSERVATIONEvery input unit has a destination
Consumed input · 100 unitsThe original value object cannot be spent again
One atomic transfer
Recipient · 60New output
Change · 39New sender output
Fee · 1Example only
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.

Follow every unit
Illustrative transferValue
Consumed input100 units
Recipient output60 units
Sender change output39 units
Fee1 unit
Check100 = 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.