NEW Sign a post-quantum signature in your browser →
All Canaries Oracle board Circuit breaker PQ vault Q-Day index Signal ledger Benchmarks

The truth layer for quantum risk · Solana

Is it broken?
Proof, not press releases.

Crypto canaries that die on chain, with proof, the moment a key breaks. Your vault moves before the headlines do.

Powered by hashes · open to everyone · no token, no presale, no “wen”

Your risk gauge

Only proof moves your funds.

94.1Fearpress & prices
10.6Threaton-chain proofs
  1. 🐤Canary dies
  2. 📈Threat jumps
  3. ⚡Breaker trips
  4. 🔐LMS (RFC 8554) only

Fear alone never trips it. Today's readings →

Exhibit A

A lattice shell, a canary core, and 67 Winternitz hash chains. Each pulse walks a chain inward, the way the on-chain verifier walks every chain to the public key.

  • –CU to verify LMS on chain
  • –Threat index
  • –Fear index
  • 65Tests passing
localnet replay · 127.0.0.1

        
123,096compute units to verify a post-quantum signature on Solana
67hash chains walked for every signature
91tests passing: 53 localnet, 27 Rust, 11 index
0tokens, presales or insiders. Just proofs.

The protocol, in six modules

Three Anchor programs answer one question: is it broken, and if so, how do my funds move?

Today's readings

Threat and fear are different numbers.

Oracle board · quorum 2 of 3

One oracle reporting far off does not move the median. Every vote also posts the ledger's Merkle root.

Threat by target

What moved threat

    Shor breaks curves. SHA-256 stays.

    LMS (RFC 8554, NIST SP 800-208) trusts nothing but a hash function. The signer reveals each of 67 hash chains up to a digit of the message; the verifier walks the rest of the way to the public key. A Solana program does that walk itself, and passes the RFC's own test vectors. The 2.3 KB signature is larger than one transaction, so it is staged in a buffer account first.

    Normal
    1. Ed25519 owner requests a withdrawal
    2. Waits out the timelock (delay_slots)
    3. Executes if the breaker is clear

    During the timelock the PQ key can veto. That is the defence against a silent break that happens before any canary dies.

    Breaker tripped
    1. Ed25519 canary dies → check() mask 4
    2. Every Ed25519 path is refused
    3. Only LMS signatures can withdraw, rotate keys or change owner

    The digest binds the vault address, the leaf index and the whole action, so a staged signature cannot be redirected to a new destination or amount.

    Sign with LMS (RFC 8554), right here in this tab

    Runs RFC 8554 (LMS_SHA256_M32_H5, LMOTS_SHA256_N32_W4) with WebCrypto SHA-256, byte-compatible with pq_vault. The key lives only in this tab's memory and is never sent anywhere.

    Revealed by signer (digit)Walked by verifier (15 − digit)Last 3 columns = checksum
    Leaf used
    –
    Signature size
    –
    Verifier hashes
    –
    Checksum
    –
    Sign + verify
    –
    Key generation
    –
    LMS public key (type · type · I · root)
    –

    Preparing…

    Low rungs are meant to die. A high rung dying is the signal.

    A snapshot of the ladder registered on a local validator. Calibration rungs are controls that can be broken on purpose; sentinels are RSA Labs challenge numbers and NUMS curve keys that no one should hold a private key for. Bounties are symbolic local amounts. No snapshot

    Check the evidence yourself

    Every signal is a leaf in a Merkle tree. Press “Verify” and this browser hashes up the proof path with SHA-256 and compares the result with the root the oracle board posted on chain.

    On-chain root –

    DateCategoryTargetPracticalityVerifiedAttentionSignalMerkle proof

    Practicality: 0 rumor · 1 theory/asymptotic · 2 lower resource estimate · 3 small demo · 4 reduced-size break · 5 deployed-size key broken. Unverified counts 0.25×, policy 0.5×.

    Measured, not claimed

    These are computeUnitsConsumed of confirmed transactions on a local validator (compute-budget instruction included). Solana's limit is 1,400,000 CU per transaction.

    // In your program: close the Ed25519 path on quantum risk
    let mask = qcanary::cpi::check(
        CpiContext::new(
            ctx.accounts.qcanary_program.to_account_info(),
            qcanary::cpi::accounts::Check {
                registry: ctx.accounts.registry.to_account_info(),
            },
        ),
        SafetyPolicy {
            rsa_trip_bits: 1024,          // RSA rungs of 1024 bits and up
            trip_on_ed25519: true,        // Solana's signature curve
            max_heartbeat_age_slots: 9_000, // dead-man switch
            max_index_bps: 8_000,         // oracle median above 80
            ..Default::default()
        },
    )?.get();
    
    if mask != 0 {
        // pq_vault: from here on, only LMS (RFC 8554) signatures count
        return err!(PqError::BreakerTripped);
    }

    Join the flock. Do one thing today.

    No wallet connect, no sign-up, nothing to buy. Each of these runs in this page or on your own machine.

    2 min✍︎

    Sign with LMS

    Type a message, sign it with 67 hash chains, and watch your browser verify it the way the Solana program does.

    Sign now →
    30 sec✓

    Verify a signal

    Pick any line in the ledger and hash its Merkle proof up to the root the oracles posted on chain.

    Verify →
    10 min⚡

    Plug in the breaker

    Add one check(policy) CPI to your Anchor program and fail safe on quantum risk.

    Copy the CPI →
    15 min$

    Run it all locally

    Three programs, a ladder and 42 integration tests on your own validator. Nothing touches a public cluster.

    Read the spec →

    Verify it yourself

    Everything above comes from code you can run. Start anywhere.

    A silent canary is not proof of safety

    Silent attacks

    Whoever breaks a scheme may prefer a bigger prize than the bounty, and the canary stays quiet. That is why the vault pairs a timelock with a PQ veto.

    Stateful signatures

    Each LMS leaf must be used once. The chain enforces monotone leaves, but keeping the signer's counter safe (backup, sync) is an operational job.

    Trust assumptions

    Calibration RSA rungs rely on the generator discarding factors; challenge numbers rely on RSA Labs. The index assumes an honest majority of oracles.

    Where it stands

    Research prototype. Tested on a local validator only; not deployed to devnet or mainnet, not audited. Not investment advice.

    Run the whole protocol on your laptop

    Fresh local validator, three programs, 42 integration tests, a ladder snapshot and a benchmark file. Nothing touches a public cluster.

    $ bash scripts/build.sh
      rust unit tests · 12 passed
    $ bash scripts/index.sh
      index tests · 11 passed
    $ bash scripts/local.sh
      42 passing · site/data/*.js written