
Post-Quantum dApp
Umbra
Private fBTC pool where every sensitive action needs a post-quantum signature.
About
Umbra is a private fBTC pool on QoreChain. You deposit a fixed 1,000 sat of fBTC, and later withdraw it to any address using a zero-knowledge proof, with nothing on-chain linking the deposit to the withdrawal. Every sensitive action (withdrawing, earning yield, posting swap orders, admin changes) also requires a post-quantum ML-DSA-87 signature, so control of the funds doesn't depend on keys a quantum computer could break. It also supports optional ERC-4626 yield and a private fBTC ⇄ fETH atomic swap.
How it's made
How it's made Umbra is a Solidity privacy pool for fBTC on QoreChain, with a post-quantum authorization layer built on QoreChain's native features. Architecture Privacy: a deposit inserts Poseidon2(nullifier, secret) into a depth-10 Merkle tree. Withdrawals use a Noir circuit proved with Barretenberg (UltraHonk). The recipient is bound into the proof, so a mempool copy can't redirect funds. Post-quantum layer: the pqcVerify precompile requires an ML-DSA-87 signature on withdraw, yield, order posting and every admin action. Signatures cover the contract's own *Digest views, with every order parameter signed and admin calls using one-shot nonces. Swap and yield: an oracle-quoted fBTC ⇄ fETH hash-time-locked swap with slippage guards and refunds, plus optional ERC-4626 yield. Frontend: React, Vite and viem, covering PQ key registration, scoped EVM windows and QoreSeal (ML-KEM-1024) encrypted note backups on IPFS. Testing: the Foundry suite covers all flows. Network features used: pqcVerify and the PQ key registry precompiles, EVM authorization windows, the native-to-ERC-20 coin conversion, and QoreX wallet. What was hard Poseidon2 in plain Solidity costs about 980k gas per deposit. Keeping the Solidity hashes identical to the Noir circuit's. Each recipient needs its own registered ML-DSA-87 key, matched to the exact address. The membership proof itself isn't post-quantum. The PQ layer protects who is authorised.
Timeline
Newly verified on chain: QoreSeal and the encryption key registry, Test tokens fUSD, fETH, fBTC
done
Earned a Ship Weeks badge.
Earned a Ship Weeks badge.
Earned a Ship Weeks badge.
New project.
Comments and questions
- No comments yet.