Skip to content
CAI
Software that uses CAICheck a score

QuipNetwork/quip-validator

59.3

Adequate · 14 November 2026

44.4k

lines of production code

Rust

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Add genesis key derivation and development seed dumping examples

Two new CLI examples are added to the transaction-crypto crate to support the hybrid consensus and signing migration. \derive\_genesis\_keys\ allows operators to derive BABE, GRANDPA, and transaction account public keys from a single seed URI, outputting the values needed for the \quip\_testnet\ genesis preset. \dump\_dev\_seeds\ prints the master seeds, public bytes, and account IDs for well-known development URIs (Alice, Bob, AliceStash), providing fixed reference data for parity tests that pin the hybrid keystore against chain-genesis-funded accounts.

crates/transaction-crypto/examples · high confidence

Added Handlebars template for Substrate benchmark weight generation

A new Handlebars template file (.maintain/frame-weight-template.hbs) has been added to support the automated generation of Rust weight files for Substrate pallets. This template defines the structure for autogenerated weight implementations, including trait definitions, execution time calculations, and database read/write metrics, which are populated with specific benchmark data during the build process.

.maintain · high confidence

Dockerized node with self-healing database and local 3-node dev cluster

The repository now includes a multi-stage Dockerfile for the \quip-network-node\, an \entrypoint.sh\ that automatically repairs truncated RocksDB \db\_version\ markers to prevent startup failures after crashes, and a \docker-compose.yml\ that launches a local 3-validator testnet (Alice, Bob, Charlie) on a dedicated bridge network. This allows developers to run a multi-node consensus environment locally without manual configuration, while the entrypoint also handles privilege dropping via PUID/PGID for safer container execution.

(repo-wide) · high confidence

Introduce Quip signer integration with hybrid signature support

Added a new signer implementation in \js/quip-signer/src/index.ts\ that enables transaction signing for Quip accounts using a large hybrid signature format (929-byte public key + 731-byte signature). The module includes a \patchExtrinsicSignFake\ function to override the default fake-signing behavior in polkadot-js, ensuring that fee estimation works correctly with Quip's specific signature envelope size. It also defines interfaces for injected providers, secret providers, and WASM-compatible crypto operations, allowing applications to integrate Quip's signing capabilities seamlessly.

js/quip-signer · high confidence

Introduce XQVM pallet for on-chain quantum bytecode execution

The new \pallet-xqvm\ enables storing and executing quantum bytecode on-chain. Programs are stored with a storage deposit, verified statically at store time, and executed with bounded steps and memory. The pallet includes comprehensive benchmarks and tests to ensure correct metering and fault handling.

pallets/xqvm · high confidence

Introduce budgeted testnet faucet with authority and permanent disable fuse

The new \pallet\_faucet\_ops\ provides a budgeted testnet faucet that mints tokens via the \pallet\_emission\_controller\ only when enabled and within the configured budget. Access is restricted to a designated operational authority (appointed at genesis or rotated by root governance), while root itself cannot mint directly. The faucet includes a one-way 'fuse' (\disable\) that permanently disables minting, and it handles legacy state migrations by failing closed (pausing or disabling) if storage is missing or inconsistent. Also in this area: 2 commits (0 fixes) modifying (repo-wide); 1 commit (0 fixes) modifying (repo-wide); Permissionless reward settlement and payee metadata support in the quantum compute mempool.

pallets/faucet-ops · medium confidence · unverified

Introduce emission controller and validator admission pallets

This change adds two new Substrate pallets to the runtime. The \pallet\_emission\_controller\ implements a fixed, time-accrued issuance model that distributes a fixed annual supply (40 million QUIP) into subnet pots based on configured routes, while also managing a separate, finite testnet faucet budget. The \pallet\_validator\_admission\ provides a foundation-controlled mechanism for managing validator approval, supporting a progression from a fixed testnet mode to a foundation-only mode, with a reserved path for future permissionless eligibility. Both pallets include autogenerated weights and comprehensive test suites to verify their issuance logic, reward distribution, and admission state transitions. Also in this area: 2 commits (0 fixes) modifying (repo-wide); 1 commit (0 fixes) modifying (repo-wide); Permissionless reward settlement and payee metadata support in the quantum compute mempool.

pallets/emission-controller, pallets/validator-admission · medium confidence · unverified

