Skip to content
QORECHAIN
Register

Encrypted Apps

Sealwork

Post-quantum escrow for digital work: getting paid is what unlocks it.

Share on X

About

Freelancing has a trust problem that escrow alone doesn't fix. If the client gets the files first, they can walk away without paying. If the freelancer gets paid first, they can deliver rubbish. And anything put on a public chain today can be harvested now and decrypted once quantum computers arrive. Sealwork makes payment and delivery one atomic step. The freelancer's browser encrypts the work (AES-256-GCM) under a key split in two: - K1 is sealed with ML-KEM-1024 to the client, the arbiter and the freelancer. - K2 is only committed to on chain. How a job works: 1. Post and hire. The client funds the escrow and posts to the job board (or hires directly), picking an arbiter from the on-chain registry. AI Brief Autopilot can draft the brief and milestones; the brief is checked against the terms hash locked in the contract. 2. Apply. Freelancers apply with a pitch and portfolio images, signing the brief and arbiter with ML-DSA-87; the contract verifies it. The client assigns one. 3. Deliver. The file (up to 10 MB) is sealed in the browser and arrives with a watermarked, signed preview: sharp image samples or the first pages of a PDF, each hash-bound to the freelancer's ML-DSA-87 receipt. 4. Review before paying. The client zooms through the signed pages, can ask the AI to check them against the brief, and sees that the file stays locked. Then: Accept, Ask for changes, or Dispute. 5. Pay = unlock. The freelancer is paid only by revealing K2, in the same transaction that lets the client open the work, which is checked against the signed preview. Silence past the review window counts as acceptance. 6. Disputes. The freelancer seals K2 to the arbiter, who opens the work and signs a split with ML-DSA-87; the contract verifies it. If the arbiter never rules, the client gets a full refund and the work stays sealed. 7. Rate. The client rates the freelancer with an ML-DSA-87-signed review, accepted only from the client of a paid escrow, so it can't be faked or forged after Q-Day. An optional private note is sealed with ML-KEM-1024 so only the freelancer can read it. The ciphertext sits in the public event log, exactly where a quantum attacker would harvest it, and stays closed. A live Q-Day page assumes secp256k1 is broken and attacks the deployed contract (key swap, forged delivery, forged ruling, replayed signature, harvested file); every attack is refused. Escrow is held in QOR or fUSD.

How it's made

Contract: a Solidity marketplace escrow on the QoreChain EVM lane (job board, ML-DSA-87-signed applications, arbiter registry with fees, review/changes/dispute, ruling deadline with refundUnruled). Every promise (key binding, application, delivery receipt, ruling) is verified with the pqcVerify precompile (0x0a01) against the key from pqcKeyStatus (0x0a02). Encryption: QoreSeal (ML-KEM-1024 + X25519) for K1, for K2 sealed to the arbiter, and for private feedback notes; AES-256-GCM for the work, all in the browser. Recipient keys are published in the QoreChain KEM registry and bound on chain by an ML-DSA-87 signature. Signatures: QoreSign verifies every ML-DSA-87 signature in the browser before it is sent, against the chain's key for the signer. The ratings API verifies reviews the same way server-side, and every viewer's browser re-verifies them. Accounts: registered with proof of possession; EVM authorisation windows scoped to the contract. Wallets: QoreX (signArbitrary + EIP-1193, including Ethereum coin-60 accounts, persistent reconnect), demo personas and funded guest wallets built on @qorechain/sdk, with an extension-style approval popup. Large files: ciphertext over 90 KB goes to storage in 3.5 MB parts; the chain keeps a manifest whose keccak256 is covered by the signed receipt. Previews (images, PDF pages via pdf.js) are stored with their hashes inside the envelope. Data: reads come from block indexes the contract records, because the public RPC caps eth_getLogs at 10,000 blocks. AI (advisory only, public text only): Brief Autopilot, Preview check, Q-Day narrator, via a serverless function. Tests: 23 Foundry tests, crypto round-trip tests, a scripted end-to-end run on the testnet with every transaction linked, `npm run evidence` (re-checks every claim against the testnet, read-only), and GitHub Actions CI. Hard parts: QoreX never exposes its PQ keys, so Sealwork derives its own encryption keys from a deterministic wallet signature and binds them on chain; making pay-and-unlock atomic without a trusted party; keeping disputes fair without ever forcing the freelancer to reveal K2 for a partial payment.

Timeline

SealworkEncrypted Apps

Pushed 4 commits to main

  • 481dafa docs: Built on QoreChain badge and project page link · Gbangbolaoluwagbemiga
  • fd8a60c docs: demo video link, new cover · Gbangbolaoluwagbemiga
  • a42d666 demo: overlapping transitions (dissolve within a window, slide between windows), cut page-loading frames · Gbangbolaoluwagbemiga
  • 89fb8b1 demo: narrated by the author; 1.25x, faster click-heavy scenes, under 3 minutes · Gbangbolaoluwagbemiga
SealworkEncrypted Apps

Sealwork is feature-complete for judging Live on the QoreChain testnet: a post-quantum freelance marketplace where getting paid is what unlocks the work. • Job board with ML-DSA-87-signed applications, verified on chain • Work sealed in the browser with ML-KEM-1024; the client reviews sharp, signed, watermarked previews but can't open the file • Pay = unlock: the freelancer is paid only by revealing K2, in the same transaction that opens the work • Disputes with an on-chain arbiter registry and ML-DSA-87 rulings • New: post-quantum signed ratings, accepted only from clients of paid escrows, with a private note sealed so only the freelancer can read it • Live Q-Day page: classical keys assumed broken, every attack on the deployed contract refused Try it without a wallet as Ada, Tunde or Ngozi, or run `npm run evidence` to check every claim against the testnet yourself.

https://sealwork-pq.vercel.app𝕏 OluwagbemigaSealwork is feature-complete for judging Live on the @QoreChain testnet: a post-quantum freelance marketplace where getting paid is what unlocks the work. • Job board with ML-DSA-87-signed applications, verified on chain • Work sealed in the browser with ML-KEM-1024; the… pic.twitter.com/oRGV0EhagM
SealworkEncrypted Apps

Earned a Ship Weeks badge.

SealworkEncrypted Apps

Earned a Ship Weeks badge.

SealworkEncrypted Apps

Earned a Ship Weeks badge.

SealworkEncrypted Apps

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

SealworkEncrypted Apps

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

SealworkEncrypted Apps

Pushed 49 commits to main

  • 7e8f8f2 demo: drop the closing card, sign off after the Q-Day results; under 3 minutes · Gbangbolaoluwagbemiga
  • b45116d demo: per-scene timing fixes, wider pulse matching · Gbangbolaoluwagbemiga
  • d1ff421 feat: private feedback in ratings, sealed with ML-KEM-1024 to the freelancer; README covers ratings, review flow, previews, app features; demo at 1.2x · Gbangbolaoluwagbemiga
  • edb85cc demo: signed rating scene, 1.15x export, sync tolerant of a dropped pulse · Gbangbolaoluwagbemiga
  • 7fdd40e feat: post-quantum signed ratings (one per paid job, verified server-side and in every browser), Completed tags, collapsible milestones, step-by-step delivery progress; fix: QoreX reconnect no longer · Gbangbolaoluwagbemiga

and 44 more commits

SealworkEncrypted Apps

Newly verified on chain: Hybrid ML-DSA-87 transactions, PQC key registration with proof of possession, Test tokens fUSD, fETH, fBTC

SealworkEncrypted Apps

New project.

Comments and questions

  • No comments yet.