Skip to content
QORECHAIN
Register

Post-Quantum dApp

Kannuki

The QoreChain wallet a stolen seed phrase can't empty: a post-quantum second key behind your Face ID.

Share on X

About

The most common way people lose a crypto wallet is a phished seed phrase: a fake "sync" page, a support DM, a poisoned download. The person types their 12 words, and the wallet is emptied. QoreChain asks every transaction for two signatures, a classical one and a post-quantum ML-DSA-87 one. But the chain's own wallet derives that second key from the same 12 words, so a phished phrase still gets both. Kannuki keeps the second key out of the words. It is made from 32 random bytes on your device, sealed behind your passkey (Face ID, Touch ID, Windows Hello or your phone), backed up by a separate code on paper, and registered on chain as the account's first transaction. From then on QoreChain itself refuses anything signed with the 12 words alone (pqc 21, at CheckTx: no block, no fee). Try it at kannuki.xyz/rob-me: a protected wallet whose 12 words are printed on the page. Your browser signs real attacks with those words (send everything, change its lock, open an EVM window) and the chain refuses every one. Around that sits a complete everyday wallet: - Send (contacts, @handles, scan, IBC), receive with a QR or a request link, readable reviews and receipts with the chain's proof. - Swap on QoreChain's AMM (best route, two hops in one transaction, slippage, impact guard) and scan to pay, including paying a request in a token you don't hold with QOR. - Earn: staking with validators, staking-tier locks (+1.5/3/5%), and a savings vault whose every withdrawal is checked on chain by pqcVerify. - Security: test your protection with your own words, change lock (new second key for every account, resumable), reveal words, a daily allowance (small payments without Face ID, limits enforced by the chain), and phone approval (the second key lives on your phone; the laptop prepares, the phone approves). - Ask Kannuki: type or say "pay Mama 2 fUSD" in English, French, Turkish or Pidgin and the right screen opens filled in (Claude + an ElevenLabs voice agent). It never approves anything. It runs in the browser on a phone or a laptop, as an Android app (kannuki.xyz/docs/android), and as a Chrome extension (toolbar popup, side panel, full tab) built from the same screens: kannuki.xyz/docs/extension. Apps connect to the extension like any wallet: it shows up as installed in an app's own Connect list (EIP-6963), and an app can ask it to connect, sign in with both keys, pay, send, swap and stake in one approved transaction, and call contracts from ordinary EVM code. Contract calls go out on QoreChain's native lane signed by both keys, so no EVM window is ever opened. Each request opens the extension's own window naming the site. Live example: kannuki.xyz/connect. Live on QoreChain testnet (qorechain-diana) at kannuki.xyz, with send, receive and stake on mainnet. Docs: kannuki.xyz/docs (and kannuki.xyz/llms-full.txt for AI-assisted review).

How it's made

One Next.js 16 app (apps/web), a Chrome MV3 extension built with WXT that imports the app's own screens (apps/extension: popup, side panel, full tab; pinned ID; passkeys under kannuki.xyz through one host permission), and Foundry contracts (contracts/, scaffolded with create-qorechain-dapp 0.14.0). Keys never leave the browser. The extension is also a wallet apps can connect to: a MAIN-world content script gives pages window.kannuki, a native signAndBroadcast in the shape QoreChain's own wallet uses, and an EIP-1193 provider announced through EIP-6963; the background worker takes the asking site's address from Chrome's sender and opens an approval window that decodes every message itself. An EVM app's eth_sendTransaction is sent as MsgCrossVMCall on the native lane (both keys; msg.sender is the account's own 0x), so no EVM window is ever opened; a site may ask only for a short list of exact message types (send, IBC, swap, stake, lock, convert, a plain contract call); calls that carry QOR, deploys, and anything about keys, EVM delegation or windows, allowance keys, authz or reward addresses are refused before the person is asked. Key two: @qorechain/sdk's unifiedAccountFromSeed(seed, { recoveryCode }) with a recovery code made from 32 random bytes (generatePqcRecoveryCode), independent of the 12 words. The secrets are sealed with the passkey's PRF output (HKDF to AES-GCM, IndexedDB); browsers without PRF get a non-extractable browser key. Registration is MsgRegisterPQCKeyV2 with proof of possession, classical-signed, as the account's first transaction; the chain's record is read first so we never overwrite another key. Every other transaction is hybrid-signed by EthNativeSigner with fixed per-message fees and a pinned sign-bytes version. Network features used: hybrid ML-DSA-87 transactions; PQC key registration with proof of possession; MsgRotatePQCKey (change lock: both keys sign rotationSignBytes, resumable across accounts); an EVM window scoped to the vault factory, one transaction, to create a vault; Solidity pqcVerify and pqcKeyStatus inside SavingsVault (every withdraw, cancel and limit change carries the owner's ML-DSA-87 signature, bound to chain id, contract, action, arguments, nonce and deadline); MsgCrossVMCall for vault withdrawals with no window; the native AMM (best of direct and two-hop routes in one transaction, exact-out swap plus send for scan-to-pay); staking and staking tiers (delegate plus lockDelegation in one approval); abstract accounts for the daily allowance (an ed25519 key with a uqor spending rule, MsgExecuteCosmos through our relayer, execution failures reported as refusals); MsgConvertERC20; IBC MsgTransfer; @qorechain/handles. Phone approval splits the hybrid signature across devices: the laptop builds the transaction body without the PQC extension (B0) and authInfo with the SDK's encoder, the phone decodes B0 itself, shows what it does, and signs hybridSignBytes(version, chainId, B0, authInfo) with key two; the laptop attaches the extension and signs classically. We verified this against the chain's simulate. The pairing link carries an AES-256 key in its #fragment, so our relay only sees ciphertext. AI: Ask Kannuki uses Claude Haiku 5.5 with structured output to turn a typed request into one intent; an ElevenLabs agent (Claude Haiku 5.5 as its model) has client tools that open the same screens during a live call. Balances it speaks come from the chain. AI use, including how the project was built, is in AI_USAGE.md. Audit: QCAI audit of the vault in two stages. Stage 1 scored 85/100; every finding is answered in docs/AUDIT.md with a fix or a reasoned verdict and a named regression test (40 Foundry tests in all, run in CI). Stage 2 on the fixed contract (2 Dec) also scored 85/100, re-raising the same five patterns, each answered in docs/audit/stage2-2026-12-02.md. Hard parts: keeping the second key independent of the seed while one paper code still restores every account (the recovery derivation binds each account's address); registering the second key the moment funds land, before anyone holding the words could; and the two-device signature split.