Introduce quantum compute mempool pallet for job ordering and settlement

The new \pallet-quantum-compute-mempool\ enables users to register job specifications, propose quantum computing jobs with configurable rewards and timing, and submit solutions via registered solvers. It supports multiple job modes (open or bid-based) and reward distribution strategies (single-best, top-N equal, or top-N weighted payouts). The pallet includes a two-phase order lifecycle with hard deadlines and block-wait expiry, validates job specs and results through a pluggable XQVM interface, and exposes runtime APIs for querying open orders, job details, and top solvers. Also in this area: 2 commits (0 fixes) modifying (repo-wide); 1 commit (0 fixes) modifying (repo-wide); Permissionless reward settlement and payee metadata support in the quantum compute mempool; Automated order finalization and rank-based reward distribution; New validator onboarding and emission controller pallets.

pallets/quantum-compute-mempool · medium confidence · unverified

Introduces H4 hybrid transaction signing with golden-vector parity tests

The \transaction-crypto-core\ crate now implements the H4 hybrid signing suite (combining \sr25519\ and \Falcon-512\ via \pqhybridsign\), providing byte-level helpers for deriving Quip account IDs, generating public keys from seeds, and signing payloads into SCALE-encoded envelopes. To ensure the browser and runtime signing paths remain byte-identical, the crate includes a \generate\_golden\_vectors\ example and a \golden\_parity\ test suite that pins specific seed-to-public-key and seed-to-envelope outputs. Additionally, \transaction-crypto-wasm\ exposes these core functions to JavaScript via \wasm\_bindgen\, allowing browser signers to derive seeds from BIP39 mnemonics, sign payloads, and verify envelopes using hex-encoded I/O.

crates/transaction-crypto-core · high confidence

MinerRegistry schema V2 with hardware/runtime metadata and Metal miner support

The MinerRegistry pallet now accepts a V2 node descriptor that includes optional \system\_info\ (OS, CPU, memory, GPU details) and \runtime\ (Python, Quip version, Docker image) fields, and introduces a new \Metal\ miner kind for Apple Silicon GPUs. Because the V2 schema changes the storage layout, an on-chain migration clears all existing descriptors and refunds their deposits, requiring miners to re-register their updated descriptors on next restart. Also in this area: Permissionless reward settlement and payee metadata support in the quantum compute mempool; Automated order finalization and rank-based reward distribution; New validator onboarding and emission controller pallets.

pallets/miner-registry · high confidence

New Docker image for pallet-revive EVM RPC service

A new Dockerfile (docker/revive-eth-rpc.Dockerfile) has been added to build and run the pallet-revive EVM RPC binary. The image is based on Rust 1.95.0 and Debian Bookworm, fetching a specific pinned revision of the Polkadot SDK to ensure a reproducible build. It exposes ports 8545 and 9616, uses SQLite for receipt indexing in archive mode, and runs the eth-rpc binary as a non-root user.

docker · high confidence

New Python bindings for the H4 hybrid transaction signer

Introduces the \quip-signer\ Python package, providing PyO3 bindings to the H4 (sr25519 + FN-DSA-512) transaction signing engine. Users can now sign payloads and verify envelopes in Python using the \HybridSigner\ class or free functions, with byte-identical behavior to the browser WASM signer and runtime verifier. The API exposes seed derivation from BIP39 mnemonics or hex seeds, public key and account ID generation, and payload signing that strictly follows the H4 domain framing and Substrate's 256-byte hashing convention.

crates/transaction-crypto-py · high confidence

New operational and CI scripts for benchmarking, key management, and Python distribution

This change introduces a suite of new shell and Python scripts in the \scripts/\ directory to support the new quantum validation and hybrid signing capabilities. \scripts/run-benchmarks.sh\ and \scripts/check-weights-staleness.sh\ automate the generation and validation of pallet weights, ensuring that changes to benchmarkable surfaces trigger regeneration. \scripts/derive-operator-keys.sh\ provides a tool for bootnode operators to generate BIP39 mnemonics, node keys, and hybrid genesis public material. \scripts/python-dists.sh\ and \scripts/quip\_signer\_wheel\_smoke.py\ establish a build, smoke-test, and publish pipeline for the \quip-signer\ Python wheel, including content guards to prevent empty namespace packages. Additionally, \scripts/start-local3.sh\ allows for launching a local 3-node test network, while \scripts/test-browser-signer-integration.sh\ and \scripts/test-xqvm-onchain.sh\ provide integration testing for the browser signer and on-chain XQVM functionality respectively.

