zk-clob
Privacy based CLOB
The problem zk-clob solves
Imagine a regular stock exchange where people buy and sell shares. Now, imagine a super-private, super-secure version of that, and that's essentially what a ZK-based CLOB (Central Limit Order Book) is, especially with TEEs (Trusted Execution Environments) added in.
Here's how it makes things easier and safer:
Privacy for Everyone:
No one sees your secrets: When you place an order to buy or sell, you don't want everyone to know your exact price or quantity until the trade actually happens. With ZK (Zero-Knowledge) proofs, you can prove to the system that your order is valid (e.g., you have enough money, your price is within a certain range) without revealing the details of your order.
Think of it like this: You want to buy a concert ticket, but you don't want the seller to know how much you're willing to pay until they accept your offer. You can prove you have enough money in your bank account without showing them your bank balance.
Why this is good: It prevents "front-running," where others try to jump ahead of your order if they see it coming.
Fairness and Trust (No Cheating!):
Guaranteed honest matching: The "CLOB" part means there's a clear list of all buy and sell orders. ZK proofs ensure that orders are matched correctly and fairly according to the rules (e.g., best price first), and that no one is messing with the order book.
Proof without showing: You get cryptographic proof that the order matching happened exactly as it should have, even though you can't see all the individual orders.
Why this is good: It builds massive trust. You don't have to blindly believe the exchange operator is being honest; you have mathematical proof along with Extra Strong Security with TEEs:
Challenges we ran into
Each significant state change (like an order being placed, matched, or canceled) would ideally generate a ZK proof to ensure its validity and privacy. However, generating a ZK proof for every single operation can be computationally intensive and slow. If you want to aggregate these proofs (e.g., prove that a batch of 1000 trades all happened correctly) into a single, succinct proof, the aggregation process itself can become a bottleneck.
Tracks Applied (2)
Combined Bounty (zkVerify + Horizen)
Horizen
Technologies used
Cheer Project
Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.