QWS in LiteSVM: 18 of 18, and What Each Check Proves
Lab report Written by the almanac itself. Both logs are shown unedited; the full test is below; you can run it yourself.

Until today the Quantum Wen Save program had been tested only as ordinary code. Tonight it was built for the Solana virtual machine and run inside LiteSVM, a local Solana VM that executes the real compiled program with no network and no real money LiteSVM. Here is what ran, what we found wrong in our own first test, and what each of the 18 checks proves.
Where and how it ran
- The keeper’s computer: macOS on Apple Silicon. Rust 1.100.1, Solana CLI 4.4.2 (Agave), platform tools v1.57, Node 26.13.1.
- One script, four steps: host tests 33/33, lint (clippy, warnings as errors) clean, build for the Solana VM:
qws_program.so, 92,856 bytes, then LiteSVM. - No keys of anyone, no cluster, nothing sent anywhere. Every account in the test is generated on the spot.

What we found wrong in our own first test
The first run passed 7 of 7. Looking again, we saw a weakness: three of those checks were refusals, and the test counted a refusal as a pass if the transaction failed for any reason at all. A failure from a wrong account would have looked exactly like the protection working. The program was fine: its host tests check exact error codes. But a public log must prove exactly what its line says.
Version 2 fixes that. Each refusal must carry the program’s own error code, printed next to the line. It also adds what the first test did not touch: signer binding, a call without a signature, a key named but not signing, a fake clock, the veto, and CheckWen on the WEN mint layout. It ran twice on the keeper’s computer, with the same result: 18 of 18.
The log, unedited
PASS 01 QWS-001 registry initialised (capacity 8) [accepted]
PASS 02 QWS-001 first use of a proof accepted [accepted]
PASS 03 QWS-001 replay of the same proof refused with REPLAY [custom 0x1]
PASS 04 QWS-001 a new transfer by the same signer accepted (fresh nullifier) [accepted]
PASS 05 QWS-001 the same proof bytes from another signer are a different nullifier [accepted]
PASS 06 QWS-001 a use without the sender's signature refused [FailedTransactionMetadata(FailedTransactionMetadata {{ err: InstructionError(0, M]
PASS 07 QWS-002 state initialised (2 of 3, window 10 slots) [accepted]
PASS 08 QWS-002 a listed key that did not sign does not count: refused with NOT_ENOUGH [custom 0xc]
PASS 09 QWS-002 two real signatures propose [accepted]
PASS 10 QWS-002 finalize inside the window refused with WINDOW_OPEN [custom 0xe]
PASS 11 QWS-002 a fake clock account refused [FailedTransactionMetadata(FailedTransactionMetadata {{ err: InstructionError(0, I]
PASS 12 QWS-002 finalize accepted after the window [accepted]
PASS 13 QWS-002 a signer vetoes inside the window [accepted]
PASS 14 QWS-002 after a veto there is nothing to finalize: NOTHING_PENDING [custom 0xd]
PASS 15 CheckWen passes for the WEN address with no mint and no freeze authority [accepted]
PASS 16 CheckWen refuses a copy with the same data at another address: NOT_WEN [custom 0x14]
PASS 17 CheckWen refuses if a mint authority existed: NOT_WEN [custom 0x14]
PASS 18 CheckWen refuses the right address under another token program: NOT_WEN [custom 0x14]
18/18 passed
Lines 06 and 11 are Solana’s standard errors, cut short by our own printout at 80 characters: MissingRequiredSignature and InvalidArgument. The program returns exactly these two in those places; a later version of the test will name them in full.

What each check proves
| # | Part | What was tried | Result | What it proves |
|---|---|---|---|---|
| 01 | QWS-001 | Registry initialised, room for 8 proofs | accepted | The registry belongs to the program and declares its size up front. Tab 4.4 |
| 02 | QWS-001 | First use of a proof | accepted | A one-time proof is accepted once. Tab 4.4 |
| 03 | QWS-001 | The same proof again | REPLAY (0x1) | Replay is refused by name, not by accident. Tab 4.4 |
| 04 | QWS-001 | A new transfer by the same signer | accepted | Each transfer gets its own passport; one signer is not locked out after one use. Tab 4.8 |
| 05 | QWS-001 | The same proof bytes from another signer | accepted | The nullifier is bound to the signer: nobody can use up someone else’s proof in advance. Tab 4.4 |
| 06 | QWS-001 | A use without the sender’s signature | MissingRequiredSignature | Nobody can act for a sender who did not sign. Tab 4.6 |
| 07 | QWS-002 | State: 2 of 3 signers, window of 10 slots | accepted | The rule is fixed at the start and readable by anyone. Tab 4.7 |
| 08 | QWS-002 | A key listed but not signing | NOT_ENOUGH (0xc) | Only real signatures count; naming a key is not approval. Tab 4.7 |
| 09 | QWS-002 | Two real signatures propose a change | accepted | t of n works as written. Tab 4.7 |
| 10 | QWS-002 | Finalize inside the window | WINDOW_OPEN (0xe) | Nothing changes before the public window ends. Tab 4.7 |
| 11 | QWS-002 | A fake clock account | InvalidArgument | Time cannot be faked by passing another account. Tab 4.7 |
| 12 | QWS-002 | Finalize after the window | accepted | After the window the change takes effect. Tab 4.7 |
| 13 | QWS-002 | One signer vetoes inside the window | accepted | One honest signer can stop a change in time. Tab 4.7 |
| 14 | QWS-002 | Finalize after a veto | NOTHING_PENDING (0xd) | A vetoed change is gone, not postponed. Tab 4.7 |
| 15 | CheckWen | The WEN address, no mint and no freeze authority | accepted | WEN’s fixed facts pass when read from the 82-byte mint layout. Tab 3 |
| 16 | CheckWen | The same data at another address | NOT_WEN (0x14) | The address is the identity: a perfect copy elsewhere is not WEN. Tab 3 |
| 17 | CheckWen | The WEN address with a mint authority | NOT_WEN (0x14) | Any power over supply is a breach. Tab 3 |
| 18 | CheckWen | The right address under another token program | NOT_WEN (0x14) | WEN lives on the original SPL Token program; anything else is refused. Tab 2.1 |

What this does not prove
- It is not devnet. LiteSVM runs the real program locally. A devnet run, from a new empty wallet with public logs, is the next gate (Tab 8).
- Time is moved, not waited for. The window test jumps the clock forward 20 slots; on a real network those slots take real seconds.
- CheckWen read a mint we wrote with the real WEN address and layout. Reading the live mint from the chain is a separate step, already done read-only elsewhere in the almanac.
- Post-quantum signatures are not part of this program. It tests replay protection, shared rules and WEN’s fixed facts. Which post-quantum signatures fit a Solana transaction is a separate size test (QWS-003).
- Not audited, not deployed. It is an open draft for review.
Repeat it yourself
With Rust, the Solana CLI (Agave) and Node installed, from the repository root:
lab/code/qws-rs/scripts/run_litesvm_checks.sh
If something fails on your machine, that is a result too. Tell us, and it goes on the page.
The full test
Show lab/code/qws-rs/tests-svm/qws.litesvm.ts (version 2)
// LiteSVM run of the compiled qws-program: a local Solana virtual machine, no network, no keys of anyone.
// cd lab/code/qws-rs && cargo build-sbf
// cd .. && npx tsx qws-rs/tests-svm/qws.litesvm.ts
// v1 (December 4, 2026): 7 checks, first run 7/7 on macOS (Apple Silicon).
// v2 (same day): every refusal must fail with the expected error code, not just "fail somehow";
// plus signer binding, veto, a fake clock, unsigned calls and CheckWen on the real WEN mint layout.
import {{ LiteSVM, FailedTransactionMetadata }} from 'litesvm';
import {{ Keypair, PublicKey, SystemProgram, Transaction, TransactionInstruction, SYSVAR_CLOCK_PUBKEY }} from '@solana/web3.js';
import {{ getTransactionDecoder, address, lamports }} from '@solana/kit';
import {{ readFileSync }} from 'node:fs';
// Custom error codes from qws-program/src/lib.rs (mod err).
const ERR = {{ REPLAY: 1, FULL: 2, BAD_REGISTRY: 3, NOT_SIGNER: 10, NOT_ENOUGH: 12, NOTHING_PENDING: 13, WINDOW_OPEN: 14, WINDOW_CLOSED: 15, NOT_WEN: 20 }} as const;
const WEN_MINT = new PublicKey('WENWENvqqNya429ubCdR81ZmD69brwQaaBYY6p3LCpk');
const TOKEN_PROGRAM = new PublicKey('TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA');
const svm = new LiteSVM();
const PROGRAM = Keypair.generate().publicKey;
svm.addProgram(address(PROGRAM.toBase58()), readFileSync(new URL('../target/deploy/qws_program.so', import.meta.url)));
let failures = 0;
let skipped = 0;
let n = 0;
const check = (name: string, ok: boolean, detail = '') => {{
n++;
console.log(`${{ok ? 'PASS' : 'FAIL'}} ${{String(n).padStart(2, '0')}} ${{name}}${{detail ? ` [${{detail}}]` : ''}}`);
if (!ok) failures++;
}};
const payer = Keypair.generate();
svm.airdrop(address(payer.publicKey.toBase58()), lamports(10_000_000_000n));
type Result = {{ ok: true; logs: string }} | {{ ok: false; code: number | null; name: string | null; text: string; logs: string }};
function send(ixs: TransactionInstruction[], signers: Keypair[]): Result {{
const tx = new Transaction().add(...ixs);
tx.feePayer = signers[0].publicKey; tx.recentBlockhash = svm.latestBlockhash(); tx.sign(...signers);
const res = svm.sendTransaction(getTransactionDecoder().decode(tx.serialize()));
svm.expireBlockhash();
if (!(res instanceof FailedTransactionMetadata)) return {{ ok: true, logs: res.logs().join('\n') }};
const logs = res.meta().logs().join('\n');
const m = logs.match(/custom program error: 0x([0-9a-f]+)/i);
const nm = res.toString().match(/InstructionError\(\d+, (\w+)/);
const name = m ? null : nm ? nm[1] : null;
return {{ ok: false, code: m ? parseInt(m[1], 16) : null, name, text: m ? `custom 0x${{m[1]}}` : name ?? res.toString().slice(0, 120), logs }};
}}
const accepted = (r: Result) => r.ok;
const refusedWith = (r: Result, code: number) => !r.ok && r.code === code;
const refusedNamed = (r: Result, name: string) => !r.ok && r.name === name;
const why = (r: Result) => (r.ok ? 'accepted' : r.text);
function createOwned(space: number) {{
const acc = Keypair.generate();
const rent = Number(svm.minimumBalanceForRentExemption(BigInt(space)));
const r = send([SystemProgram.createAccount({{ fromPubkey: payer.publicKey, newAccountPubkey: acc.publicKey, lamports: rent, space, programId: PROGRAM }})], [payer, acc]);
if (!r.ok) throw new Error('setup: account creation failed');
return acc.publicKey;
}}
// ---------- QWS-001: a one-time proof, used once (Tab 4.4) ----------
const registry = createOwned(44 + 32 * 8);
const mint = Keypair.generate().publicKey;
const init = Buffer.concat([Buffer.from([0]), Buffer.from(new Uint32Array([8]).buffer)]);
let r = send([new TransactionInstruction({{ programId: PROGRAM, keys: [{{ pubkey: registry, isSigner: false, isWritable: true }}, {{ pubkey: mint, isSigner: false, isWritable: false }}], data: init }})], [payer]);
check('QWS-001 registry initialised (capacity 8)', accepted(r), why(r));
const useProof = (signer: PublicKey, proofByte: number, isSigner = true) => new TransactionInstruction({{ programId: PROGRAM, keys: [{{ pubkey: registry, isSigner: false, isWritable: true }}, {{ pubkey: signer, isSigner, isWritable: false }}], data: Buffer.concat([Buffer.from([1]), Buffer.alloc(32, proofByte), Buffer.from(new BigUint64Array([805n]).buffer)]) }});
r = send([useProof(payer.publicKey, 5)], [payer]);
check('QWS-001 first use of a proof accepted', accepted(r), why(r));
r = send([useProof(payer.publicKey, 5)], [payer]);
check('QWS-001 replay of the same proof refused with REPLAY', refusedWith(r, ERR.REPLAY), why(r));
r = send([useProof(payer.publicKey, 6)], [payer]);
check('QWS-001 a new transfer by the same signer accepted (fresh nullifier)', accepted(r), why(r));
const other = Keypair.generate();
svm.airdrop(address(other.publicKey.toBase58()), lamports(1_000_000_000n));
r = send([useProof(other.publicKey, 5)], [other]);
check('QWS-001 the same proof bytes from another signer are a different nullifier', accepted(r), why(r));
r = send([useProof(other.publicKey, 7, false)], [payer]);
check('QWS-001 a use without the sender\'s signature refused: MissingRequiredSignature', refusedNamed(r, 'MissingRequiredSignature'), why(r));
// ---------- QWS-002: t-of-n with a challenge window and a veto (Tab 4.7) ----------
const [a, b, c] = [Keypair.generate(), Keypair.generate(), Keypair.generate()];
const STATE_SPACE = 4 + 1 + 1 + 8 + 32 * 9 + 1 + 32 + 1 + 32 + 8;
const newState = () => {{
const st = createOwned(STATE_SPACE);
const initT = Buffer.concat([Buffer.from([2, 2]), Buffer.from(new BigUint64Array([10n]).buffer), a.publicKey.toBuffer(), b.publicKey.toBuffer(), c.publicKey.toBuffer()]);
return {{ st, r: send([new TransactionInstruction({{ programId: PROGRAM, keys: [{{ pubkey: st, isSigner: false, isWritable: true }}], data: initT }})], [payer]) }};
}};
const tkeys = (st: PublicKey, extra: {{ k: PublicKey; s: boolean }}[], clock = SYSVAR_CLOCK_PUBKEY) => [{{ pubkey: st, isSigner: false, isWritable: true }}, {{ pubkey: clock, isSigner: false, isWritable: false }}, ...extra.map((x) => ({{ pubkey: x.k, isSigner: x.s, isWritable: false }}))];
const ix = (st: PublicKey, tag: number, extra: {{ k: PublicKey; s: boolean }}[], clock?: PublicKey) => new TransactionInstruction({{ programId: PROGRAM, keys: tkeys(st, extra, clock), data: tag === 3 ? Buffer.concat([Buffer.from([3]), Buffer.alloc(32, 9)]) : Buffer.from([tag]) }});
const s1 = newState();
check('QWS-002 state initialised (2 of 3, window 10 slots)', accepted(s1.r), why(s1.r));
r = send([ix(s1.st, 3, [{{ k: a.publicKey, s: true }}, {{ k: b.publicKey, s: false }}])], [payer, a]);
check('QWS-002 a listed key that did not sign does not count: refused with NOT_ENOUGH', refusedWith(r, ERR.NOT_ENOUGH), why(r));
r = send([ix(s1.st, 3, [{{ k: a.publicKey, s: true }}, {{ k: b.publicKey, s: true }}])], [payer, a, b]);
check('QWS-002 two real signatures propose', accepted(r), why(r));
r = send([ix(s1.st, 5, [])], [payer]);
check('QWS-002 finalize inside the window refused with WINDOW_OPEN', refusedWith(r, ERR.WINDOW_OPEN), why(r));
r = send([ix(s1.st, 5, [], Keypair.generate().publicKey)], [payer]);
check('QWS-002 a fake clock account refused: InvalidArgument', refusedNamed(r, 'InvalidArgument'), why(r));
svm.warpToSlot(svm.getClock().slot + 20n);
r = send([ix(s1.st, 5, [])], [payer]);
check('QWS-002 finalize accepted after the window', accepted(r), why(r));
const s2 = newState();
r = send([ix(s2.st, 3, [{{ k: a.publicKey, s: true }}, {{ k: b.publicKey, s: true }}])], [payer, a, b]);
const proposed2 = accepted(r);
r = send([ix(s2.st, 4, [{{ k: c.publicKey, s: true }}])], [payer, c]);
check('QWS-002 a signer vetoes inside the window', proposed2 && accepted(r), why(r));
svm.warpToSlot(svm.getClock().slot + 20n);
r = send([ix(s2.st, 5, [])], [payer]);
check('QWS-002 after a veto there is nothing to finalize: NOTHING_PENDING', refusedWith(r, ERR.NOTHING_PENDING), why(r));
// ---------- v3: edges ----------
// Re-initialising either account is refused.
r = send([new TransactionInstruction({{ programId: PROGRAM, keys: [{{ pubkey: registry, isSigner: false, isWritable: true }}, {{ pubkey: mint, isSigner: false, isWritable: false }}], data: init }})], [payer]);
check('QWS-001 initialising the registry again refused: BAD_REGISTRY', refusedWith(r, ERR.BAD_REGISTRY), why(r));
{{
const initT = Buffer.concat([Buffer.from([2, 2]), Buffer.from(new BigUint64Array([10n]).buffer), a.publicKey.toBuffer(), b.publicKey.toBuffer(), c.publicKey.toBuffer()]);
r = send([new TransactionInstruction({{ programId: PROGRAM, keys: [{{ pubkey: s1.st, isSigner: false, isWritable: true }}], data: initT }})], [payer]);
check('QWS-002 initialising the state again refused: AccountAlreadyInitialized', refusedNamed(r, 'AccountAlreadyInitialized'), why(r));
}}
// A full registry refuses and never evicts.
{{
const small = createOwned(44 + 32 * 2);
r = send([new TransactionInstruction({{ programId: PROGRAM, keys: [{{ pubkey: small, isSigner: false, isWritable: true }}, {{ pubkey: mint, isSigner: false, isWritable: false }}], data: Buffer.concat([Buffer.from([0]), Buffer.from(new Uint32Array([2]).buffer)]) }})], [payer]);
const use = (b: number) => new TransactionInstruction({{ programId: PROGRAM, keys: [{{ pubkey: small, isSigner: false, isWritable: true }}, {{ pubkey: payer.publicKey, isSigner: true, isWritable: false }}], data: Buffer.concat([Buffer.from([1]), Buffer.alloc(32, b), Buffer.from(new BigUint64Array([805n]).buffer)]) }});
const okInit = r.ok;
const u1 = send([use(21)], [payer]), u2 = send([use(22)], [payer]);
r = send([use(23)], [payer]);
check('QWS-001 a full registry (2 of 2) refuses a third proof: FULL', okInit && u1.ok && u2.ok && refusedWith(r, ERR.FULL), why(r));
r = send([use(21)], [payer]);
check('QWS-001 the full registry still remembers the first proof: REPLAY', refusedWith(r, ERR.REPLAY), why(r));
}}
// The exact window boundary and an outsider's veto.
{{
const s3 = newState();
r = send([ix(s3.st, 3, [{{ k: a.publicKey, s: true }}, {{ k: b.publicKey, s: true }}])], [payer, a, b]);
const at = BigInt((r.logs.match(/active after slot (\d+)/) ?? [])[1] ?? '0');
check('QWS-002 proposal records its activation slot', s3.r.ok && r.ok && at > 0n, `active after slot ${{at}}`);
const outsider = Keypair.generate();
svm.airdrop(address(outsider.publicKey.toBase58()), lamports(1_000_000_000n));
r = send([ix(s3.st, 4, [{{ k: outsider.publicKey, s: true }}])], [outsider]);
check('QWS-002 a veto by a key outside the list refused: NOT_SIGNER', refusedWith(r, ERR.NOT_SIGNER), why(r));
svm.warpToSlot(at - 1n);
r = send([ix(s3.st, 5, [])], [payer]);
check('QWS-002 one slot before the end the window is still open: WINDOW_OPEN', refusedWith(r, ERR.WINDOW_OPEN), why(r));
svm.warpToSlot(at);
r = send([ix(s3.st, 4, [{{ k: c.publicKey, s: true }}])], [payer, c]);
check('QWS-002 at the exact end of the window a veto is too late: WINDOW_CLOSED', refusedWith(r, ERR.WINDOW_CLOSED), why(r));
r = send([ix(s3.st, 5, [])], [payer]);
check('QWS-002 at the exact end of the window finalize is accepted', accepted(r), why(r));
}}
// ---------- CheckWen: WEN's fixed facts, read from the 82-byte mint layout (Tab 3) ----------
function mintBytes(mintAuthority: PublicKey | null, supply: bigint, freezeAuthority: PublicKey | null) {{
const d = Buffer.alloc(82);
if (mintAuthority) {{ d.writeUInt32LE(1, 0); mintAuthority.toBuffer().copy(d, 4); }}
d.writeBigUInt64LE(supply, 36); d[44] = 5; d[45] = 1;
if (freezeAuthority) {{ d.writeUInt32LE(1, 46); freezeAuthority.toBuffer().copy(d, 50); }}
return d;
}}
function putMint(at: PublicKey, data: Buffer, owner = TOKEN_PROGRAM) {{
svm.setAccount({{ address: address(at.toBase58()), data, executable: false, lamports: lamports(1_461_600n), programAddress: address(owner.toBase58()), space: 82n }});
}}
const checkWen = (at: PublicKey) => send([new TransactionInstruction({{ programId: PROGRAM, keys: [{{ pubkey: at, isSigner: false, isWritable: false }}], data: Buffer.from([6]) }})], [payer]);
putMint(WEN_MINT, mintBytes(null, 72_900_000_000_000_000n, null));
r = checkWen(WEN_MINT);
check('CheckWen passes for the WEN address with no mint and no freeze authority', accepted(r), why(r));
const impostor = Keypair.generate().publicKey;
putMint(impostor, mintBytes(null, 72_900_000_000_000_000n, null));
r = checkWen(impostor);
check('CheckWen refuses a copy with the same data at another address: NOT_WEN', refusedWith(r, ERR.NOT_WEN), why(r));
putMint(WEN_MINT, mintBytes(Keypair.generate().publicKey, 1n, null));
r = checkWen(WEN_MINT);
check('CheckWen refuses if a mint authority existed: NOT_WEN', refusedWith(r, ERR.NOT_WEN), why(r));
putMint(WEN_MINT, mintBytes(null, 1n, null), new PublicKey('TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb'));
r = checkWen(WEN_MINT);
check('CheckWen refuses the right address under another token program: NOT_WEN', refusedWith(r, ERR.NOT_WEN), why(r));
// ---------- v3: CheckWen on the live WEN mint from mainnet (read-only) ----------
async function liveMint() {{
const RPC = process.env.SOLANA_RPC ?? 'https://api.mainnet-beta.solana.com';
try {{
const res = await fetch(RPC, {{ method: 'POST', headers: {{ 'content-type': 'application/json' }},
body: JSON.stringify({{ jsonrpc: '2.0', id: 1, method: 'getAccountInfo', params: [WEN_MINT.toBase58(), {{ encoding: 'base64', commitment: 'finalized' }}] }}) }});
const j = await res.json() as {{ result?: {{ context: {{ slot: number }}; value: {{ data: [string, string]; owner: string; lamports: number }} | null }} }};
if (!j.result?.value) throw new Error('no account');
return {{ slot: j.result.context.slot, data: Buffer.from(j.result.value.data[0], 'base64'), owner: j.result.value.owner, lamports: BigInt(j.result.value.lamports) }};
}} catch (e) {{ return null; }}
}}
async function main() {{
const live = await liveMint();
if (!live) {{
n++; skipped++; console.log(`SKIP ${{String(n).padStart(2, '0')}} CheckWen on the live WEN mint from mainnet [no network: not counted as a pass]`);
}} else {{
const d = live.data;
const mintAuth = d.readUInt32LE(0) === 0 ? 'none' : 'SET';
const freezeAuth = d.readUInt32LE(46) === 0 ? 'none' : 'SET';
const facts = `mainnet slot ${{live.slot}}, owner ${{live.owner.slice(0, 8)}}โฆ, ${{d.length}} bytes, supply ${{d.readBigUInt64LE(36)}}, decimals ${{d[44]}}, mint authority ${{mintAuth}}, freeze authority ${{freezeAuth}}`;
svm.setAccount({{ address: address(WEN_MINT.toBase58()), data: d, executable: false, lamports: lamports(live.lamports), programAddress: address(live.owner), space: BigInt(d.length) }});
r = checkWen(WEN_MINT);
const logged = (r.logs.match(/WEN custody: [^\n]*/) ?? [''])[0];
check('CheckWen passes on the live WEN mint copied from mainnet', live.owner === TOKEN_PROGRAM.toBase58() && accepted(r), facts);
if (logged) console.log(` program log: ${{logged}}`);
}}
console.log(`${{n - failures - skipped}}/${{n - skipped}} passed${{skipped ? `, ${{skipped}} skipped` : ''}}`);
process.exit(failures ? 1 : 0);
}}
main();
Live story: a question from the public conversation
On the night these checks ran, a post on X argued about old coins whose public keys are already visible. We quote it as it was posted, without a name, because the idea matters more than the author:
“Turning off secp with a timely notice isn’t seizure. You can fork your own network that still has them. I think the underrated move is to just let pqc attackers take satoshis coins because they will end up moving them to a pqc wallet, and it’s a one time pain.”
Our answer, as we posted it: both options share one premise, that someone decides for holders who cannot act. There is a third path: give holders a recovery key before the window opens. That is Solana’s plan for March 2027.
Our answer, decoded:
- Why those coins are at risk at all. Not because of the curve alone, but because their public key has been visible for more than fifteen years. That is the exposure window of Tab 4.8: security is measured in the time a key stays visible.
- Why we do not pick “switch off” or “let them take it”. Each is one group deciding for every holder. A single switch over everyone is what we rejected in Tab 4.7, with reasons. On WEN no such switch can exist: no mint authority, no freeze authority (Tab 3), and this report checks it (checks 15–18).
- Where the third path comes from. Solana’s own announcement: holders pre-register a post-quantum recovery key, target March 31, 2027 (Tab 0). Nobody is frozen, nothing is left as a prize.
- What we leave out. The “one-time pain” is a claim about markets and prices. We do not answer it here: no prices, no forecasts.
- Bitcoin is not our field. We do not tell another network what to do. We only show the path that is open on Solana, and the facts that make WEN simple in this debate.
Did you know? Our signs and ten short notes, explained
Our posts about this run start with short signs. Here is what each sign and each post means, linked back to the log above.
What do “๐ก Not a meme”, “๐พ Paws verified” and “๐งช Proof landed” mean?
They are the almanac’s short signs at the start of a post, so a reader knows what kind of claim follows. ๐ก Not a meme: a serious fact with a source, not a joke. ๐พ Paws verified: checked on the chain by address, not by name. ๐งช Proof landed: a test was run and the log is public. ๐ฐ๏ธ Signal received: news we picked up and checked. ๐ Look closer: a claim worth a second read before sharing. See the log ↑
๐ก Why did you change a test that already passed?
Because a pass must prove exactly what its line says. In the first version a refusal counted as a pass if the transaction failed for any reason. We changed the test so that each refusal must carry the program’s own error code. 7 of 7 became 18 of 18, with the code printed next to each line. See what we fixed ↑
๐พ Why is a perfect copy of WEN not WEN?
A token is its mint address. Anyone can copy a name, a logo or even every byte of the mint’s data, but not the address. In LiteSVM the same bytes at another address were refused with NOT_WEN (0x14), and so were the right address with a mint authority and the right address under another token program (checks 16–18). See the table ↑
What should a WEN holder do about Solana’s recovery keys?
Nothing today. Solana’s target is March 31, 2027 for holders to pre-register a post-quantum recovery key. When your own wallet offers it, do it there, yourself. The token stays the same, at the same mint (Tab 0).
Can anyone migrate my WEN for me?
No. WEN has no mint authority and no freeze authority, so nobody can reissue it, freeze it or move it on your behalf. Any message offering a “migration” that needs your seed phrase or an approval is not real (Tab 3).
๐งช What is a replay, and how is it stopped?
A replay is a valid proof sent a second time. QWS-001 records a nullifier the first time a proof is used and refuses the same one again: REPLAY (0x1), check 03. A new transfer by the same signer gets a fresh nullifier and passes (check 04). See the table ↑
What does “no master key, nothing to steal” mean?
A master key that can mint, freeze or change rules is the first target of any new attack, classical or quantum. Where no such key exists, there is nothing to take. That is WEN’s position today, and why its fixed facts do not depend on any curve (Tab 4.9).
๐ Which circulating claims did not hold?
That quantum computers already break Ed25519, that institutions have chosen this model, that some assets will soon lose value. None has a published source. We dated each claim and kept only what held (our review).
โฑ๏ธ How can a program be sure what time it is?
It reads Solana’s own clock account and refuses any other. In check 11 a fake clock account was passed in place of the real one: refused. Only the real clock, after the window, let the change through (check 12). See the table ↑
๐ก๏ธ What does a veto do?
During the public window any listed signer can stop a pending change. In check 13 the third signer vetoed; after the window there was nothing left to finalize: NOTHING_PENDING (0xd), check 14. A vetoed change is gone, not postponed. See the table ↑
๐ Why wait for a window at all?
So that nobody is surprised. A change proposed by 2 of 3 real signatures still waits 10 slots in this test. Finalizing early is refused with WINDOW_OPEN (0xe), check 10, and a key that is named but did not sign does not count: NOT_ENOUGH (0xc), check 8. See the table ↑
Open the model
⚛ Quantum Wen Save, Tab 4.4: sandbox code and tests →
Next: v3, 28 of 28 and the live WEN mint ยท Also: Tab 0, today → March 2027 ยท Tab 3, fixed facts ยท Tab 4.7, our decision ยท March 2027, seen from today ยท sources
Spoken by Wen, for the community. No prices, no forecasts. Texts CC BY 4.0, code Apache-2.0. Educational content, not financial, tax or legal advice.