scripts · high confidence

New quantum-validation crate for Ising model verification

Added the \quantum-validation\ crate, providing deterministic, \no\_std\ primitives for validating quantum Ising proofs. This includes exact energy computation in milli-precision fixed-point arithmetic, symmetric Hamming distance and diversity scoring for solution sets, and deterministic puzzle generation seeded by a full 256-bit nonce. The crate also handles bit-packed solution encoding/decoding and structural validation of spin configurations and topologies, ensuring parity with the Python reference implementation for energy, diversity, and topology consistency checks. Also in this area: 2 commits (0 fixes) modifying crates/quantum-validation; 1 commit adding/updating tests in crates/quantum-validation.

crates/quantum-validation/src, crates/quantum-validation/tests, crates/quantum-validation/tests/fixtures · medium confidence

Node supports hybrid post-quantum consensus and signing

The node now uses the \quip\_protocol\_runtime\ instead of the generic template runtime, enabling hybrid post-quantum transaction signing and BABE/GRANDPA consensus. A new \insert-hybrid-key\ CLI command allows validators to insert hybrid BABE (H444) and GRANDPA (H244) session keys into the keystore, automatically deriving the correct key-type IDs. Benchmarking tools have been updated to use hybrid pairs for transaction generation, and the RPC layer now exposes BABE-specific APIs with the necessary keystore and worker dependencies.

node · high confidence

Behavioural changes

1 commit (0 fixes) modifying (repo-wide)

A change to existing behaviour in (repo-wide) — 1 commit, 8 files: “port to polkadot-sdk stable2609-1”. Also in this area: Introduce genesis-configured EIP-155 chain ID pallet.

pallets/evm-chain-id · low confidence · unverified

10 commits (1 fix) modifying runtime-testnet

A change to existing behaviour in runtime-testnet — 10 commits (1 fix), 34 files: “feat(quantum-pow): bind family descriptors to registered topologies (QUI-2044)”; “chore(runtime): remove template pallet and retire index 7”; “port to polkadot-sdk stable2609-1”; and 6 more.

runtime-testnet · medium confidence · unverified

7 commits (0 fixes) modifying pallets

A change to existing behaviour in pallets — 7 commits, 7 files: “docs(pallet-xqvm): describe the 0.4.0 metering and pin it with a canary”; “Initial commit”; “chore(runtime): remove template pallet and retire index 7”; and 4 more.

pallets · medium confidence · unverified

Adopts H4 hybrid signing scheme (sr25519 + FN-DSA-512) for transactions

Transaction signing has migrated to the H4 hybrid scheme, combining sr25519 and FN-DSA-512. This change introduces new types for hybrid public keys, signatures, and pairs, and defines a signature envelope that carries both the hybrid public key and the signature bytes. Account IDs are now derived from the hybrid public key using blake2\_256 with a fixed domain separator, ensuring compact 32-byte identifiers while maintaining collision resistance. The runtime can now verify transactions using this hybrid scheme, with verification logic checking both the signature validity and the derived account ID match.

crates/transaction-crypto/src · high confidence

CI toolchain and publish images refactored for stability and performance

The CI pipeline now uses dedicated, pre-built Docker images for the Rust toolchain and PyPI publishing, replacing previous in-pipeline builds and runtime package installations. The new \ci-toolchain\ image pins Rust to 1.95.0 to avoid a regression in the wasm runtime build and bakes in essential dependencies (such as \jq\, \python3-venv\, \nodejs\, and \cargo-sweep\) to eliminate slow, flaky \apt-get\ and \pip\ installs during job execution. A new \ci-pypi-publish\ image provides a minimal environment with \twine\ and TLS certificates for secure artifact uploads, ensuring that release jobs no longer depend on system package managers or the main Rust toolchain.

.gitlab · high confidence

Quantum PoW pallet introduces topology-aware difficulty and continuous block-based decay

