Skip to content
QORECHAIN
Register

Encrypted Apps

Codicil

Seal a letter and a bequest. It opens only when you go quiet, only for your heir, and never for a quantum computer.

Share on X

About

Most people leave a will, a password list, or nothing. Codicil is for the letter you would actually want read, and the thing you want your family to have. You write the letter and name an heir. You also name three guardians, people you trust but who should never be able to read it alone. Codicil seals the whole thing under post-quantum encryption (ML-KEM-1024) on QoreChain, so even a future quantum computer finds nothing worth taking. It stays shut while you are around. You check in now and then. If you go quiet for long enough, any two of your three guardians can release their pieces, and the lock opens for your heir, and only your heir. No lawyer, no company holding your keys, no single person who can peek. It runs live on QoreChain testnet today. You can watch a full lifecycle, from sealing to your heir claiming a bequest, and try to break it yourself in the attack lab.

How it's made

The contract (Solidity, 137 Foundry tests) does the deciding. It rebuilds the signed message itself and checks ML-DSA-87 signatures on chain through QoreChain's pqcVerify precompile. It refuses to treat an empty or malformed precompile answer as "verified", because a silent failure there would be the worst bug possible. The letter is encrypted with AES-256-GCM in the browser. The content key comes from the heir's key combined with a release key. That release key is split 2-of-3 with Shamir, and at release each guardian's piece is re-sealed to the heir. Nothing readable is ever stored on chain. The app is Next.js on Vercel, with Redis for the directory. A relayer pays gas, so the family never needs tokens. A small watcher runs every five minutes. I tried to break it. A 13-attack lab ran against the live contract. Nothing opened, and nine of the attacks were refused on chain. The contract also went through the QoreChain AI audit, which scored it 72/100 with 7 findings. I mapped each one in the repo. I also probed the chain itself and wrote down what surprised me, including that the first key registered can be classical-only. Honest limits: it is testnet only, the demo runs on a compressed clock, and the guardians in the demo are automated. The code, tests, audit and findings are all in the repo.

Timeline

CodicilEncrypted Apps

Newly verified on chain: AMM pools, Test tokens fUSD, fETH, fBTC

CodicilEncrypted Apps

Pushed 28 commits to main

  • ea2139d Link the demo video · 0xkinno
  • ec63b0a Smooth the seal outline · 0xkinno
  • 7bfc757 Allow relay, fund and bequest calls up to 120 seconds for slow blocks · 0xkinno
  • 0796425 Wrap long identifiers inside cards so the recorded heir page fits a phone · 0xkinno
  • 1e12412 Read event history in 9,000-block chunks: the node rejects larger getLogs ranges · 0xkinno

and 23 more commits

CodicilEncrypted Apps

Pushed 1 commit to main

  • c5493d8 Move task.md out of the tree · 0xkinno
CodicilEncrypted Apps

Pushed 1 commit to main

  • 4ea2596 README: title, badges, pitch, then the landing page image · 0xkinno
CodicilEncrypted Apps

Pushed 1 commit to main

  • 5882d72 README: map to the fest rules, track, rubric weights and testnet addresses · 0xkinno
CodicilEncrypted Apps

Pushed 1 commit to main

  • e94236b README: landing first, banner after the pitch, four screenshots under Explore · 0xkinno
CodicilEncrypted Apps

Pushed 1 commit to main

  • 4ba41dd Rewrite the README: story, banner, product gallery, proof · 0xkinno
CodicilEncrypted Apps

Earned a Ship Weeks badge.

CodicilEncrypted Apps

Earned a Ship Weeks badge.

CodicilEncrypted Apps

Earned a Ship Weeks badge.

CodicilEncrypted Apps

Earned a Ship Weeks badge.

CodicilEncrypted Apps

New project.

Comments and questions

  • No comments yet.