
Post-Quantum dApp
Heirloom
Built to outlive Q-Day: an inheritance vault that pays your heirs itself, with no seed phrase handed over and no witness
About
Heirloom is a heartbeat inheritance vault on QoreChain. The owner checks in on a schedule. If check-ins stop past a warning and grace period, anyone can trigger the vault and the contract pays the heirs by fixed shares. Every owner action (check-in, withdraw, heir changes, agent allowance) must carry an ML-DSA-87 (FIPS 204) signature, verified on chain through QoreChain's pqcVerify precompile. A stolen classical ECDSA key moves nothing and cannot even postpone the switch. What makes it different: the vault holds and pays out the funds itself, so no seed phrase is ever written down or handed over, and there is no witness or guardian quorum to trust or to block the payout. It ships with an in-browser demo that runs the real contract bytecode with real post-quantum signatures, a Q-Day drill kit, and 342 tests. MIT licence. Testnet only. Not a will, not legal advice, not audited by a third party.
How it's made
Architecture: one Solidity contract (QDMVault) on QoreChain's EVM, a React + Vite app, and GitHub Actions workflows that deploy and run everything on testnet (qorechain-diana). The vault keeps a heartbeat. The owner checks in on a schedule; if check-ins stop past a warning and grace period, anyone can trigger it and the contract pays each heir a fixed share. Every owner action (check-in, withdraw, heir changes, agent allowance) needs an ML-DSA-87 signature, checked on chain with the pqcVerify precompile and bound to a nonce, expiry, chain id and vault. pqcKeyStatus confirms the owner's post-quantum key is registered. A stolen ECDSA key can't move funds or delay the switch. Kits and network features: @qorechain/sdk for hybrid secp256k1 + ML-DSA-87 transactions, key registration with proof of possession and scoped EVM authorisation windows; @qorechain/evm for window status; the create-qorechain-dapp Hardhat template as the starting point; @qorechain/pqc in an interop test proving our signer matches QoreChain's byte for byte. Testing: 342 tests (Hardhat, Solidity fuzz and invariant tests, a simulator, script and app tests). The in-browser demo runs the real contract bytecode with real post-quantum signatures, and a Q-Day drill kit attacks the vault with the owner's own classical key. What was hard: matching the pqcVerify calling convention exactly (we probe it on testnet before deploying), handling both answer shapes of pqcKeyStatus, and keeping every signed message replay-proof across vaults and actions.
Timeline
Pushed 7 commits to main
- 08d444d Add a Send test QOR workflow · bigbenny1231
- 8bab42c Live demo link and one-tap live testnet vault · bigbenny1231
- 39ec9a4 Record the testnet deployment and the probe result · bigbenny1231
- d26ab6b Keep 0x keys intact when stripping list numbering from a phrase · bigbenny1231
- daa17c9 Say when a recovery-phrase secret looks like a private key · bigbenny1231
and 2 more commits
New project.
Comments and questions
- No comments yet.