Skip to content
QORECHAIN
Register

Cross-VM

Title Deed

Land buyers get the title in the same transaction they pay. Nobody can sell it twice.

Share on X

About

When land is sold, the money goes through a bank and the title through a registrar: two systems, two moments. In that gap a seller can take the money and sell the same plot again. 66% of civil cases in India's district courts are about land or property (DAKSH survey of 9,000 litigants, 2016). Title Deed is a land register where the money, the title and a public receipt move in one transaction, or nothing moves. Rome sold land the same way two thousand years ago: land and price changed hands in one act, before five witnesses (Gaius, Institutes 1.119). Title Deed keeps the one act and changes the seal. The seller signs the offer in plain words (plot, buyer, price, deadline) with a post-quantum ML-DSA-87 key, in QoreX's message-signing format. The buyer pays from an EVM window that can only reach Title Deed, once, for the price. One transaction checks the seller's signature, moves the title on the EVM lane, writes a receipt into qday-receipts on the Native lane and pays the seller. If any part fails, all of it is undone. A stolen classical key sells nothing: every change of title needs the owner's ML-DSA-87 signature, checked on chain. You can check it without a wallet. Open the site and press "Try to take the plot". Your browser makes a fresh ML-DSA-87 key and forges the owner's offer: QoreChain's pqcVerify says the signature is genuine, and the live contract still refuses it (BadPqcSignature). Replay buyer B's real payment and it is refused too (TitleAlreadyMoved). Then press "See the real sale" and click any transaction to check it on the testnet. On the diana testnet on 29 Nov, buyer A bought plot 1: the title, the payment and Native receipt #76 changed in the same transaction. Buyer B paid with a second offer for the same plot and was refused; B's 1 QOR never left. Two rollback drills, one failing on each lane, left both lanes unchanged. An attacker holding buyer A's classical key tried 7 ways to take the plot or the money and was refused 7 times. Limits: the plot and the deed are labelled samples on a testnet, one registrar key signs registrations, and the demo run signs with test keys held by the CLI. I'm a solo builder, a final-year student in India. I built Title Deed with an AI coding agent, and AI_USAGE.md says how.

How it's made

Why two VMs: the receipt goes into qday-receipts, the public receipt book on the Native lane (approved code 865, no admin), which Title Deed does not own. The registry can't quietly rewrite a sale afterwards, and the cross-VM call makes writing that receipt part of the sale itself. One Solidity contract, TitleDeed, built and tested with Foundry. 20 tests cover the double sale, forged and expired offers, an old offer after the title comes back, and both rollback directions. Cross-VM: register and buy call the bridge at 0x…0901 (executeCrossVMCall) with a record message for qday-receipts and keep the receipt id from the reply (contracts/src/TitleDeed.sol, _callNative). The EVM title and the Native receipt change together or not at all. Solidity PQC: _requirePq (contracts/src/TitleDeed.sol, lines 222 to 227) reads the signer's key with pqcKeyStatus, refuses keys that are not registered or not proven, then checks the ML-DSA-87 signature with pqcVerify. The project page can only mark these two as Declared, so here are the lines. The signed text names the registry, plot, sale number, buyer, price, deadline and deed hash, so an offer can't be reused on another plot, sale, buyer or contract. Scoped EVM windows: each buyer's window admits one transaction, to Title Deed only, for at most the price plus fee. Hybrid ML-DSA-87 transactions, and PQC key registration with proof of possession for every account: a classical key alone can't move QOR, open a window or replace the key. For the manual Cross-VM check: TitleDeed is 0x1687552822cd39607faf5781010ffb125d5728b0 (qor1z6r422pze5ukqla027qszrlmzfw4w29sjg5498). Plot 1 was registered in 0x8eb9c7b3ad19e099d4bfcc9dd35684118e75f092a9e920e5995f24ef42285d21 (block 10,964,751), Native receipt #75. The sale is 0x6b69a340aaafa232e611d37dea7d60c9a76934eb757ae8209dba438b006bb379 (block 10,964,764), receipt #76 in the same transaction. Buyer B's refused buy is 0x647e5266c7c46606af8817d2e1d076008d55557bff69876415f044f839fa8b14 (block 10,964,775); receipts stayed at 76. The drills are 0x9b1deb4dd9aa28a6890ec28d52378f21392ede91191dbeb8159338c842d140c6 (block 10,964,786) and 0x1a99e2d261ef9b3a6d07b32e71d4327f1c3ba415d237e9884071d030748d6cfa (block 10,964,788): both reverted, no receipt written. The README links each one to the site's own check. Threat model: an attacker who has stolen a buyer's classical key. Of the seven attacks, three reached the contract and reverted on chain; four were refused by the chain before reaching a block, and the README records each refusal. The site reads everything live from the public RPC and REST endpoints, with no server and no wallet. "Try to take the plot" makes an ML-DSA-87 key in the browser with @qorechain/pqc, signs the contract's own offer text, and simulates the purchase against the live contract. Kits: @qorechain/sdk 0.14 builds the hybrid-signed transactions, windows and key registrations and signs the offers; @qorechain/evm 0.14 prices and reads the windows; @qorechain/pqc runs the forge in the browser. Credit: the QoreChain workshop examples (Apache-2.0), workshops 2 and 3, for the pqcVerify pattern, the bridge call and qday-receipts.

Timeline

Title DeedCross-VM

Pushed 30 commits to main

  • 1a6b789 README: Built on QoreChain badge and project page link · Sanchay117
  • 31fa173 README: the project page lists five of the accounts · Sanchay117
  • 3a77cb2 Drop the unused QoreSign kit · Sanchay117
  • 63de489 Keep the submission drafts and the video source out of the repo · Sanchay117
  • 7a618b3 Keep the build notes out of the repo · Sanchay117

and 25 more commits

Comments and questions

  • No comments yet.