Skip to Content
Whitepaper v18.3 · Chapter 06 / 17

Cryptographic Engineering & Post-Quantum Security

← All chapters·Normative EN specification

The preceding sections have referenced post-quantum primitives (ML-DSA-65/44, SHA3-256) and the programmable UTXO model without fully specifying their implementation. This section provides the complete cryptographic specification that underpins every signature, hash, and state transition across both networks — the concrete realization of Axiom 2 (Quantum Threat as Present Danger).

Axiom coverage. All mechanisms in this section satisfy §1.3 axioms by construction. Inline axiom citations are omitted except where a specific tension requires explicit reconciliation.

6.1. Quantum Threat as Axiomatic Premise

Per Axiom 2 (§1.3), the protocol treats the quantum threat as an engineering constraint active from genesis — not a future risk. The concrete consequence is total elimination of classical elliptic curve cryptography from every role that authorizes a Bond or Aevum spend, secures either chain's consensus, or protects a P2P session: no ECDSA, no EdDSA, no secp256k1, no Curve25519. Elliptic-curve primitives survive only outside those roles — notably at the Quantum Seam with external chains (§EI.1, §EI.5.2) and in off-chain secure-element device attestation (§10.1.2). This removes two otherwise inevitable failure modes: a disruptive hard fork migration (risking chain splits, user fund loss, and coordination failure) or a prolonged hybrid period where classical and post-quantum schemes coexist (doubling signature sizes, complicating consensus, expanding the attack surface).

6.2. Post-Quantum Cryptographic Standard: ML-DSA

The ecosystem adopts the ML-DSA (Module-Lattice Digital Signature Algorithm) family, standardized by NIST as FIPS 204 (August 2024). ML-DSA is based on the computational hardness of the Module Learning with Errors (Module-LWE) problem — a lattice-based mathematical structure for which no efficient quantum or classical algorithm is known.

Two parameter sets are deployed across the ecosystem, selected for their distinct performance/security trade-off profiles:

6.2.1. Formal Parameter Table

Parameter ML-DSA-65 ML-DSA-44
NIST Security Level Level 3 (equivalent to AES-192) Level 2 (equivalent to SHA-256/SHA3-256 collision search)
Mathematical Basis Module-LWE over Rq=Zq[X]/(X256+1), q=8380417 Same ring structure, reduced parameters
Public Key Size 1,952 bytes 1,312 bytes
Private Key Size 4,032 bytes 2,560 bytes
Signature Size 3,309 bytes (~3.3 KB) 2,420 bytes (~2.4 KB)
Signing Time (reference, ARM Cortex-M4) ~15-25 ms ~8-15 ms
Verification Time (reference, ARM Cortex-M4) ~5-10 ms ~3-6 ms
Key Generation Time ~10-20 ms ~5-12 ms

