Single ML-DSA key
its only key is published
reading…
0x1baaf227b2…5c904334 on the explorerPost-quantum continuity · built on QoreChain
Bedrock gives a smart contract a second, independent line of authority. If its daily keys are stolen or their cryptography fails, a recovery key from a different signature family retires them, and users keep everything they own.
Every daily signing key publishedrecorded · diana testnet
Test QOR. Bedrock paid out only its 0.05 QOR exposure budget before its LMS root retired the published key. See the experiment
1/5 · NormalDaily operations are signed with ML-DSA-87. The LMS recovery key stays offline.
01/The problem
QoreChain made post-quantum signatures native: ML-DSA-87 keys in x/pqc, hybrid-signed EVM windows, a verification precompile. That is a strong base. It also means every account and every contract rests on one signature family and one verifier.
Someone holds a copy of the daily ML-DSA key. Nothing else is wrong.
Every ML-DSA signature can be forged. Every ML-DSA key fails at once.
Valid signatures are rejected. Nothing is stolen, but nothing signed with ML-DSA goes through.
In every test and live run here, the failure is simulated: a key is handed to an attacker, published, or a verifier is replaced. No algorithm is broken.
02/The idea
Daily operations run on ML-DSA-87. A second root, an RFC 8554 LMS key built only on SHA-256, stays offline. A failure of one family does not carry over to the other.
1
ML-DSA-87 signs daily operations. Each root alone can commit only a bounded amount; the LMS key stays offline.
2
One LMS signature, delivered by anyone, declares an incident. The ML-DSA root is retired and whatever it left pending is void.
3
The contract keeps running on the LMS root. Users' own funds never depended on either root, so they withdraw as before.
03/The experiment · diana testnet
Three vaults, each funded with 0.3 QOR. Every ML-DSA-87 secret key that controls them is public, which simulates a failure of the whole family. The balances below are read from diana now.
its only key is published
reading…
0x1baaf227b2…5c904334 on the explorerboth keys are published
reading…
0xae9fa4c061…25bdcfc8 on the explorerML-DSA key published, LMS key secret
reading…
0.05 QOR went out under its single-family cap. Then its LMS root retired the published key, and the rest is held.
0x398035f189…d3d925bb on the explorerreading diana…
An attacker held the ML-DSA key and queued payments to itself. An unrelated relayer delivered one LMS-signed incident: the attacker’s obligation became void, and the user’s withdrawal paid out.
12 transactions, recorded 2026-12-01 →One copied key, five periods, nobody responding. A period limit alone kept paying out. Bedrock’s cumulative cap stopped at 0.05 QOR and refused the rest.
The ledger, recorded 2026-12-02 →The drill’s vault has stayed in Recovery mode since 2026-12-01: its daily key can authorize nothing. Deposits, withdrawal requests and claims never needed it, so they still work.
Try it with QoreX →04/Build with Bedrock
Inherit BedrockCore, authorize each action with _authorize, and charge its value with _charge. The TypeScript SDK and CLI prepare, check and submit what each root signs.
npm install bedrock-continuity viemimport {BedrockCore} from "bedrock/core/BedrockCore.sol";
import {ExposureBudget} from "bedrock/core/ExposureBudget.sol";
contract Treasury is BedrockCore {
bytes32 constant GRANT =
keccak256("Grant(address to,uint256 amount)");
constructor(
address mldsaVerifier,
bytes memory mldsaKey,
address owner,
bytes memory lmsKey
)
BedrockCore(
mldsaVerifier,
mldsaKey,
owner,
lmsKey,
ExposureBudget.Policy(1 ether, 5 ether, 1 days),
2 days
)
{}
function grant(
address to,
uint256 amount,
Authorization calldata auth
) external {
Signers signers =
_authorize(keccak256(abi.encode(GRANT, to, amount)), auth);
_charge(signers, amount);
(bool ok,) = to.call{value: amount}("");
require(ok);
}
}05/Verify
Every figure on this site links to the record that produced it and says how it was established. Your browser can re-read every live claim from diana; one command reruns everything else.
$ make verify-liveLimits
The LMS key is the root of trust. Whoever controls it, by stealing it or through a defect in our LMS verifier, gains full power after DUAL_ACTIVATION_DELAY. Keep it offline.
Consensus is out of scope. QoreChain validators sign with ed25519; no application can survive a break there.
Network admission still depends on ML-DSA. Every EVM sender on diana needs a registered ML-DSA-87 key and a hybrid-signed window. Bedrock's recovery is independent at the application level only.
The software LMS signer does not meet NIST SP 800-208, which requires hardware for stateful keys. A full rollback of its directory cannot be detected.
Not audited. QCAI, QoreChain's AI auditor, scored the contracts 75/100 and then 85/100 after the fix. Both reports and our responses are in docs/AUDIT.md, with a separate AI-assisted review of the verifier and contracts (2026-12-02: four informational findings, no code change). Neither AI review nor passing tests is an audit.