Skip to content
QORECHAIN
Register

Encrypted Apps

Hush

Sealed limit orders. One public clearing price.

Share on X

About

In a public order book, other traders can see a bid before the market clears. Hush gives buyers and sellers a private bidding window on QoreChain Diana. Each bidder encrypts their limit order to their own registered key. During bidding, observers can see a commitment and an encrypted envelope. The bidder alone can recover the price and quantity. Once bidding closes, participants reveal their orders with post-quantum signatures. The contract chooses the price that matches the most lots, records each fill, and publishes a clearing receipt. Anyone can inspect the result on the Recent Trades page. This testnet release demonstrates price discovery in demo lots and takes no deposits.

How it's made

Hush uses a React and TypeScript frontend, a shared QoreSeal package, and a Solidity contract tested with Foundry. The browser looks up the bidder’s ML-KEM-1024 key on Diana, verifies their signed recipient card, and seals the order in hybrid mode with X25519. A random salt hides the order commitment. The opening key stays with the bidder. The reveal was the hardest part to get right. TypeScript and Solidity must agree on the exact bytes being signed. The reveal binds the chain ID, contract address, batch, order index and commitment. Solidity checks the bidder’s registered key and proof of possession with pqcKeyStatus, then verifies the ML-DSA-87 signature with pqcVerify. Separate bidding and reveal deadlines give every bidder time to open their order before clearing. Ties use the lowest eligible price, and orders at that price or better receive fills in submission order.

Timeline

HushEncrypted Apps

Pushed 12 commits to main

  • f604104 feat: add diana:check-invalid-reveal script to validate PQC reveal rejection · IbrahimIjai
  • 23a7efa feat: add diana:check-invalid-reveal script to validate PQC reveal rejection · IbrahimIjai
  • dc6559e feat: add qorescan script and update dependencies · IbrahimIjai
  • fe4fc54 feat: add AI usage documentation, update README, and include batch receipt JSON · IbrahimIjai
  • cdd9ebc feat: add Recent Trades page and update navigation links · IbrahimIjai

and 7 more commits

HushEncrypted Apps

Newly verified on chain: QoreScan

HushEncrypted Apps

Earned a Ship Weeks badge.

HushEncrypted Apps

Earned a Ship Weeks badge.

HushEncrypted Apps

New project.

Comments and questions

  • No comments yet.