The \pallet-quantum-pow\ difficulty system has been rewritten to be spec-aware and block-native. Difficulty is now keyed by topology hash, allowing distinct energy curves calibrated against each topology's specific node/edge counts and allowed value sets (h, j, spin). The decay mechanism has shifted from a timestamp-based model to a continuous per-block decay aligned with \EpochLength\, ensuring validation does not depend on timestamp availability. Additionally, rounds that run past their target block count now ease faster continuously, rather than relying on a single post-win adjustment, and the system exposes live and historical difficulty to miners via new runtime APIs.

pallets/quantum-pow · high confidence

Regenerated benchmark weights for pallet\_template

The benchmark weights in \pallets/template/src/weights.rs\ have been regenerated using Substrate Benchmark CLI version 54.0.0. This update adjusts the measured execution costs for the \do\_something\ and \cause\_error\ dispatchables, reflecting new baseline metrics (e.g., \do\_something\ weight changed from 9,000,000 to 8,636,000 picoseconds) and updated storage proof comments to match the current runtime configuration.

pallets/template · high confidence

Runtime migrates to BABE/GRANDPA consensus and hybrid transaction signing

The runtime replaces the Aura consensus mechanism with BABE and GRANDPA, initializing authorities via pallet\_session and supporting hybrid transaction signatures (V4/V5) as advertised in the Metadata V16 extrinsic section. This change includes new genesis configuration presets for the quip-testnet that load operator BABE and GRANDPA public keys from hex files, adds runtime benchmarks and weight definitions for block and extrinsic execution, and introduces conformance tests to ensure the Metadata V16 output and signed extrinsic validation behave correctly with the new signing infrastructure.

runtime · high confidence

Test coverage

3 commits adding/updating tests in tests; Added test suite for the Quip browser transaction signer.

Dependencies

Workspace restructuring and dependency updates for new pallets and signing crates

The workspace has been restructured to include several new components: \quantum-validation\, \transaction-crypto\ (with PyO3 and WASM bindings), and FRAME pallets for EVM chain ID, faucet operations, miner registry, quantum compute mempool, quantum proof-of-work, and XQVM bytecode execution. The \polkadot-sdk\ dependency has been switched from the official Parity repository to a Quip Network fork, and the workspace version has been bumped to 0.3.2. Additionally, the consensus mechanism has been updated from Aura to Babe, and new cryptographic dependencies like \pqhybridsign\ and \xqvm\ have been integrated.

(dependencies) · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 58 → 59 (+1.7)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 79 → 74 (-5.0)
  • Architecture 96 → 98 (+1.9)
  • Maturity 75 → 68 (-6.0)
  • Readiness 43 → 44 (+1.1)
  • Security 59 → 66 (+7.0)
  • Event Sourcing 100 → 100 (+0.0)
  • Performance 85 → 100 (+15.0)

Resolved (48)

  • Critical CVE: [GHSA redacted] (Cargo.lock)
  • Duplicated block (22–27 lines × 2) (runtime/src/genesis_config_presets.rs)
  • Duplicated block (6 lines × 2) (pallets/quantum-pow/src/lib.rs)
  • High CVE: [GHSA redacted] (Cargo.lock)
  • High CVE: [GHSA redacted] (Cargo.lock)
  • High CVE: [GHSA redacted] (Cargo.lock)
  • High CVE: [GHSA redacted] (Cargo.lock)
  • High secret: WD-SECRET-0005 (docker-compose.revive.yml)
  • High vulnerability: [GHSA redacted] (Cargo.lock)
  • Hotspot: pallets/xqvm/src/lib.rs (pallets/xqvm/src/lib.rs)
  • Medium CVE: RUSTSEC-2025-0055 (Cargo.lock)
  • Medium CVE: RUSTSEC-2025-0055 (Cargo.lock)
  • Medium advisory (unmaintained): RUSTSEC-2026-0105 (Cargo.lock)
  • Medium advisory (unsound): RUSTSEC-2026-0097 (Cargo.lock)
  • Medium advisory (unsound): RUSTSEC-2026-0097 (Cargo.lock)
  • Medium advisory (unsound): RUSTSEC-2026-0186 (Cargo.lock)
  • Medium advisory (unsound): RUSTSEC-2026-0186 (Cargo.lock)
  • Medium advisory (unsound): RUSTSEC-2026-0253 (Cargo.lock)
  • Medium advisory (unsound): RUSTSEC-2026-0253 (Cargo.lock)
  • Medium advisory (unsound): RUSTSEC-2026-0395 (Cargo.lock)
  • …and 28 more