Protocol Mandate: Deterministic Signing Mode. FIPS 204 supports both deterministic signing (rnd = 0) and hedged/randomized signing (rnd = random). The Bond/Aevum protocol mandates deterministic signing mode (rnd = 0) for all ML-DSA operations across both chains. This mandate is a signer-side engineering requirement. Because a verifier holds only the public key and the signature — and ML-DSA nonce derivation depends on the private key — a verifier cannot re-derive the nonce and therefore cannot observe or enforce which signing mode a signer used; determinism is not publicly verifiable (see Enforcement below). The mandate is motivated by transaction-ID stability (item 1). A second, previously stated motivation — using signatures as a randomness beacon — is cryptographically unsound and is corrected in item 2:

  1. Transaction ID determinism. The Bond RSC TXID is computed from the full serialized transaction including the signature. If signatures are randomized, the same logical transaction produces different TXIDs when re-signed — breaking TXID-dependent mechanisms (HTLC resolution, SPV proofs, Merkle inclusion verification).
  2. ML-DSA is not a VRF (corrected). A prior version of this spec derived the oracle epoch rotation seed (Section 7.5.2) from ML-DSA-65 block-header signatures, treating deterministic signing as a uniqueness/unpredictability guarantee. This is unsound: the block producer holds the private key and can freely select the FIPS 204 hedged (randomized) variant — or otherwise vary the signature — to grind the rotation seed, and no verifier can detect this, because the signing mode is not publicly recoverable from the signature and public key alone. A digital signature is therefore not a verifiable random function, and signer-side determinism provides no anti-grinding guarantee to verifiers. What the design currently specifies for oracle epoch rotation is not a dedicated VRF but the vrf_accumulator PQ-VRF substitute: a RANDAO-style per-block accumulator committed via the Aevum block header and state root, from which the epoch seed is derived as SHA3-256(vrf_accumulator ‖ e) (ADR-0022 — Status: Proposed, counter-sign required, not counter-signed — Decision item 3, “Uniqueness derived from an accumulator, not from signature bytes”; this document's §7.5.2, Seed Derivation). Its guarantee is Assumption 9.2 of Appendix 08 §9.5 — unpredictability, bounded bias, public verifiability — an explicitly open assumption, not a VRF proof. A dedicated post-quantum Verifiable Random Function (PQ-VRF), whose output would be provably unique per (key, input) pair, is the target construction, not the shipped one: no standardized PQ-VRF exists as of this document, the lattice-based LB-VRF of Esgin et al. (Financial Cryptography 2021) is the reference candidate, and its construction and pseudorandomness are queued as PD-K2 in Appendix 09. Migration to it, when one lands, goes via sig_version (§6.6).

Open (unrelated to the above, and not discharged by it). Section 7.5.2 still carries the withdrawn signature-extraction construction — its heading, its Construction Note, and its ROM+EUF-CMA reduction sketch all read on SHA3-256(σ_ML-DSA) — beside the accumulator text that supersedes them, and the §7.10 reference table still attributes grind-resistance to deterministic signing. Reconciling those surfaces is a consensus + cryptography change and is held for the ADR-0005 counter-sign.

Formal-review pending (ADR-0005 counter-sign). Construction to be proved in Appendix 09 (Pending Formal Derivations).

Correction pending (ADR-0005 counter-sign). The Enforcement paragraph below states ADR-0022's Decision rule (1) and its withdrawal of the recompute-and-compare verifier path. That ADR is Status: Proposed, counter-sign required, and not counter-signed; ADR-0022 calls the canonical-encoding rule genesis-immutable at its L65 and L111, which is the status a counter-signature would confer, not one it has. Read the paragraph as the proposed enforcement model, not as settled consensus protocol. (docs/dev/rules/10-tier0.md rule 2 names this exact rule.)

Enforcement (signer-side only; not verifier-checkable) — proposed, per ADR-0022 rule (1), unratified. Deterministic signing cannot be enforced by verifiers. A verifier holds only the public key and the signature, and ML-DSA nonce derivation depends on the private key, so re-deriving or re-signing to compare against the submitted signature is cryptographically impossible. The earlier claim that consensus nodes re-compute the expected deterministic signature (a full sign operation per verification) is therefore withdrawn. Determinism is mandated for signers: conformant signers (notably the Arca firmware, Section 6.10) MUST use the FIPS 204 deterministic variant (rnd = 0) — an RFC 6979-style construction where the per-signature randomness is derived from the private key and message — not the FIPS 204 hedged variant, even where fault-injection resistance is required: the added fault-injection exposure of deterministic signing is mitigated without leaving deterministic mode (Side-Channel Implication below), and the Arca's double-computation check forbids hedged mode outright (§9.10.4.2). Under ADR-0022's proposed rule, consensus nodes would verify only what is publicly checkable: (a) the signature is valid under the FIPS 204 ML-DSA verification algorithm, and (b) the signature is in ML-DSA's fixed-length canonical byte encoding — non-canonically-encoded signatures rejected. Canonical encoding, together with ML-DSA's SUF-CMA strong unforgeability, is what actually binds one transaction serialization to one TXID (see §6.9). Standard verification cost is unchanged (~5-10 ms per §6.2.1); no signing operation is performed during verification.

Side-Channel Implication. Deterministic signing is more vulnerable to fault injection attacks (DFA) than randomized signing, because repeated signing of the same message always produces the same intermediate values. This is mitigated at the hardware level: the Arca uses constant-time NTT execution on the FE310's in-order RISC-V pipeline (Section 9.4), and software-level countermeasures include verify-after-sign (the Arca verifies its own signature before displaying it, catching fault-induced errors).

6.2.2. Domain of Application

Domain ML-DSA Level Rationale
Bond RSC pUTXO Signing ML-DSA-65 Sovereign settlement of high-value capital. Security Level 3 provides maximum margin against future quantum advances. The 20-minute block time absorbs the larger signature size (~3.3 KB) without throughput impact.
FCRC Vault Custody ML-DSA-65 The systemic vault demands the highest available security level. Signing is ceremonial (rare), so performance overhead is irrelevant.
Arca Hardware Wallet ML-DSA-65 Air-gapped custodian for Bond RSC keys — the recommended upgrade over Desktop Node software self-custody (§10.5.1). The FE310-G002 + external SRAM accommodates the 4 KB private key and 3.3 KB signature generation in working memory.
Aevum ESC UserOperations (UserOps) ML-DSA-44 High-frequency transactional signing (micropayments, Paymaster interactions). Level 2 provides robust quantum resistance while reducing signature size by ~27% to ~2.4 KB, critical for block space efficiency at 1 block/5 seconds.
NMW Session Auth Tokens ML-DSA-44 SATs are signed by Arca/Desktop and verified on-chain. The reduced 2.4 KB signature fits within the ADQ-SAT QR protocol budget (Section 10.3).
PQC Oracle Attestations (Aevum-side throughput surface) ML-DSA-44 High-frequency cross-ledger state attestations (e.g., price feeds, gas-price oracle updates, parameter-state attestations) require throughput. Level 2 balances verification speed with quantum resilience.
wBND Bridge Oracle Attestations (mining-context anchor surface) ML-DSA-65 Bridge oracle quorum attestations anchoring Bond-side HTLC locks to Aevum-side wBND mints (Section 7.4 / Engineering Blueprint §2.5). Implemented per ADR-0013 §3 (MlDsa65::verify_with_context under BRIDGE_SWAP_PROOF_V1); leverages the same Level 3 security floor as Bond RSC mining-context spends (sig_version 0x0001) because the bridge attestation directly authorizes a long-tail cross-chain capital movement. The oracle quorum cadence (4-of-5 attestations per lock; recommended, pending ADR-0005 ratification — a 3-of-5 quorum is only crash-fault-tolerant and permits an unbacked double-mint under the f=1 Byzantine model, so quorum = ⌊2N/3⌋+1) absorbs the larger 3,309-byte signature without throughput impact.

6.3. Hash Function: SHA3-256 (Full NIST Compliance)

The ecosystem standardizes on SHA3-256 (FIPS 202) as the singular consensus hash of both chains: at genesis the protocol uses no other hash function in any consensus-critical computation. Two separately activated surfaces, neither live at genesis, add other hashes in domains of their own. External interoperability (§EI.10) admits external chains' native hashes only at the boundary — into Bond script solely as SHA-256, checked by OP_SHA256_PREIMAGE_CHECK (0xBA), which is usable only inside OP_HTLC_XLOCK (§EI.2.2, §EI.3.1), and onto Aevum solely to verify external-chain headers and proofs, in namespaced domains never mixed with SHA3-256 (§EI.5.2, §EI.11). The Aevum Shielded Pool hashes its in-circuit note commitments, Merkle nodes and nullifiers with Poseidon2 (§15.6, §15.9). Genesis uses of SHA3-256 include:

Function Hash Primitive Notes
Proof of Work (Bond RSC) SHA3-256 Mining puzzle: find nonce such that SHA3-256(block_header∣nonce)<target
Merkle Tree Construction SHA3-256 Transaction Merkle root in block header (both Bond and Aevum)
Address Derivation SHA3-256 address=SHA3-256(ML-DSA_pubkey)[0..19] (20-byte truncation; collision-resistance caveat below)
Transaction ID (TXID) SHA3-256 TXID=SHA3-256(serialized_transaction)
TRNG Entropy Conditioning SHA3-256 Raw physical entropy from Arca TRNG passed through SHA3-256 before key derivation
HTLC Hash Preimage SHA3-256 Atomic swap hashlock: h=SHA3-256(preimage)
OP_VETO Signaling SHA3-256 Veto flag includes SHA3-256(TXIDtarget) in coinbase
Gas Price Oracle EMA SHA3-256 State commitment in block header

The decision to use SHA3-256 exclusively (rather than Keccak-256, the pre-standardization variant used by Ethereum) is deliberate. SHA3-256 includes NIST-mandated domain separation padding (0x06) absent in raw Keccak-256, producing different outputs for identical inputs. Using the standardized version ensures full NIST compliance across the entire cryptographic stack (ML-DSA + SHA3-256), eliminates auditor confusion between Keccak and SHA3 variants, and maintains a single, unambiguous hash specification for all implementors.

Address collision-resistance posture (20-byte truncation). Truncating SHA3-256 to 20 bytes yields a 160-bit address. For the ordinary receive-then-spend flow this provides 160-bit second-preimage resistance (~2^80 under a quantum multi-target BHT bound): the recipient's public key is fixed before the attacker acts, so producing a distinct key that hashes to an already-committed address requires a second preimage, not a collision. The reduced 80-bit collision resistance (~2^53 quantum) is exploitable only in chosen-collision settings where an adversary controls both keys — e.g. grinding two of its own keys to a shared address inside an adversarially-constructed multisig or covenant, or vanity-address grinding — never for funds sent to an honest party's pre-existing address. Because Bond addresses are single-use reveal-at-spend (the full public key is revealed and re-hashed at spend under OP_CHECKSIG_PQC, and the hash must match the address), standard custody exposure is bounded by the 160-bit second-preimage level, matching the Level-3 posture against its actual threat. Where an attacker could influence key generation on both sides — high-assurance FCRC and institutional covenants — the covenant SHOULD additionally commit the full public key (or a ≥ 32-byte hash) in metadata, restoring ≥ 128-bit collision resistance for those pUTXOs. The 20-byte default is retained for wire-size economy (§2.2.3 / CONSTANTS bond.tx_wire_size); this note documents and bounds the resulting exposure explicitly.

6.3.1. Symmetric Encryption: AES-256-GCM (Device-Local Only)

The Arca hardware wallet uses AES-256-GCM (NIST SP 800-38D) for encrypting private keys and SSS shares at rest in SPI flash storage. AES-256-GCM and the Argon2id PIN KDF are the only non-SHA3 cryptographic primitives on the Arca's at-rest storage path, both device-local; they are not the only non-SHA3 primitives in the ecosystem (inventory at the end of this section). AES-256-GCM's scope is strictly device-local:

Usage Context Rationale
Key-at-rest encryption Arca SPI flash (encrypted with Argon2id-derived key from user PIN) AES-256-GCM provides authenticated encryption with ~128-bit post-quantum security (Grover's halving of AES-256's 256-bit key space). SHA3-based AEAD constructions (e.g., Keccak sponge AEAD) are not yet NIST-standardized for authenticated encryption, making AES-256-GCM the pragmatic choice for auditable, well-analyzed symmetric encryption
SSS share encryption Custodian Arca flash storage Same mechanism — each share encrypted independently under the custodian's PIN-derived key

Not used in consensus. AES-256-GCM is never used in any consensus-critical computation, on-chain data structure, or cross-device communication. It exists solely within the Arca's local storage layer. The single-consensus-hash claim (Section 6.3) covers all consensus-critical computation: without exception at genesis, and outside the two separately activated domains §6.3 discloses thereafter. Device-local storage encryption is an implementation detail, not a protocol primitive.

Non-SHA3 inventory beyond the Arca. Beside the lattice schemes — ML-DSA (§6.2), ML-KEM-768 (§14.3, §15.4), and the privacy roadmap's Module-LWE commitments and lattice blind signatures (§15.3, §15.5) — the specification names other non-SHA3 primitives outside the Arca's storage path, among them:

Primitive Where Scope
ChaCha20-Poly1305 P2P transport AEAD (§14.3.2) Handshake payloads and every post-handshake frame, under keys derived from the ML-KEM-768 exchange; ~128-bit post-quantum security, equivalent to AES-256-GCM
SipHash-2-4 Bond compact-block short IDs (§14.6.1) P2P block relay only (48-bit short transaction IDs)
Argon2id NMW SAT at rest; Desktop Node keystore unsealing (§10.1.2, §10.5.4) Device-local, as on the Arca
SHA-256 OP_SHA256_PREIMAGE_CHECK (0xBA), usable only inside OP_HTLC_XLOCK (§EI.2.2, §EI.3.1) External-chain hashlocks in Bond script; external interoperability is not activated at genesis (§EI.10)
SHA256d, Keccak-256, BLS12-381 External-chain header and proof verification on Aevum (§EI.4.4, §EI.5.2) and in the SPV light clients (§EI.6) External chains' native schemes, in namespaced domains never mixed with SHA3-256 (§EI.11); BLS12-381 verifies an external chain and secures no Bond/Aevum value directly (Appendix 09, PD-B3); not activated at genesis (§EI.10)
Poseidon2 Aevum Shielded Pool (§15.6) In-circuit note commitments, Merkle nodes, nullifiers and key images; not live at genesis (§15.9)
P-256 / RSA Stock platform secure elements: NMW device attestation, Desktop Node keystore binding (§10.1.2, §10.5.4) Classical; kept off the consensus path and never verified on-chain
secp256k1 (ECDSA / Schnorr) xOracle external-chain custody keys (§EI.4.1–§EI.4.3) External chains only — the Quantum Seam (§EI.1); not activated at genesis (§EI.10)

6.4. Programmable UTXO State Machine (pUTXO)

6.4.1. UTXO vs. Account Model: Architectural Rationale

The Bond RSC discards the account-based state model (as used by Ethereum and the Aevum ESC) in favor of a Programmable Unspent Transaction Output (pUTXO) model. This is not a stylistic preference — it is a security architecture decision driven by four properties:

Validation Parallelism. Each pUTXO is an independent state fragment. Transactions consuming disjoint sets of pUTXOs can be validated concurrently across multiple CPU cores without coordination locks. In an account model, transactions touching the same account must be serialized (nonce ordering), creating a sequential bottleneck. For a network processing high-value institutional settlements where validation latency directly impacts confirmation confidence, parallelism is a structural advantage.

Deterministic Execution. A pUTXO script evaluates against a fixed, self-contained input set (the pUTXO being spent, the spending transaction's fields, and the witness data). There is no global mutable state to read or write. Execution is purely functional — given the same inputs, every node in the network is guaranteed to compute the same result, independent of execution order or timing. This eliminates an entire class of consensus bugs caused by state-dependent execution ordering.

Reentrancy Isolation. The account model's shared state (global state trie) enables reentrancy attacks — a malicious contract re-enters a function before the first invocation completes, exploiting stale state. The pUTXO model is structurally immune: a pUTXO is either unspent or spent. There is no intermediate state to exploit. Once a pUTXO is consumed in a transaction, it ceases to exist, eliminating the most damaging class of smart contract vulnerability at the architectural level.

Privacy by Architecture. pUTXOs enable natural coin selection and change address generation, making transaction graph analysis significantly more complex than in account-based systems where a persistent address accumulates a visible balance over time.

6.4.2. pUTXO Anatomy

Each pUTXO in the Bond RSC consists of the following fields:

Field Size Description
value 8 bytes Amount in Nob (uint64). Maximum: 264−1 Nob (~18.4 quintillion).
sig_version 2 bytes Cryptographic scheme identifier. 0x0001 = ML-DSA-65. Future versions assigned via soft fork activation.
locking_script Variable (≤ 10 KB) Stack-based script defining spending conditions. Evaluated against the witness data at spend time.
script_version 2 bytes Script interpreter version. Enables future opcode additions via soft fork without breaking existing pUTXOs.
metadata Variable (≤ 256 bytes) Optional application-layer data (covenant parameters, deadman timer config, guardian pubkey hashes).
block_height_created 4 bytes Block height at which this pUTXO was created. Used for timelock calculations and Dedication Decay reference.

The maximum pUTXO size (all fields combined) is capped at 12 KB to prevent state bloat while accommodating the volumetric requirements of ML-DSA-65 signatures (~3.3 KB) in multi-signature covenant scripts.

6.4.3. State Isolation Guarantee

Every pUTXO is an isolated state cell. The protocol enforces the following invariant:

A pUTXO's locking script may reference ONLY: (1) the pUTXO's own fields, (2) the spending transaction's fields (inputs, outputs, locktime, witnesses), and (3) the current block height. No opcode may read or write global state, query other pUTXOs not being consumed in the same transaction, or access external data feeds.

This invariant guarantees that pUTXO validation is a pure function of local inputs. Oracle data (e.g., cross-ledger attestations from the Aevum network) enters the Bond RSC exclusively via OP_RETURN data embedded in transactions, which scripts can reference as transaction fields — never via stateful oracle queries during execution.

6.5. Script System: Stack-Based with Covenants

6.5.1. Design Philosophy

The Bond RSC script system is intentionally non-Turing-complete. Every script is guaranteed to terminate in bounded time. There are no loops, no unbounded recursion, and no EVM-style per-instruction gas metering — script execution is bounded by construction, not by gas limit. This is a deliberate restriction reflecting the Bond RSC's role as a sovereign settlement layer. (Note: opcodes carry relative computational weight classifications — see Appendix 03 — used for fee estimation in the Free Lane auction. These weights inform miner fee preference, not gas metering in the Aevum sense.)

Complex programmable logic belongs on the Aevum ESC (which provides Turing-complete smart contract execution in a WASM sandbox). The Bond RSC script system needs only enough expressiveness to enforce the protocol's critical state transitions: multisig custody, timelocked releases, hash-locked swaps, covenant restrictions, veto mechanisms, and deadman switches. All of these are implementable with a finite, auditable set of stack operations.

The benefit of non-Turing-completeness is formal verifiability — every locking script can be analyzed statically to prove termination, resource bounds, and correctness properties. This is essential for scripts guarding the FCRC vault and institutional pUTXOs worth potentially billions in value.

6.5.2. OpCode Table (Genesis Set)

OpCode Hex Stack Effect Description
OP_CHECKSIG_PQC 0xAC <sig> <pubkey> → <bool> Verifies an ML-DSA signature against the signing serialization of the spending transaction. The sig_version field of the pUTXO determines the ML-DSA parameter set (65 or 44). Returns 1 (valid) or 0 (invalid).
OP_CHECKMULTISIG_THRESHOLD 0xAD <sig₁>...<sigₘ> <m> <pub₁>...<pubₙ> <n> [<sig_version_tag>] → <bool> Verifies that at least m of n ML-DSA signatures are valid. ML-DSA parameter set determined by optional sig_version_tag in witness data (default: pUTXO's sig_version). Used for M-of-N guardian quorums, FCRC ceremony signing (ML-DSA-65), and bridge oracle attestation verification — value lock/burn attestations under ML-DSA-65 (sig_version_tag 0x0001; recommended, pending ADR-0005 ratification), non-value oracle feeds under ML-DSA-44 (0x0002), with each supplied oracle key checked for membership in the covenant's committed oracle-set Merkle root (see Section 6.6.1).
OP_VETO 0xB0 <veto_proof> <txid_target> → <bool> Validates a veto assertion against a pending FCRC withdrawal or social recovery transaction. The veto proof contains the original owner's ML-DSA signature authorizing cancellation. Consumed within the Systemic Expressway (Section 2.3.2).
OP_DEADMAN 0xB1 <guardian_sigs> <inactivity_period> → <bool> Activates a succession script when current_block_height - pUTXO_creation_height > inactivity_period. The inactivity proof is local to the pUTXO — the creation height serves as the "last activity" marker. Requires M-of-N guardian signatures to execute. See Section 11.2.3 for the full mechanism including keepalive and false positive prevention.
OP_DELAY_BARRIER 0xB2 <delay_blocks> → <bool> Enforces a minimum block-height delta between the pUTXO's creation and its spending. Used for FCRC timelock (1,008 blocks ≈ 14 days on Bond RSC), social recovery windows (216 blocks ≈ 72 hours on Bond RSC), and vesting schedules. All block counts in this opcode refer to Bond RSC blocks (20-minute block time).
OP_HTLC_LOCK 0xB3 <hash> <timeout_height> → <script> Creates a Hash Time-Locked output: spendable by presenting the hash preimage before timeout_height, or refundable by the original sender after timeout_height. Core primitive for Web Swap Service atomic swaps (Section 7).
OP_HTLC_CLAIM 0xB4 <preimage> <hash> → <bool> Verifies SHA3-256(preimage)=hash. Used to claim the locked output in an atomic swap.
OP_COVENANT_DEST 0xB5 <allowed_dest_hash> → <bool> Restricts the spending transaction's outputs to a predefined set of destination addresses (identified by their SHA3-256 hash). Enforces FCRC ring-fencing (outputs must go to FCRC pUTXOs) and guardian recovery routing (outputs must go to designated heir addresses).
OP_COVENANT_VALUE 0xB6 <min_value> <max_value> → <bool> Restricts the spending transaction's output values to a bounded range. Used for Volumetric Delay Barriers (Section 7.4) — withdrawals above the threshold trigger OP_DELAY_BARRIER.
OP_CHECKBLOCKHEIGHT 0xB7 <height> → <bool> Verifies that the current block height is ≥ the specified value. Used for absolute timelocks (vesting cliff enforcement, epoch-aligned releases).
OP_RETURN 0x6A (non-spendable) Embeds arbitrary data (≤ 256 bytes) in a provably unspendable output. Used for cross-ledger oracle attestations, Quantum Canary monitoring, and OP_VETO signaling in coinbase transactions.
OP_MIGRATE 0xB8 <deprecated_utxos> → <consolidated_utxo> Consolidates multiple deprecated-sig_version pUTXOs into a single new-sig_version pUTXO at 1× base fee during grace windows (Section 6.6.3). Valid only during active grace windows (every 13,104 blocks). Maximum 50 input pUTXOs per transaction. Receives Systemic Expressway Tier 4 priority during grace windows. Outside grace windows, the opcode is consensus-invalid — except in continuous-migration mode, entered on a corroborated Quantum Canary activation (Active Signals ≥ 2, §6.7.2), during which OP_MIGRATE is consensus-valid in every block (§6.6.3, §6.7.1).

Covenant Composition. Multiple covenant opcodes can be composed within a single pUTXO script using standard stack-based branching (IF/ELSE). The script evaluates each spending path independently, and the transaction is valid if any path succeeds. Composition example — Staking-While-Vested pUTXO (Section 8.2):

IF                                           # Path 1: Staking (available anytime)
  OP_COVENANT_DEST <staking_contract_hash>   # Destination must be registered staking contract
  <owner_pubkey> OP_CHECKSIG_PQC             # Owner authorizes the staking deposit
ELSE IF                                      # Path 2: Free transfer (vesting-gated)
  OP_CHECKBLOCKHEIGHT <cliff_block>          # Block height must be past vesting cliff
  <owner_pubkey> OP_CHECKSIG_PQC             # Owner authorizes the transfer
ELSE                                         # Path 3: Slashing (consensus-authorized)
  OP_CHECKMULTISIG_THRESHOLD <committee_sigs> <threshold> <committee_pubkeys> <n>
                                             # Consensus committee authorizes the slash burn
ENDIF

Path 1 allows staking at any time (destination-restricted). Path 2 allows free transfer only after the cliff (time-restricted). Path 3 allows the consensus committee to burn slashed tokens regardless of vesting. The script is statically analyzable and terminates in bounded time. This composition pattern generalizes: any combination of OP_COVENANT_DEST, OP_COVENANT_VALUE, OP_CHECKBLOCKHEIGHT, and OP_DELAY_BARRIER can be composed via branching to implement complex multi-condition spending policies.

6.5.3. Soft Fork Extensibility

The OpCode Table is extensible via soft fork without requiring a hard fork or chain split. The activation mechanism follows a miner-signaled process:

Proposal Phase. A new opcode is proposed via an on-chain governance signal (OP_RETURN in a DAO Treasury transaction containing the opcode specification hash). The proposal includes the opcode hex assignment, stack semantics, and reference implementation hash.

Signaling Phase. Miners signal support by including a version bit in the block header. The signaling window is 504 blocks (1 epoch ≈ 7 days).

Activation Threshold. If ≥ 95% of blocks within the signaling window include the support bit, the new opcode activates at the start of the subsequent epoch. Blocks produced by non-upgraded miners that encounter the new opcode in a transaction treat it as OP_NOP (no operation) — they neither validate nor reject it. This ensures backward compatibility: non-upgraded nodes do not fork off the chain, they simply cannot fully validate transactions using the new opcode until they upgrade.

Immutability of Existing OpCodes. A soft fork may only ADD new opcodes. It may never modify the semantics of an existing opcode. This invariant is enforced by convention and by the script_version field — if a future script semantics change is ever required, it is deployed under a new script_version, leaving all existing pUTXOs under prior versions unaffected.

6.6. Cryptographic Agility: The sig_version Field

6.6.1. Architecture

Every pUTXO carries a sig_version field (2 bytes) that identifies the cryptographic signature scheme used to authorize its spending. At genesis, only one version is defined:

sig_version Scheme Status
0x0001 ML-DSA-65 (FIPS 204, Level 3) Active (genesis). Used for all Bond RSC pUTXO signing and verification
0x0002 ML-DSA-44 (FIPS 204, Level 2) Active (genesis). Verification-only on Bond RSC — cannot be used for pUTXO creation (pUTXO sig_version field rejects 0x0002). Scoped to OP_CHECKMULTISIG_THRESHOLD verification of non-value oracle feed attestations (price/gas/parameter-state — no direct value-at-risk). Value-bearing bridge lock/burn attestations are verified under ML-DSA-65 (Level 3, sig_version_tag 0x0001), pinning signature strength to value-at-risk (recommended; pending ADR-0005 ratification — see the bridge covenant note below and ADR-0013 §3). Oracle public keys and attestation data are provided as witness data in the spending transaction
0x0003–0xFFFF (Reserved for future PQC schemes) Inactive (activated via soft fork when needed)
0x0000 (Invalid — reserved as null sentinel) Permanently invalid

Bridge Covenant Verification (value attestations — ML-DSA-65). The wBND bridge release covenant (Section 7.4.1) requires Bond RSC pUTXO scripts to verify oracle attestation signatures. Because a lock/burn attestation authorizes a cross-chain capital movement whose value-at-risk equals a Bond RSC settlement spend, it is verified under ML-DSA-65 (Level 3) — OP_CHECKMULTISIG_THRESHOLD invoked with sig_version_tag 0x0001 (recommended; pending ADR-0005 ratification per ADR-0013 §3 / BRIDGE_SWAP_PROOF_V1). ML-DSA-44 (0x0002) is reserved for non-value oracle feeds only. The witness data contains: the oracle attestation payload, the required quorum threshold M (4-of-5 at genesis; recommended, pending ratification), the M oracle signatures, the M oracle public keys, their M Merkle-inclusion proofs (below), and the sig_version_tag.

On-chain oracle authentication (isolation-preserving). A covenant that merely checks signature validity over witness-supplied keys authenticates nothing: any party could present M self-generated keys and M valid signatures over a forged attestation and satisfy the threshold, then rely on a reactive off-chain fraud proof to be caught only after a fraudulent mint is initiated. To bind the covenant to the authorized oracle set on-chain without reading global state (which §6.4.3 forbids), the bridge pUTXO commits the authorized oracle set's public-key-hash Merkle root into its metadata field at creation. OP_CHECKMULTISIG_THRESHOLD, in bridge context, additionally verifies for each supplied public key a witness-provided Merkle-inclusion proof against that committed root, and rejects the spend unless all M keys are proven members. Authentication is thus performed on-chain against a locally committed root: the state-isolation guarantee (Section 6.4.3) holds because nothing is queried from global state — only the pUTXO's own metadata and the spending transaction's witness are read. The bridge contract on the Aevum ESC remains the authoritative registry for rotating the oracle set (a new set yields a new committed root in newly created bridge pUTXOs); the SPV Challenge mechanism (Section 7.5.5) remains the fraud-proof backstop for equivocation within an authorized set, with its challenge window, bond, and slashing specified there. On-chain membership binding thus makes the on-chain check sufficient to authorize the honest-oracle-set case, demoting the SPV layer from sole authenticator to equivocation backstop.

Formal-review pending (ADR-0005 counter-sign).

When a new cryptographic scheme is required (due to advances in quantum computing, cryptanalytic breakthroughs, or standardization of superior alternatives), the migration follows a non-disruptive sequence:

  1. Soft Fork Activation. A new sig_version (e.g., 0x0003 mapped to a hypothetical SPHINCS+-256s or a future NIST standard) is activated via the 95%-miner-signaling mechanism (Section 6.5.3).
  2. Coexistence Period. Both the legacy sig_version (e.g., 0x0001) and the newly activated version (e.g., 0x0003) are valid simultaneously. New pUTXOs can be created under either version. Existing pUTXOs under the legacy version remain fully spendable.
  3. Economic Incentive for Migration. Transactions spending pUTXOs with the deprecated sig_version are subject to a progressive fee multiplier (Section 6.6.2), creating a market-based incentive to migrate without confiscating funds.
  4. Gradual Organic Migration. As users spend their old pUTXOs (for any reason — transfers, swaps, staking), the change outputs are naturally created under the new sig_version. Over time, the proportion of legacy pUTXOs decays organically. This architecture ensures that no hard fork is ever required for signature-scheme migration on the Bond RSC. No user loses access to funds. No forced timeline confiscates capital. The protocol evolves its signature foundations while preserving individual sovereignty — the user always retains the right to spend, albeit at increasing cost if they refuse to migrate. Two migration surfaces are not covered by this soft-fork path and are specified separately below: the Aevum ESC (account model, no sig_version) and the hash function (a hard-fork-only change).

Aevum ESC scheme migration (account-model path). The sig_version apparatus (fee escalation, OP_MIGRATE, CET) is specific to the Bond RSC pUTXO model. The Aevum ESC is account-based and carries no per-output sig_version; instead, each Account-Abstraction account (a smart-contract wallet under the EntryPoint singleton, §8.2) records its verifying scheme as a mutable per-account crypto_version in account state. Scheme rotation on Aevum is therefore an in-place account-state upgrade, authorized by the account's current key on any self-authorized UserOperation: the wallet re-keys to the new scheme and updates its crypto_version. The same progressive-fee incentive (§6.6.2) is applied at the UserOperation validation layer to deprecated-scheme accounts, and because account state is mutable there is no OP_MIGRATE analog — no consolidation transaction is required. Deprecation of an Aevum scheme is governed by the same corroborated Canary trigger as the Bond side (§6.7.3).

Formal-review pending (ADR-0005 counter-sign).

Hash-function agility (separate from sig_version). The sig_version field selects the signature scheme only; it has no bearing on the hash function. SHA3-256 underpins PoW, Merkle roots, TXIDs, and address derivation (§6.3), so replacing it (e.g. with SHA3-384/512) changes block validity, TXID computation, and address derivation simultaneously — this is a hard fork, not a soft-fork sig_version bump, and cannot ride the migration path above. The protocol commits to SHA3-256 permanently for all consensus hashing outside the two separately activated domains §6.3 discloses. The contingency for a hash break is explicit and out-of-band: should SHA3-256 ever be meaningfully weakened (a Grover-scale advance beyond 2^128, §6.9, or a structural cryptanalytic break), a coordinated hard fork migrates all consensus hashing to a longer SHA3 variant. This contingency is deliberately excluded from the "no hard fork" guarantee above, which is scoped strictly to signature migration.

Formal-review pending (ADR-0005 counter-sign).

6.6.2. Progressive Fee Escalation for Deprecated sig_version

Once a sig_version is formally deprecated — automatically, upon a corroborated Quantum Canary activation (Active Signals ≥ 2, §6.7.2/§6.7.3), or by an out-of-band proactive governance security assessment where no Canary has fired — transactions spending pUTXOs under the deprecated version incur a fee multiplier that escalates over time. The Canary-triggered path is a single automatic consensus action (not a discretionary post-hoc vote); the deprecation timer below runs from the corroboration block height:

Time Since Deprecation Fee Multiplier Effective Cost Rationale
0 - 6 months 1× (no change) Base gas fee Grace period — users are notified, wallets prompt migration, no economic penalty
6 - 12 months 3× Triple base fee Moderate incentive — transactions remain viable but increasingly expensive. Institutional custodians and exchanges are expected to migrate within this window.
12 - 24 months 6× 6× base fee Strong incentive — casual users who missed the first window face meaningful but non-prohibitive costs.
24+ months 12× 12× base fee (permanent cap) Maximum pressure — the fee stabilizes at 12× indefinitely. Funds are NEVER confiscated or burned. A user who returns after 10 years can still spend their pUTXO, paying 12× the current gas fee. Sovereignty is preserved absolutely.

Confiscation Equivalence Threshold (CET). To prevent the fee multiplier from functioning as de facto confiscation against low-value pUTXOs, the effective fee is capped relative to the pUTXO value:

effective_fee = min(base_fee × multiplier, utxo_value × CET_ratio)

where CET_ratio = 0.50 (hardcoded at genesis). This ensures that no pUTXO ever loses more than 50% of its value to migration fees, regardless of the multiplier tier. Large-value pUTXOs experience the full escalation pressure; small-value ("dust") pUTXOs are protected from economic elimination. The CET ratio is a Tier 0 genesis-immutable parameter (§4.3.6) — it cannot be modified via governance.

CET and OP_MIGRATE ceiling are complementary, not conflicting (see §1.3, Invariants A1-I–A1-II). The CET (CET_ratio = 0.50) is the universal safety net: it caps the fee on any deprecated-sig_version transaction at 50% of pUTXO value, at any time and in any escalation tier. The 10% ceiling in §1.3 applies exclusively to OP_MIGRATE consolidation transactions (§6.6.3), available during periodic grace windows. Together they enforce two independent guarantees: a user can always spend their pUTXO without losing more than half its value (CET), and can cheaply migrate it for ≤10% of face value twice per year (OP_MIGRATE). Both are Tier 0 genesis-immutable parameters enforced independently at the consensus layer.

The multiplier is hardcoded in the consensus rules at the moment of deprecation activation. It is not subject to governance modification — preventing a political attack where a coalition could vote to accelerate deprecation to economically coerce holdouts.

6.6.3. Dust Consolidation Grace Mechanism (OP_MIGRATE)

To complement the CET and provide an explicit low-cost migration path, the protocol introduces OP_MIGRATE — a special transaction type that consolidates deprecated-sig_version pUTXOs at 1× base fee during periodic grace windows:

Parameter Value Rationale
Grace Window Frequency Every 13,104 blocks (~6 months) Synchronized with Bond epoch boundaries (26 epochs × 504 blocks/epoch). Provides two migration windows per year
Grace Window Duration 504 blocks (~7 days) One full epoch — sufficient for even low-frequency users to observe and act
Fee During Grace Window 1× base fee (multiplier suspended) Removes all economic barriers to migration during the window
Transaction Type OP_MIGRATE consolidation Consolidates multiple deprecated pUTXOs into a single new-sig_version pUTXO in one transaction. Reduces UTXO set bloat simultaneously
Maximum Inputs per OP_MIGRATE 50 pUTXOs Bounded to prevent block-stuffing attacks during grace windows

OP_MIGRATE transactions receive Systemic Expressway priority (Tier 4, Section 2.3.2) during grace windows, ensuring inclusion even under Free Lane congestion. Outside grace windows, OP_MIGRATE is normally not available — users must pay the prevailing multiplied fee or wait for the next window. Continuous-migration exception: under a corroborated Quantum Canary activation (Active Signals ≥ 2, §6.7.2), the protocol enters continuous-migration mode, in which OP_MIGRATE is consensus-valid in every block (the periodic-window restriction is lifted) until the signal array clears; at Active Signals = 3 the OP_MIGRATE fee is additionally waived for deprecated-sig_version pUTXOs (§6.7.1, §6.7.2).

Formal-review pending (ADR-0005 counter-sign).

This mechanism ensures that the fee escalation schedule incentivizes timely migration for active, well-capitalized users while guaranteeing that no user — regardless of pUTXO size or monitoring frequency — is economically stranded by the deprecation process. OP_MIGRATE + CET together satisfy Axiom 1's constraint that protocol-imposed costs must never render funds economically irretrievable.

6.7. Quantum Canary

6.7.1. Concept

The Quantum Canary is an on-chain early warning system for quantum cryptanalytic advances. It is a pUTXO created at genesis with the following properties:

Deliberately Weakened Cryptography. The Canary pUTXO is locked under a custom ML-DSA parameter set whose security is reduced along a specific axis: its quantum cost is driven far below production ML-DSA-65, while its classical cost is held comfortably above any feasible classical effort. The parameters are calibrated so that a quantum adversary able to forge the Canary signature is still materially short of the capability required to forge production ML-DSA-65 — giving the protocol advance warning. The lead time this buys is model-dependent (a function of the quantum-progress curve, not a fixed interval); see the calibration and its acknowledged limitations below.

Calibration Methodology (core-SVP model). The Canary is calibrated in the core-SVP cost model — the standard lattice-attack accounting that maps ML-DSA parameters directly to attack cost. In this model, the best-known sieving attack against a lattice whose reduced (BKZ) block size is b costs approximately 2^(0.292·b) classical operations and 2^(0.265·b) quantum operations. The classical/quantum separation for a fixed lattice is therefore only 2^(0.027·b) — a hard constraint: a single parameter set cannot simultaneously present a very low quantum cost and a very high classical cost. This is precisely why the earlier "2^80-quantum yet classically secure" framing was mathematically untenable and has been withdrawn.

  1. Production baseline. Production ML-DSA-65 (NIST Level 3) corresponds to a large core-SVP block size, giving a best-known-attack cost on the order of 2^182 classical / 2^165 quantum operations (core-SVP estimate). NIST's conservative full-circuit accounting places the Level-3 category floor at ≈2^207 quantum gates (the AES-192-equivalent target — see §6.9). These are engineering estimates, not proofs.
  2. Canary target. The Canary parameters target a core-SVP block size b ≈ 342, yielding ≈2^100 classical / ≈2^91 quantum operations. The classical floor (≈2^100) is comfortably above any feasible classical effort — a classical adversary, even with no new algorithm, cannot forge the Canary — while the quantum cost (≈2^91) sits far below production's ≈2^165, so a sufficiently capable quantum adversary forges the Canary well before production. The ≈2^9-wide classical/quantum separation (2^(0.027·342)) is the maximum any single lattice affords; it is what makes the Canary a quantum-specific tripwire rather than a general weakness. (Reducing the ML-DSA module rank and polynomial degree from the ML-DSA-65 parameters realizes this b; the exact reduced parameter set is published with the genesis Canary key.)
  3. Gap estimation is model-dependent. A fixed quantum-cost delta (≈2^74, from 2^91 to 2^165) maps to a time lead only through an assumed quantum-progress curve, and different curves give wildly divergent answers: a smooth doubling-every-2-years model implies decades, whereas a threshold model (a discontinuous capability jump once fault-tolerant error-correction crosses its threshold) can compress the same delta into a short window. The protocol therefore does not claim a specific lead time. The Canary's guarantee is not a calendar estimate but an ordering property: under any monotone progress curve the Canary breaks strictly before production, and its spend is a corroborating signal (§6.7.2), not a standalone alarm.

Acknowledged Limitation. This calibration is a best-effort engineering estimate, not a cryptographic proof. The realized lead depends on: (a) the specific quantum algorithm (lattice sieving, BKZ, hybrid), (b) error-correction overhead (hardware-dependent), and (c) whether novel lattice algorithms emerge — a novel algorithm could compress classical and quantum cost together, which is exactly why the Canary is one signal in a multi-signal array (§6.7.2) rather than a sole trigger. The Canary is recalibrated every 3-5 years via the refresh mechanism (Section 6.7.3) to incorporate updated quantum resource estimates. No formal security reduction exists for the "canary gap" — it is a heuristic defense layer, not a provable one.

Formal-review pending (ADR-0005 counter-sign).

Critical Reframing. The Canary lead is not a prediction of when quantum computers will break lattice cryptography — it is a minimum migration window the protocol must be engineered to survive. The migration infrastructure (§6.6.2, §6.6.3) must be able to migrate the entire pUTXO set within this window. Migration capacity is bounded by block space, not by a fixed per-block pUTXO count — the "50" in §6.6.3 is the maximum inputs per OP_MIGRATE transaction, not transactions per block:

# Per-block migration ceiling is byte-bounded, not fixed at 50.
# Each migrated (deprecated ML-DSA-65) input carries a 3,309-B signature + 1,952-B
# pubkey ~= 5,261 B of witness. A 2 MB block therefore admits at most
#   floor(2,000,000 / 5,261) ~= 380 pUTXO inputs/block  (the 50-input cap on a single
#   OP_MIGRATE tx just means >= 8 such txs are needed to fill a migration-dedicated block).
# Working assumption: ~350 pUTXO inputs/block (~7 OP_MIGRATE txs x 50 inputs), leaving headroom.

periodic (scheduled grace windows, §6.6.3):
  capacity_2yr = grace_windows_in_2yr x grace_duration_blocks x inputs_per_block
               = 4 x 504 x 350
               ~= 705,600 pUTXOs over 2 years

continuous (emergency mode, below):
  capacity_2yr = blocks_per_year x 2 x inputs_per_block
               = 26,298 x 2 x 350
               ~= 18,408,600 pUTXOs over 2 years

migration_feasibility: current_utxo_count < capacity_2yr

blocks_per_year = 26,298 is the canonical Bond figure (CONSTANTS bond.blocks_per_year). If migration_feasibility = false at any point, the protocol raises OP_MIGRATE throughput (a larger migration-dedicated block share) or escalates to continuous mode.

Continuous-migration mode (emergency). Under a corroborated quantum-threat activation — the Quantum Canary Multi-Signal Array at Active Signals ≥ 2 (§6.7.2), i.e. any two of {Gate-Count Canary spend, Research Milestone Oracle attestation, Market Canary > 3σ divergence} — the protocol switches from scheduled grace windows to continuous-migration mode, in which OP_MIGRATE is consensus-valid in every block rather than only inside the scheduled 504-block windows. This exception is defined normatively in the OP_MIGRATE opcode (§6.5.2) and the grace mechanism (§6.6.3). At Active Signals = 3 (Emergency tier, §6.7.2), continuous mode remains in effect and all OP_MIGRATE fees for deprecated-sig_version pUTXOs are waived. Continuous mode persists until Active Signals returns to 0 for a sustained 8,064-block window (≈ 16 weeks, 16 epochs), after which scheduled grace-window cadence resumes (§6.6.3). The transition is consensus-enforced and observable on-chain (Gate-Count Canary spend) or from the oracle-quorum attestation (Research / Market signals). Requiring corroboration (≥ 2 signals) to enter continuous mode bounds the blast radius of any single spurious Canary spend (§6.9, Quantum Canary False Positive).

Formal-review pending (ADR-0005 counter-sign).

6.7.2. Multi-Signal Canary Array

Single-signal detection (the on-chain gate-count Canary alone) constitutes a single point of epistemological failure. The protocol deploys a three-signal detection array that applies defense in depth to quantum threat detection:

Signal What It Detects Detection Model Data Source
Gate-Count Canary (on-chain, §6.7.1) Gradual quantum progress (someone can break weakened ML-DSA) Linear extrapolation from gate-count arithmetic On-chain pUTXO spend event
Research Milestone Oracle Threshold precursors — fault-tolerant qubit count milestones, logical error rate records, lattice factoring records Threshold (nonlinear jumps) Off-chain oracle network attesting published research milestones (peer-reviewed papers, NIST bulletins, vendor announcements). Requires ⌊2N/3⌋+1 oracle attestation
Market Canary Information asymmetry — quantum-resistant asset premium divergence from quantum-vulnerable assets Game-theoretic (prices leak information before papers) On-chain price oracle monitoring BND/BTC and BND/ETH price ratios. Statistically significant divergence (>3σ over 30-day EMA) triggers advisory

Response Policy (cumulative signal count):

Active Signals Protocol Response Automated?
0 Routine operation —
1 Advisory — governance notification, migration tooling audit Notification only
2 Urgent — continuous-migration mode engaged (OP_MIGRATE consensus-valid in every block, §6.7.1/§6.6.3); sig_version 0x0001 deprecation timer starts (6-month grace from this block height, §6.6.2/§6.7.3); subsidized migration (OP_MIGRATE fee reduced to 0.5× base via Treasury subsidy); Canary refresh accelerated Continuous mode + deprecation timer are consensus-automatic; Treasury subsidy requires a governance vote; notification is automated
3 Emergency — continuous-migration mode continues with all deprecated sig_version OP_MIGRATE fees waived; FCRC readiness activated (§12.2 Trigger 3); hard fork preparation initiated Continuous mode + fee waiver + FCRC readiness are consensus-automatic; hard fork preparation requires engineering coordination

The Research Milestone Oracle uses the existing PQC Oracle infrastructure (§7.5) with a dedicated attestation type (QUANTUM_MILESTONE). Oracle operators attest to publicly verifiable milestones — the protocol does not require oracles to predict quantum timelines, only to confirm published achievements. The Market Canary exploits the game-theoretic insight that information leaks through prices before it leaks through academic papers — rational actors with advance knowledge of quantum breakthroughs would accumulate quantum-resistant assets, creating a detectable price signal.

Genesis-scope dependency (ADR-0021, Status: Proposed, not counter-signed). ADR-0021 proposes shipping the Quantum Canary at the Minimum Viable Sovereign Mainnet (MVSM) genesis (January 2028) while deferring the PQC oracle network (§7.5) and the xOracle price feed (§EI.7) to the post-launch hardening track (2028–2029). Two of the three signals depend on that oracle layer: the Research Milestone Oracle uses the §7.5 infrastructure, and the Market Canary's price ratios reach the chain through an oracle-quorum attestation (§6.7.1). Under that proposed scope, and for as long as that layer is not live, the Gate-Count Canary would be the only signal able to fire: Active Signals could not exceed 1 (Advisory), and the consensus-automatic responses of the 2- and 3-signal tiers — continuous-migration mode, the Canary-triggered scheme deprecation on either ledger (§6.6.1, §6.6.2), the fee waiver and FCRC readiness — would be unreachable. How corroboration is reached in that period is not pinned by this whitepaper or by ADR-0021 and remains pending maintainer decision; this note adds no signal and changes no threshold.

Nominal Value. The Canary pUTXO contains a symbolic amount of BND (1 BND = 1,000 Nob, equivalent to ~$10 at LRP, §4.6.1). The value is sufficient to signal quantum capability (claiming the bounty as proof-of-concept) while being economically negligible for the protocol.

Public Key Publication. The Canary's public key is published in the genesis block's OP_RETURN data and in the whitepaper appendices. Any entity with sufficient quantum computing capability can attempt to forge a valid signature and claim the pUTXO.

6.7.3. Activation Mechanics

The Canary pUTXO is monitored by every full node as a consensus-level invariant:

Normal State. The Canary pUTXO remains unspent. No action is taken. The protocol operates normally under sig_version 0x0001 (ML-DSA-65).

Canary Trigger (one signal). If the Canary pUTXO is spent by any entity other than a protocol-authorized maintenance transaction (identifiable by a specific OP_RETURN flag in the spending transaction), the event is one signal of a possible quantum advance — a successful forgery under the weakened Canary parameters. Because a ≈2^100-classical / ≈2^91-quantum lattice is not provably beyond a well-resourced classical adversary in perpetuity, a lone spend is treated as evidence to be corroborated, not as unilateral proof (§6.9, Quantum Canary False Positive).

Graduated, corroboration-gated response. The response follows the cumulative Active-Signals tiers of §6.7.2; a lone Canary spend does not by itself start the deprecation timer, continuous-migration mode, or FCRC readiness:

  1. One signal (Canary spend alone) — Advisory. All full nodes flag the event in their logs and propagate an alert via the gossip network; block explorers and monitoring services detect the anomaly. A protocol-generated OP_RETURN governance notification is included, migration tooling is audited, and Canary refresh is accelerated (§6.7.4). No deprecation timer starts. This bounds the blast radius of a false positive to an advisory.
  2. Two signals (Canary spend corroborated by a Research Milestone Oracle attestation or a Market Canary > 3σ divergence) — Urgent, automatic. The sig_version 0x0001 (ML-DSA-65) is automatically flagged "deprecated-pending" in consensus state and the 6-month grace period (Section 6.6.2) begins counting from the block height at which Active Signals reached ≥ 2 (the corroboration block). Continuous-migration mode engages (§6.7.1), and a protocol-generated OP_RETURN emergency signal notifies the DAO and engineering team that a new sig_version must be developed, audited, and soft-fork-activated within the grace window.
  3. Three signals — Emergency, automatic. The FCRC activation criteria (Section 12.2, Trigger 3: Anomalous Quantum Advance) are met; the 7-of-10 Arca quorum can begin preparing emergency migration procedures. All deprecated-sig_version OP_MIGRATE fees are waived and hard-fork preparation is initiated.

The detection layer is trustless and on-chain — the Canary spend and the oracle/market signals are all chain-observable, so the consensus-automatic responses (deprecation timer, continuous mode, fee waiver, FCRC readiness) require no committee vote. What corroboration adds is not human judgment but a second independent on-chain signal, so that a single spurious or classically-obtained Canary spend cannot unilaterally trip the emergency cascade.

Formal-review pending (ADR-0005 counter-sign).

6.7.4. Canary Maintenance

The Canary's weakened parameters may need recalibration over the protocol's lifetime as quantum computing projections evolve. The protocol supports Canary refresh via a dedicated maintenance procedure:

A new Canary pUTXO with updated (re-calibrated) parameters can be created by the DAO Treasury via a governance-approved transaction. The old Canary is spent to the new Canary address using a protocol-authorized maintenance flag (OP_RETURN containing a specific CANARY_REFRESH marker). Full nodes recognize this flag and do NOT trigger the quantum alert. The old Canary public key is retired and the new public key is published.

This refresh mechanism is activated via soft fork (new Canary parameter set requires consensus recognition) and is expected to be exercised approximately every 3-5 years as quantum computing timelines are revised.

6.8. Constant-Time Execution

All cryptographic operations within the Bond/Aevum ecosystem — across nodes, wallets, the Arca hardware, and oracle attestation modules — that touch secret-dependent data are mandated to execute in constant time with respect to those secrets. Two caveats scope the mandate precisely. First, ML-DSA is a Fiat-Shamir-with-aborts scheme: the number of rejection-sampling iterations during signing depends on the sampled values, so total signing time is not literally constant — the mandate is that each iteration is constant-time and the iteration count is a public function of (key, message), leaking no key bits. Second, operations on public data (signature verification, consensus SHA3 hashing) hold no secret to protect; they are hardened for uniform worst-case timing (DoS-resistance and robustness against malformed-input probing), not against key-bit leakage. The requirement applies as follows:

Operation Constant-Time Requirement Attack Mitigated
ML-DSA Signing (secret) Constant-time per rejection-sampling iteration; iteration count is a public function of (key, message) (Fiat-Shamir aborts) Timing side-channel leaking private-key bits
ML-DSA Verification (public data) Uniform timing over signature content — no secret involved DoS / malformed-signature timing probing on verifier nodes
SHA3-256 Hashing (public data) Uniform timing over input content — no secret involved in consensus hashing DoS / timing-probe hardening (no preimage secret to protect)
NTT (Number Theoretic Transform) in ML-DSA Fixed-cycle polynomial multiplication over Rq Differential Power Analysis (DPA) on Arca hardware
TRNG Entropy Conditioning Fixed-cycle SHA3 absorption Electromagnetic emanation analysis of entropy source
Key Comparison (signature validation) Constant-time byte comparison (no early termination) Timing leak on partial signature match

On the Arca hardware specifically (FE310-G002, E31 RISC-V core), the firmware enforces constant-time execution at the compiler level via Rust's subtle crate (constant-time comparison primitives). At the hardware level there is nothing speculative to disable: the E31 is a single-issue, in-order, non-speculative core by design, so the entire class of speculative-execution side-channels present in out-of-order superscalar processors is structurally absent rather than mitigated after the fact. Secret-dependent branching is instead eliminated in software by keeping secret-dependent branches out of the signing path (constant-time selects), since even an in-order core has data-dependent branch timing.

6.9. Cryptographic Threat Model

Threat Vector Attack Description Protocol Mitigation Residual Risk
Shor's Algorithm Quantum factorization breaks discrete log / elliptic curve assumptions Eliminated — no elliptic curve cryptography in any role that authorizes a Bond or Aevum spend, secures either chain's consensus or protects a P2P session (§6.1). ML-DSA based on Module-LWE (no known quantum speedup beyond Grover) ML-DSA-65 meets NIST Level 3: the best-known lattice attack costs ≈2^165 quantum operations in the core-SVP model (§6.7.1), and NIST's conservative full-circuit accounting places the Level-3 category floor at ≈2^207 quantum gates. (The earlier "≤2^96" figure conflated Grover iterations with gate count and is withdrawn.)
Grover's Algorithm Quantum search provides quadratic speedup against symmetric primitives SHA3-256 provides 128-bit post-quantum security (256-bit classical / 2 for Grover). Sufficient for all foreseeable quantum scales Theoretical risk if quantum computers exceed 2^128 operations — mitigated by migration to SHA3-384/512. This is a hash-function change (a hard fork touching PoW, Merkle roots, TXIDs, and address derivation — see §6.6.1 hash-agility), not a sig_version soft fork; sig_version selects the signature scheme only
Timing Side-Channel Attacker measures execution time to infer private key bits Constant-time execution mandate (Section 6.8). Arca bare-metal firmware eliminates OS scheduler jitter Implementation bugs in third-party node software — mitigated by reference implementation audits
Differential Power Analysis (DPA) Attacker measures power consumption fluctuations during signing on Arca hardware Constant-time NTT. FE310-G002 simple pipeline. Epoxy encapsulation impedes probe attachment Sophisticated EM emanation analysis with high-gain antennas at close range — mitigated by physical security posture (Section 9.5)
Replay Attack Attacker rebroadcasts a valid signed transaction Each pUTXO is consumed exactly once (spent/unspent binary state). Replaying a transaction referencing an already-spent pUTXO is rejected by consensus None — structurally impossible in UTXO model
Signature Malleability Attacker without the private key alters a valid signature into a different valid signature, changing the TXID ML-DSA is strongly unforgeable (SUF-CMA): given a valid signature, a third party cannot produce a different valid signature on the same message. Consensus additionally enforces canonical fixed-length signature encoding, rejecting any non-canonical re-encoding. TXID is computed over the full canonically-serialized transaction including witness Negligible — bounded by ML-DSA SUF-CMA security and removed at the encoding level by canonical-encoding enforcement. Signer-side determinism is not relied upon here; it cannot prevent third-party malleability
State Bloat Attack Attacker creates millions of dust pUTXOs to inflate UTXO set Minimum pUTXO value enforced (anti-dust). Maximum UTXO set size monitored. 2 MB block limit constrains creation rate to ~0.1-0.2 TPS Long-term UTXO set growth — mitigated by organic pUTXO consolidation incentives (lower fees for transactions that reduce UTXO count)
Quantum Canary False Positive Non-quantum attacker finds a classical exploit in the weakened Canary parameters, or spuriously spends the Canary to trigger the emergency cascade The Canary is calibrated in the core-SVP model (§6.7.1) so its classical floor (≈2^100) sits far above any feasible classical effort while its quantum cost (≈2^91) sits far below production — a genuinely quantum-specific tripwire. Critically, a lone Canary spend is a single signal: it raises an Advisory but does not by itself start the deprecation timer, continuous-migration mode, or FCRC readiness, all of which require corroboration (Active Signals ≥ 2, §6.7.2/§6.7.3). Blast radius of a spurious spend is thus bounded to an advisory A classical forgery would require breaking a ≈2^100 lattice — itself a critical cryptanalytic event — and even then could not unilaterally trip the emergency cascade without a second, independent on-chain signal
Supply Chain Compromise (Arca) Attacker modifies Arca firmware to leak private keys Deterministic builds (NixOS), open-source firmware, DIY assembly, epoxy tamper-evidence (Section 9.5) Sophisticated state-level supply chain interdiction — mitigated by multi-vendor component sourcing and visual epoxy inspection

6.10. Integration with Hardware Infrastructure

The cryptographic architecture is physically anchored by the Arca hardware wallet (Section 9). The Arca is the reference implementation of the custody layer — the protocol accepts any ML-DSA-65/44 key pair and valid signature regardless of the generating device. However, the security model of use cases in §1.5 (particularly Sovereignty Under Coercion and Intergenerational Custody) depends on properties that are specific to the Arca design: air-gapped key generation, zero-radio communication, PIN-triggered key destruction, and TRNG-conditioned entropy. Users who generate keys on alternative devices assume responsibility for replicating these properties; the protocol enforces cryptographic validity, not the hardware provenance of the key. The FCRC ceremony (§12.4) is the sole exception: it requires Arca devices by protocol specification, as the SSS share distribution relies on QR-to-QR transfer and SRAM zeroization guarantees that are Arca-specific.

The critical integration points are:

ML-DSA-65 Key Generation. On the Arca, private keys are generated via its TRNG → SHA3-256 conditioning pipeline. The private key (4,032 bytes) is stored in the FE310-G002's encrypted flash memory, never exported. (Under Desktop Node software self-custody the key is instead generated in the sealed keystore, §10.5 — the protocol enforces cryptographic validity, not device provenance, per §6.10 above.)

Signature Generation. In the Arca custody flow, all Bond RSC signatures (~3.3 KB) are computed on the Arca's bare-metal Rust firmware in constant-time, then transferred to the host via UR 2.0 animated QR codes at adaptive frame rates (Section 9.1). In this flow the host device (Desktop Node or smartphone camera for NMW) never possesses the private key — it receives only the completed signature. (Under Desktop Node software self-custody, signing occurs in the host's sealed keystore, §10.5.)

Double-Computation Verification. To detect silent corruption of cryptographic outputs (whether from hardware fault, supply chain compromise, or firmware manipulation), the Arca firmware performs each ML-DSA-65 signature computation twice using independent code paths and compares the results before output. A mismatch triggers an immediate alert and signature suppression. This cross-verification imposes a ~2× signing latency overhead (acceptable for the Bond RSC's low-throughput settlement model) but provides a first line of defense against §9.10.4 supply chain vectors targeting computation integrity. See §9.10.4 for the full cross-verification specification and §9.10.6 for the multi-MCU upgrade path.

FCRC Ceremony. The SSS shares (Shamir's Secret Sharing, Section 12.4) are generated on a single Arca in an ephemeral session, distributed to 10 Arcas via QR-to-QR transfer, and the generating Arca is power-cycled (SRAM zeroization). Reconstruction requires 7-of-10 Arcas contributing their SSS shares in a coordinated physical ceremony, with the reconstructed full key existing only in volatile SRAM for the duration of the signing operation (milliseconds).

The Arca hardware is fully specified in Section 9. The next section addresses how these cryptographic primitives secure value transfer between the two ledgers.