"Building a Crypto Perpetuals Derivative Exchange"
summary
Hanji Protocol is an on-chain CL order book DEX that replaces vAMMs with a prefix-tree matching engine claiming logarithmic matching (64-bit keys, max 64 levels) so a big market order walks ≤128 steps. Claim: simulated runs march >1 billion orders in one tx with <700 gas. Measured gas: market orders ~60k, limit ~120k (vs Uniswap ~120–140k swap), L2 fees down to $0.01 or $0.001. Roadmap: mainnet beta June, perps July; supports BTC/USD, ETH/USD, composable LP tokens and non-USD/cross-margin collateral.
AI-written summary · about
chapters (13)
- 0:00Introduction and welcome
- 1:19Speaker introduction
- 2:02Current trading paradigms
- 4:48Why on-chain order books
- 6:15Challenges of on-chain order books
- 8:08Matching algorithm design
- 10:18Order execution process
- 12:07Gas fee optimization
- 13:10Performance validation
- 14:15Roadmap and product offering
- 15:42Composable derivatives
- 16:24Future of crypto derivatives
- 16:46Q&A session
