DEVELOPERS · DESIGN GUIDE
Developer orientation
Find the protocol boundary, choose a reproducible environment and connect each change to evidence.
Build on one set of canonical rules
The reference-workspace specification separates schemas, protocol rules, execution and higher-level clients or services. Applications should reuse those rules rather than invent their own interpretation of transactions.
This is a guide to the intended development architecture. The reviewed core source collection is a specification library; it does not provide a verified node binary, package installation or runnable quickstart.
Rules flow outward.
Higher-level conveniences keep the same protocol meaning.
- 01Schemas
Shared structures and canonical encodings
- 02Protocol
Validation, authorization and commitments
- 03Execution
Apply valid transitions and produce receipts
Conceptual dependency direction · not a build command or an existing repository tree.
Start with the behavior you need
| Your task | Read first | Evidence to define |
|---|---|---|
| Build a wallet flow | Addresses, descriptors, witnesses and transaction lifecycle | Correct authorization and clearly presented finality |
| Integrate a payment service | Requests, receipts and reconciliation | Stable correlation and duplicate-safe effects |
| Work on a node | Ledger/state, consensus and synchronization | Canonical-state and signing-safety invariants |
| Build a query or proof service | Commitments, scope and historical state | Anchored evidence and explicit freshness |
A repeatable development loop
A successful UI interaction does not replace protocol validation. Likewise, an SDK test cannot alone establish consensus safety or correct recovery from corrupted storage.
- Identify the specification section and unresolved choices before coding.
- Choose an isolated profile with versioned fixture data.
- Implement at the lowest responsible layer and keep interfaces explicit.
- Check positive and negative vectors, then the relevant invariant.
- Run an integration scenario and preserve the evidence needed for review.
What a runnable quickstart must include
Commands, ports and SDK package names will be published only after verification against released software. The account website’s backend is not a substitute for a native QuantumChain node.
| Required input | Why it matters |
|---|---|
| Release and source revision | Identifies what is being run |
| Pinned toolchain and dependencies | Makes builds reproducible |
| Network/profile identity and fixtures | Prevents accidental use of another environment |
| Verified commands and expected output | Lets readers confirm that each step succeeded |
| Logs, cleanup and recovery instructions | Makes failures and local state manageable |
Make a change reviewable
Document the invariant, the affected module boundary and the tests that demonstrate the resulting behavior. If a change alters canonical encoding, authorization or state semantics, it needs an explicit protocol compatibility decision.
The build-graph specification calls for shared vectors and traceability across code, tests and releases. Public repository locations, contribution procedures and downloadable developer tooling remain to be verified before being listed here.