Skip to content
QORECHAIN
Register

Quantum Pass

Future Post

A private welcome letter for a new colleague's first day, sealed in the browser with post-quantum ML-KEM-1024.

Share on X

About

Day one should feel personal. Future Post lets a team lead, buddy or friend prepare a welcome letter for a new colleague's first day, sealed so that only the intended colleague can open it. Who it is for: teams that want a warm, private first-day welcome, and anyone who wants to leave words for a person on a day they choose. What you can try right now (no wallet, no sign-up): open the live demo and press "Run the private welcome proof". In your browser, Future Post creates fresh keys, seals a first-day welcome with the official QoreSeal kit (ML-KEM-1024), then tries to open it twice. The intended colleague's key opens it (OPENED). An outsider's key is refused (REFUSED). No private key and no letter text is sent anywhere or shown on screen. A public QoreChain record without publishing the letter: a QoreX hybrid-signed transaction (secp256k1 + ML-DSA-87) on qorechain-diana committed the reviewed public-key fingerprint of the proof. It succeeded (code 0, height 10719012) and anyone can read it back from the testnet REST API: https://api-testnet.qore.host/cosmos/tx/v1beta1/txs/A6633E0F8D41F77FA8414EF62C2EE3CF1943686781E60EDC36D0FF6FC90A0E27 . The memo carries only a SHA-256 fingerprint of the public key, never the letter. The letter composer shows the full experience: choose the recipient's qor1 address, an opening day and the message, and see the "Your letter is waiting" countdown. The message is encrypted in the browser with AES-256-GCM, and the key is split into two shares so a sender-controlled release on the chosen day sits on top of recipient-only encryption. This composer is a product prototype running locally. Everything is open source under MIT. Created by inunanba. Built with AI assistance, documented in AI_USAGE.md in the repository. Links: repository https://github.com/inunanba/future-post , live demo https://inunanba.github.io/future-post/ The release contract, FuturePostRelease, is deployed on the QoreChain Diana testnet (EVM chain 9800) at 0x0E5e1b9d41bFCe8a19f5dA4E55Dd6459F69E2b50 (deploy transaction 0x97090531c63c695af28ff1791e0cdc01800ef11439238f56aa32efb7a293281d, block 10780460), so anyone can read its code and the deployment from the explorer or the public EVM RPC. A second contract, FuturePostReleaseV2 (0x475b2c0BCaE1f1Fd029A514224A86d600Fe97287, deploy transaction 0x4d3eac621bbd4efecd52c9c9b1e78c5eaeecdd0a7c932cf5b9e7028aaa7c1c2e, block 10782517), accepts a letter only from a sender whose account has a registered ML-DSA-87 key with proof of possession, checked on chain through the pqcKeyStatus precompile (0x…0a02). On the Diana testnet we ran a full demo letter through FuturePostReleaseV2: it was registered at block 10782943 (transaction 0xe7d5a114fe884bb605bd8b89fe5627d00a9e12f35b6a148adae53ceec4fb2469) and released at block 10783071 (transaction 0x575d7e8a35aa97218ade2c3b0b670203f62fd30c3a44a72571fee8fe9490e09c) just after its opening time, after which the recipient's QoreSeal key opened it. The same single-purpose testnet account also made a native AMM swap on pool 2 (MsgSwapExactIn, transaction 93AC416B5E033C9920BFDA8C50D98F934A0525BD59D00BDE9869D85763019A6A, height 10783265), signed with the hybrid ML-DSA-87 scheme.

How it's made

