Skip to content
QORECHAIN
Register

Post-Quantum dApp

Umbra

Private fBTC pool where every sensitive action needs a post-quantum signature.

Share on X

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

UmbraPost-Quantum dApp

Pushed 17 commits to master

  • ffa9d40 chore: updated · Imdavyking
  • df14f99 chore: added audit report · Imdavyking
  • 3c04898 chore: updated kem · Imdavyking
  • 91396d2 chore:updated · Imdavyking
  • ebe8f13 chore: updated solidity version in MOCks · Imdavyking

and 12 more commits

UmbraPost-Quantum dApp

Pushed 1 commit to master

  • 3e69f07 Merge pull request #2 from Imdavyking/main · Imdavyking(not counted: no real change)
UmbraPost-Quantum dApp

Newly verified on chain: QoreSeal and the encryption key registry, Test tokens fUSD, fETH, fBTC

UmbraPost-Quantum dApp

Pushed 1 commit to master

  • 591457b Merge pull request #1 from Imdavyking/main · Imdavyking
UmbraPost-Quantum dApp

done

UmbraPost-Quantum dApp

Earned a Ship Weeks badge.

UmbraPost-Quantum dApp

Earned a Ship Weeks badge.

UmbraPost-Quantum dApp

Earned a Ship Weeks badge.

UmbraPost-Quantum dApp

Pushed 1 commit to master

  • 086dcd2 chore: updated READMe · Imdavyking(not counted: no real change)
UmbraPost-Quantum dApp

New project.

Comments and questions

  • No comments yet.