Timeline

KannukiPost-Quantum dApp

Pushed 10 commits to main

  • 66ac3a2 The demo's cover in the README is its own picture: three tries with the seed phrase, each refused · Blockchain-Oracle
  • c9c0323 /demo: the outside links stay on one line on phones · Blockchain-Oracle
  • 916460e /demo: both videos live (fixes CI's format error), short blurbs, the dare's line and button read its end from the database, player sized to the screen, site buttons first · Blockchain-Oracle
  • 59973d1 The demo is on YouTube: it opens /demo as the first tab, and the README and submission notes link it · Blockchain-Oracle
  • 5c66dac /demo plays our own videos in tabs: the $100 mainnet dare (YouTube) now, the judges' demo once its link is up; the AI film is gone. README links the dare · Blockchain-Oracle

and 5 more commits

KannukiPost-Quantum dApp

Earned a Ship Weeks badge.

KannukiPost-Quantum dApp

Newly verified on chain: AMM pools, Smart accounts and spending rules, Staking tiers, Test tokens fUSD, fETH, fBTC

KannukiPost-Quantum dApp

Pushed 34 commits to main

  • b4048f6 Backup code check in plain words: the last 4 characters after the last dash, the last two groups also accepted, a clear yes or no; the code wraps only between groups · Blockchain-Oracle
  • f32a100 Stage-1 audit record as a PDF beside stage 2's; the demo page's chapters point at today's pages · Blockchain-Oracle
  • 1406ffb The judge path and the README follow the new rob-me page · Blockchain-Oracle
  • 15630bd Rob-me is just the dare: the clock, the money, 0 got through and the 12 words; no buttons to try · Blockchain-Oracle
  • b61a5dd Rob-me's share card names the site (og:site_name) · Blockchain-Oracle

and 29 more commits

KannukiPost-Quantum dApp

Earned a Ship Weeks badge.

KannukiPost-Quantum dApp

Earned a Ship Weeks badge.

KannukiPost-Quantum dApp

Pushed 18 commits to main

  • f485685 Design review, round 1: all high and medium findings · Blockchain-Oracle
  • 420b301 Docs screenshots retaken (new first screen, tracker, staircase, dial); a larger phone and browser showcase on the landing; an Android app card in the feature row; Android captures of the new first scr · Blockchain-Oracle
  • 15fd6c3 Code block: the Copy button as its own component · Blockchain-Oracle
  • a7fe059 Code blocks done properly: syntax colours in both themes, a file name with TypeScript's mark, line numbers and a labelled Copy button, on the connect page's five requests and Add it to your app · Blockchain-Oracle
  • 7b7e4ac Banner, cover and link preview retaken: Web, Android app and Chrome extension chips, the live approval window · Blockchain-Oracle(not counted: no real change)

and 13 more commits

KannukiPost-Quantum dApp

Pushed 4 commits to main

  • d46fac3 Captures, banner and cover refreshed from the current build; Security says the same as Home for an empty wallet; Home's hero stacks between 1024 and 1280; the starter-funds claim made exact · Blockchain-Oracle
  • a669427 Demo video re-recorded in the new look (laptop and phone cuts), new posters and README demo cover · Blockchain-Oracle
  • 3e67003 Fix: the phone header crashed on the site in Chrome (web pages have a chrome object without the extension's APIs); the extension helpers now check they are in the extension first. Demo page in the new · Blockchain-Oracle
  • 0284c04 Codex review: the side-panel button keeps its click and carries the open flow; moving to a full tab keeps the flow too; Home and Security tell apart a lock still being read, no lock, this device's loc · Blockchain-Oracle
KannukiPost-Quantum dApp

Pushed 63 commits to main

  • c89be2b Design review, round 1: less text and our own headings on the landing; Security opens on the two keys beside its list; Earn in two columns with the lock ladder; Home no longer repeats itself; a real s · Blockchain-Oracle
  • 929ef1c Extension install video (40 s, narrated, real Chrome frames) on the install page · Blockchain-Oracle
  • e2b8af5 README, banner, cover and diagrams in the new look; the extension in the README's reference, code map and limits; submission texts name the extension; captures refreshed · Blockchain-Oracle
  • be52aee Try to rob me in the new look: the wallet and its words on one card, the attacks and the wall beside it; page glows fade out instead of ending at an edge · Blockchain-Oracle
  • 873a48f Browser extension (Chrome, MV3): the same wallet in a toolbar popup, the side panel and a full tab, with its ID pinned and passkeys under kannuki.xyz; a docs front page, diagrams and real captures in · Blockchain-Oracle

and 58 more commits

KannukiPost-Quantum dApp

New project.

Comments and questions

  • No comments yet.