Skip to content
QORECHAIN
Register

Quantum Pass

Maskline

Hide the client. Ask the AI. Prove what you asked.

Share on X

About

Maskline lets you ask AI about private information without giving it the private details it finds and hides. Take an accountant with a client's bank statement. They want help from AI, but the client's name shouldn't go with it. Hide: Maskline replaces personal details with placeholders such as [PERSON_1] in the browser. You see the masked text before it's sent, and you can hide anything it missed. Ask: you approve one payment in QoreX. The server checks it on QoreChain testnet before it asks the AI. Your browser then puts the real values back into the answer. Prove: that payment is also your receipt. It has a secp256k1 signature and an ML-DSA-87 signature, and its memo contains a SHA-256 hash of the exact masked conversation. Download the transcript, and anyone with that file can check it against the receipt without a wallet. If one digit of the masked messages you sent changes, it no longer matches. Maskline reads PDF, DOCX, XLSX, CSV, TXT and MD files in the browser and never uploads the original. The chain stores a hash of the masked conversation, not the conversation itself. Masking can miss things: in our test, 6 of 120 made-up names stayed visible. Please use made-up data only, and check the preview before you pay. The receipt covers the messages sent to the AI. It doesn't cover the final answer, or show that the answer is right or that every private detail was hidden. Maskline is a testnet demo, and test QOR has no value.

How it's made

Maskline started from create-qorechain-dapp. The web app uses the fullstack-web template (React, TypeScript and Vite, with Vercel functions), and the contract uses the hardhat template. Masking: @newmean-ai/pii runs its model in the browser. We added separate checks for known formats such as emails, phone numbers, cards, PANs and Aadhaar numbers. The table of real values stays in the page's memory. The server also checks for known formats before it asks the AI. Payment and receipt: the app uses @qorechain/qorex-types to connect to QoreX. Each question is a native MsgSend of 0.1 test QOR with a hybrid signature: secp256k1 (64 bytes) and ML-DSA-87 (4,627 bytes). The memo contains a SHA-256 hash of the masked conversation. Before asking the AI, the server reads the transaction from QoreChain. It checks that it succeeded, that pqc_hybrid_verify says "verified", that the right address was paid enough, that the memo matches this exact conversation, and that it's no more than 15 minutes old. If the AI fails, you can retry with the same payment during that time. Policy contract: MaskPolicy.sol records the masking library, model size, labels and the model file's SHA-256 hash. If the page finds that its model doesn't match, it won't send the question. If it can't read the policy, sending isn't blocked and the receipt uses policy 0. The contract scripts use @qorechain/sdk and @qorechain/evm to open a limited EVM window before deployment. What is and isn't post-quantum: the payment receipts are hybrid-signed. Deploying the contract and adding a policy use classical secp256k1 EVM transactions. Chat messages use ordinary HTTPS. AI answers: all AI requests go through OpenRouter. For chats without a file, TypeSafe's Jev reads the masked text and returns the type of task and how difficult it is. Maskline uses that to choose up to three free models to try in order. Chats with a file skip Jev. Our model ratings are our own choices, not benchmark results. What was hard: the masking model sometimes hid amounts in bank statements, so the AI couldn't add them up. It also missed some private numbers. We added narrow rules that keep amounts visible in certain table and statement layouts, and gave checks for known private formats priority over them. If something is unclear, it stays hidden. We also had to link each payment to one exact conversation and let people retry if the AI fails, without paying again. That's why the memo contains the hash, and the same payment can be used again for that question for 15 minutes. Testing: on 30 November 2026, all 456 web tests, the web type check and all 6 contract tests passed. The README explains the limits and includes a command anyone can run to check a real receipt.

Timeline

MasklineQuantum Pass

Pushed 55 commits to main

  • 8ace623 docs: link the demo video from the README · Mramaran
  • 17270dc docs: README with setup, limits, credits and an architecture diagram · Mramaran
  • 4adf9bb docs: shorten the design notes · Mramaran
  • 4dfb13a feat: terms, privacy policy and a hackathon disclaimer on every page · Mramaran
  • deb7d60 feat: a real start-screen example with a Try this button · Mramaran

and 50 more commits

MasklineQuantum Pass

Earned a Ship Weeks badge.

MasklineQuantum Pass

New project.

Comments and questions

  • No comments yet.