Skip to content
QORECHAIN
Register

Post-Quantum dApp

Qord

Post-Quantum Agreement Coordination

Share on X

About

Qord is a multi-party agreement coordination workspace for the post-quantum era. Business agreements don't end at signature: approvals happen at different times, terms change, and disputes arise. Qord records the entire lifecycle, including creation, per-participant approvals, disputes, amendments, and completion, on QoreChain. Every authorization is an ML-DSA-87 (FIPS 204) signature verified by the chain against the participant's registered post-quantum key and bound to one exact agreement version. Commercial terms are hashed into SHAKE-256 commitments. Amendments create new versions with new commitments, requiring fresh approvals from all participants. Qord never holds funds, verifies physical delivery, or stores confidential documents. It makes who authorized which version cryptographically provable.

How it's made

What we set out to build A coordination layer for multi-party commercial agreements whose defining property is version-bound authorization: every signature binds the agreement key, version number, and that version's commitment. Approval of one version can never authorize another. Architecture Two Solidity contracts run on QoreChain Diana (EVM chain ID 9800). - CoordinationRegistry holds the agreement lifecycle state machine: Draft → PendingApprovals → Active → Disputed → Completed. - PqcVerifier wraps the pqcVerify (0x0A01) and pqcKeyStatus (0x0A02) precompiles. Participants register ML-DSA-87 keys on-chain with proof of possession. Approvals, dispute resolutions, and completion confirmations are individual ML-DSA-87 signatures over domain-separated, version-bound messages. The contract reconstructs and verifies these messages through the precompile. Commercial terms live off-chain as canonical JSON records, hashed into SHAKE-256 commitments. The UI displays commercial values only when the record verifies against the on-chain commitment. The application uses both QoreChain network lanes: - EVM lane: Contract calls and agreement lifecycle operations. - Native lane: Hybrid-signed transactions using secp256k1 and ML-DSA-87, including EVM authorization window management scoped to the two contract addresses. Kits and SDKs - @qorechain/sdk: Unified account derivation. - @qorechain/pqc: ML-DSA-87 signing. - @qorechain/qoresign: Message-signing v1 verification against on-chain keys, ADR-36, and address derivation. - @qorechain/qorex-types and @qorechain/qorex-wallet-mock: Wallet integration and testing. - Solidity and Hardhat: Smart contracts and contract testing. - Next.js, React, and TypeScript: Application workspace. Wallet integration QoreX connection is implemented through native enable and getKey methods, alongside EIP-1193 eth_requestAccounts and account-change handling. Wallet connection is deliberately separated from participant authorization. A connected address can authorize only after matching a registered participant with a verified on-chain key. The wallet-signing flow is implemented and proven: 1. Request the exact signing payload through sign-request. 2. Sign using signArbitrary. 3. Verify the signature server-side against the registered on-chain key. 4. Broadcast the EVM transaction through the wallet using eth_sendTransaction. 5. Verify the transaction receipt and read the updated contract state. We verified on-chain that QoreSign-format signatures are accepted by the deployed verifier. However, current QoreX builds refuse signArbitrary. The UI capability-gates this functionality and clearly discloses the limitation. The live demo therefore uses a disclosed demo mode with server-held testnet keys. What was hard 1. Making wallet signatures and contract verification byte-identical. We adopted QoreSign's official qorechain-msg-v1 framing inside the contract so that a wallet implementing message-signing v1 produces verifiable signatures. This was proven with an on-chain verifyWithKey check. 2. Optimizing slow RPC interactions. Diana RPC serializes requests, with roughly 1.2 seconds per round trip. We batched concurrent JSON-RPC calls and cached read views with invalidation on writes, reducing UI load times from around 15 seconds to around 1 second. 3. Handling historical event availability. The node prunes old blocks. Instead of presenting every event as a live chain read, the activity feed identifies each event's provenance: live log, recorded at execution, or indexed run record. 4. Evaluating post-quantum encryption honestly. QoreSeal (ML-KEM-1024) was evaluated in a proof of concept covering key registration, sealing, and negative controls. It is not integrated into the evidence workflow, and the product explicitly communicates this limitation rather than implying encrypted document storage.

Timeline

QordPost-Quantum dApp

Pushed 8 commits to main

  • b411aff Delete LICENCE · therealhamad(not counted: no real change)
  • eef3fdd Merge pull request #3 from therealhamad/phase2-agreement-lifecycle · therealhamad
  • 6d5b941 docs: comprehensive README — product, architecture, security model, honest limitations; add MIT licence (required for submission) · therealhamad
  • e671165 Merge pull request #2 from therealhamad/phase2-agreement-lifecycle · therealhamad
  • a321b08 chore(demo): persisted records for demo agreements #11-#14 · therealhamad

and 3 more commits

QordPost-Quantum dApp

Pushed 12 commits to main

  • c0aceb7 Add MIT License to the project · therealhamad
  • 737135a Merge pull request #1 from therealhamad/phase2-agreement-lifecycle · therealhamad
  • 4577ebb polish(phase-6c): hero screenshot crop aligned to section boundary · therealhamad
  • 358cfa0 feat(phase-6b): QoreX wallet integration — wallet-signed agreement authorization · therealhamad
  • 651337e feat(phase-6a): Qord public landing page + workspace migration to /app · therealhamad

and 7 more commits

QordPost-Quantum dApp

New project.

Comments and questions

  • No comments yet.