Architecture - Static browser app (HTML + JavaScript, bundled with esbuild) hosted on GitHub Pages. There is no application server: letter text and keys stay in the page. - Proof screen: official @qorechain/qoreseal 0.1.0 runs in the browser. It creates ephemeral recipient and outsider keys, seals a welcome message (ML-KEM-1024, hybrid mode, no silent downgrade), opens it with the intended key and tries the outsider key. The screen shows only OPENED / REFUSED and the envelope SHA-256. - Composer: random AES-256-GCM content key; the key is split as shareA XOR shareB. Share A is the part sealed to the recipient with QoreSeal; share B stays with the sender for a release on the chosen day. Chain id, letter id, opening time and recipient are authenticated as envelope context, so changing any of them makes opening fail. - Release contract: FuturePostRelease.sol (Solidity 0.8.30) records the sender, recipient binding, opening time, ciphertext hash and share-B commitment, and rejects an early or wrong-sender release. It is compiled and tested locally on an in-memory EVM. It is also deployed on the Diana testnet: we registered a post-quantum (ML-DSA-87) key for a single-purpose testnet account with the official qorechaind tool, opened Diana's EVM authorisation window, and sent the deployment with viem in one transaction (block 10780460). - Public handoff: a validated JSON bundle (ciphertext, IV, recipient-only envelope, context, digest) that never contains plaintext, keys or shares. - Wallet: QoreX signs. The app builds an exact, guarded plan (one MsgSend, chain qorechain-diana, fixed memo) and checks it before asking the wallet; the app never reads a seed, private key or password. Kits and network features used - @qorechain/qoreseal 0.1.0: ML-KEM-1024 seal / open, recipient envelopes, envelope context binding. - create-qorechain-dapp 0.14.0 (evm-solidity template, testnet) generated the starter workspace; its Apache-2.0 licence is kept in quantum-pass/ and the upstream template is credited in the README. - QoreX wallet on QoreChain testnet (qorechain-diana): hybrid ML-DSA-87 transactions. Two of our transactions were read back from the chain with the PQCHybridSignature extension and hybrid verification events: the fingerprint commitment (A6633E0F...A0E27, height 10719012) and a 10 testQOR transfer between our two testnet accounts (9089AF34...5A04, height 10706200). - Tooling used for local tests only: viem, Ganache, solc, esbuild. 38 automated tests cover early-release refusal, boundary opening, context binding, address validation and the QoreSeal intended-recipient / outsider behaviour. The repository includes and credits the create-qorechain-dapp 0.14.0 scaffold. The implemented browser proof directly uses @qorechain/qoreseal 0.1.0; @qorechain/qorex-types 0.1.0 is pinned as a declared dependency and is not claimed as an implemented integration. What was hard - A QoreSeal envelope sealed to a recipient is immediately readable by that recipient's key, so a plain countdown is not a real date lock. We designed a split-key sender-release protocol (share A to the recipient, share B released by the sender after the date) and tested its boundary behaviour. - Turning cryptography into something a non-crypto person understands: the first screen speaks about a welcome for a new colleague, and the technical proof sits right below it. - Trusting the chain, not the wallet popup: every transaction was verified independently through the REST and RPC endpoints (hash, height, code, exact memo, hybrid signature events). - Keeping the public repository clean: an automated public-repo audit checks required files, links and secret patterns, and a gitleaks scan of the full history found nothing. FuturePostReleaseV2 calls the pqcKeyStatus precompile with a read-only staticcall when a letter is registered and stops if the answer is missing or malformed; release keeps the original time and commitment checks. Tests run the unchanged production bytecode on a local EVM with test code placed at the precompile address, and a read-only script (npm run verify:diana-v2) re-checks the live deployment. The demo letter was encrypted with AES-256-GCM, its key was split into two shares, share A was sealed with QoreSeal to the ML-KEM-1024 key registered on chain, and the contract stored only hashes and the share B commitment until the sender released share B after the opening time; a read-only script (npm run verify:diana-letter) re-checks the registration, the release and the commitment on the live chain.

Timeline

Future PostQuantum Pass

Pushed 17 commits to main

  • 518921b Rubric pass: clearer README opening and quickstart, live-evidence summary, current wording across docs, AI usage detail, PQC design notes, live-letter card on the page · inunanba
  • bca1975 Record native AMM swap on pool 2 (MsgSwapExactIn) in activity evidence and README · inunanba
  • a45feaf Add live demo letter on Diana: register, wait for opening time, release on FuturePostReleaseV2 · inunanba
  • 1f03237 Add FuturePostReleaseV2: letter registration requires a proven ML-DSA-87 key via pqcKeyStatus, deployed on Diana · inunanba
  • 2bf5e46 Refresh public wording to current Diana deployment and KEM registry evidence · inunanba

and 12 more commits

Future PostQuantum Pass

Earned a Ship Weeks badge.

Future PostQuantum Pass

Newly verified on chain: AMM pools

Future PostQuantum Pass

Earned a Ship Weeks badge.

Future PostQuantum Pass

Earned a Ship Weeks badge.

Future PostQuantum Pass

Earned a Ship Weeks badge.

Future PostQuantum Pass

Newly verified on chain: EVM window (incl. scoped), QoreSeal and the encryption key registry

Future PostQuantum Pass

FuturePostRelease is now deployed on the QoreChain Diana testnet at 0x0E5e1b9d41bFCe8a19f5dA4E55Dd6459F69E2b50 (block 10780460), and the hybrid ML-DSA-87 transaction is verified. The demo video is added: https://youtu.be/qNipiqdsowY

Comments and questions

  • No comments yet.