Qrypt

Post-quantum Ethereum wallet: Falcon-512 smart account that pays gas in USDC, no ETH needed

Qrypt

Created At

ETHGlobal Mumbai

Project Description

Every Ethereum account today is secured by ECDSA, which a quantum computer can break. Qrypt is a wallet whose account has no ECDSA key at all: it's a smart account that only accepts Falcon-512 signatures, checked on-chain.

It runs on EIP-8141 frame transactions. One transaction verifies the Falcon signature, lets a paymaster check it'll get paid, repays the gas in USDC, then does whatever you asked. So a brand-new account holding only USDC can send, swap, and use dapps with zero ETH, and there's no bundler, relayer or paymaster server.

The catch: Falcon verification costs ~700k gas and the canonical mempool caps validation at 100k, so these transactions can't get in anywhere today. We implemented the ERC-8421 draft's per-entity budget (BUDGET-010) in the alt-mempool sidecar so staked accounts get up to 1M, sent it upstream as a PR, and it's what lands our transactions on the public devnet.

On top of that, it's a full wallet:

  • send/receive any token;
  • swaps on Uniswap v4;
  • a Chrome extension with dapp connect (EIP-6963) and Sign-In verified onchain via ERC-1271;
  • an installable phone app with Face ID unlock and Face ID recovery, QR pay links and push notifications;
  • key rotation and encrypted backups. New accounts are free, so World ID keeps it to one sponsored account per human.

How it's Made

Contracts (Solidity, Foundry):

  • QPayAccount verifies Falcon-512 inside its VERIFY frame using frame opcodes via @forshtat/hegota-support, with ZKNOX's ETHFALCON verifier behind our own adapter.
  • A USDC paymaster that introspects the next frame to ensure repayment.

Client:

  • Browser-based signing with @noble/post-quantum.
  • Custom TypeScript frame-transaction builder for the devnet's wire format.

Mempool:

  • Patched the ERC-8421 workshop sidecar with per-entity validation budgets (1M gas for staked entities and 100k for unstaked).
  • Runs alongside the public devnet.

App:

  • React, Vite, and shadcn/ui.
  • One codebase powers the website, mobile PWA, and MV3 browser extension.
  • Keys are stored in an encrypted vault, unlocked using a password or a passkey's WebAuthn PRF output (Face ID). PRF is symmetric, so it doesn't introduce a quantum-breakable link.
  • Recovery blobs and push subscriptions are stored in private Vercel Blob.
  • Every write is authorized by the account's own Falcon signature through ERC-1271.

Uniswap:

  • Self-deployed Uniswap v4 on the devnet using official npm artifacts.
  • Swaps execute approve → Permit2 (one-block allowance) → Universal Router as a single atomic EIP-8141 batch. Failed swaps also revert the approvals.

Hacky bits:

  • The devnet's signature hash differs from the current EIP specification.
  • Universal Router 2.1.0's struct layout differs from the published periphery. We identified this using eth_call.
  • Built ethrex natively because its Docker image hangs under Rosetta.

Testing:

  • Playwright suites cover the complete application against the live devnet, including a virtual WebAuthn authenticator and the World ID Simulator.
background image mobile

Join the mailing list

Get the latest news and updates

Qrypt | ETHGlobal