BlindBook

Encrypted On-Chain Order Book , Front-Running Is Mathematically Impossible

About

## Wave 1 submission

Smart contract (BlindBook.sol) deployed on Arbitrum Sepolia at 0xD9d08922C95aB27D9fDbe7833DE2b68799c2c310 using Fhenix FHE library — FHE.asEuint64, FHE.lte, FHE.min, FHE.select, FHE.sub. 10/10 tests passing with mock FHE verification. React frontend with wagmi wallet connection, order submission (buy/sell), order book display, match and reveal flow. Full architecture documentation in README.md.

## Wave 2 submission

Wave 2 fixes the one thing that mattered: in wave 1, submitOrder took plaintext uint64 amount and price, so the values were fully visible in mempool calldata before the contract encrypted them. That's privacy theater — an encrypted order book whose orders are readable in the submitting tx does not prevent front-running.

Wave 2 switches submitOrder to take InEuint64 (ciphertext plus ZK proof). Encryption happens in the user's browser via cofhejs before the tx is signed; FHE.asEuint64(InEuint64) on-chain verifies the proof and imports as euint64. Plaintext never enters calldata.

Shipped:

Contract redeployed on Arbitrum Sepolia at 0x9f63726454c6571955b0c17300ace7f9fb5C3F36. Matching engine unchanged: FHE.lte for price check, FHE.min for fill, FHE.select and FHE.sub for conditional remaining amounts.

11/11 tests passing under the CoFHE hardhat mocks, including a new regression that asserts plaintext values do not appear anywhere in the encoded submitOrder calldata.

Frontend on React + wagmi + @cofhe/sdk/web with a per-step encryption progress UI (Init TFHE, Fetch Keys, Pack, Prove, Verify), a proper connection state machine with retry, and friendly handling of Arbitrum Sepolia base-fee races so raw RPC errors never reach the user.

Known gaps, stated up front: matching is still off-chain-driven (a caller proposes the pair); revealFill is currently cooperative rather than proof-backed; no token settlement yet; FHE gas cost is demo-viable but not production-volume. A CoFHE decrypt-oracle handshake for reveal and FHERC-20 settlement are wave 3.

Contract on Arbiscan: https://sepolia.arbiscan.io/address/0x9f63726454c6571955b0c17300ace7f9fb5C3F36

## Wave 5 submission

private order book

From the public Akindo product page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

No public repo linked, so we can't tell.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.