New (125)

  • AdmissionData::electing_voters (cognitive 22) (runtime-testnet/src/configs/validator_onboarding.rs)
  • AdmissionData::electing_voters (cognitive 22) (runtime/src/configs/validator_onboarding.rs)
  • Duplicated block (10 lines × 2) (runtime-testnet/src/configs/mod.rs)
  • Duplicated block (10 lines × 2) (runtime-testnet/src/configs/slashing.rs)
  • Duplicated block (10 lines × 2) (runtime-testnet/src/configs/validator_onboarding.rs)
  • Duplicated block (10 lines × 2) (runtime-testnet/src/genesis_config_presets.rs)
  • Duplicated block (101 lines × 2) (runtime-testnet/src/genesis_config_presets/mainnet_allocation.rs)
  • Duplicated block (114 lines × 2) (runtime-testnet/src/genesis_config_presets.rs)
  • Duplicated block (12 lines × 2) (runtime-testnet/src/configs/election.rs)
  • Duplicated block (12 lines × 2) (runtime-testnet/src/configs/mod.rs)
  • Duplicated block (13 lines × 2) (runtime-testnet/src/configs/validator_onboarding.rs)
  • Duplicated block (14 lines × 2) (runtime-testnet/src/configs/election.rs)
  • Duplicated block (148 lines × 2) (runtime-testnet/src/genesis_config_presets.rs)
  • Duplicated block (15 lines × 2) (runtime-testnet/src/genesis_config_presets.rs)
  • Duplicated block (15 lines × 2) (runtime-testnet/src/lib.rs)
  • Duplicated block (16 lines × 2) (runtime-testnet/src/configs/election.rs)
  • Duplicated block (17 lines × 2) (runtime-testnet/src/genesis_config_presets.rs)
  • Duplicated block (19 lines × 2) (runtime-testnet/src/configs/slashing.rs)
  • Duplicated block (19 lines × 2) (runtime-testnet/src/genesis_config_presets.rs)
  • Duplicated block (19 lines × 2) (runtime-testnet/src/genesis_config_presets.rs)
  • …and 105 more

Changes since last survey

  • 48 commits — 46 feature/other, 2 fixes

By area

  • (repo) — 17 commits
  • (root) — 12 commits
  • runtime-testnet/src — 6 commits
  • crates/quantum-validation — 3 commits
  • pallets/quantum-pow — 3 commits
  • scripts/python-dists.sh — 2 commits
  • tests/fixtures — 2 commits
  • docs/family-activation.md — 1 commit
  • pallets/quantum-compute-mempool — 1 commit
  • pallets/template — 1 commit

Notable commits

  • fix: Merge branch 'fix/staking-nominator-cap-1024' into 'main'
  • fix: fix(staking): install the election nominator cap instead of zero
  • change: # V0 governance and two-network genesis (runtime 120)
  • change: Bump the dependency gate template to v1.2.0
  • change: Decode family proofs with the solver-core compact witness codecs
  • change: Execute metered xqvm spin transforms in the compute mempool
  • change: Merge branch 'chore/dep-gate-v1.2.0' into 'main'
  • change: Merge branch 'chore/release-0.5.0' into 'main'
  • change: Merge branch 'ci/toolchain-image-tools' into 'main'
  • change: Merge branch 'feat/family-witness-codecs' into 'main'
  • change: Merge branch 'feature/qui-2215' into 'main'
  • change: Merge branch 'feature/qui-2240' into 'main'
  • change: Merge branch 'keith/chore/bench-reference-machine-spec' into 'main'
  • change: Merge branch 'release/v0.5.0' into 'main'
  • change: Merge branch 'ru/chore/bump-xqvm-pallet-v0.5' into 'main'
  • change: Merge branch 'ru/chore/remove-docs' into 'main'
  • change: Merge branch 'ru/chore/remove-tpl-pallet' into 'main'
  • change: Merge branch 'ru/chore/stable2609-1' into 'main'
  • change: Merge branch 'ru/feature/governance-plan' into 'main'
  • change: Merge branch 'ru/feature/xqvm-mempool-integration' into 'main'
  • …and 28 more

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

QuipNetwork/quip-validator was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 14 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit d763e2e8ae637170a75ce120441cb6fd3f5ab55c — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-e1a3b69fc8ee.