FABRKNT
← All courses
Training Mission · DIY Perp
DIY PerpEXPERT400 min820 XP

Build OpenHL Precompiles — connecting CLOB state to smart contracts

Build the openhl precompile layer that bridges the CLOB matching engine to the EVM. Twelve lessons across six modules: custom EVM bootstrap, read precompile, write precompile (place_order), bridge integration, Capstone.

Course as operating doctrine · Source as primary text

Mission brief

This course is structured as a working assignment, not a content feed. Move through the lessons in order, accumulate the vocabulary, then carry the pattern back into the rest of the stack.

Start the course →12 lessons · native player
Difficulty
EXPERT
Workload
400 minutes
Reward
820 XP
Orientation
  1. 01Build OpenHL Precompiles — connecting CLOB state to smart contracts15 min · 50 XP
Custom EVM bootstrap
  1. 01Lesson 1 — OpenHlEvmFactory — hooking into every EVM creation40 min · 80 XP
  2. 02Lesson 2 — clob_read_best_bid — the first real precompile30 min · 60 XP
  3. 03Lesson 3 — NodeBuilder wiring + registry callability tests35 min · 70 XP
Read precompile
  1. 01Lesson 4 — install_clob() — bridging EVM state to the matching engine35 min · 70 XP
  2. 02Lesson 5 — read_best_bid reads the wire — swap to current_best_bid()40 min · 80 XP
  3. 03Lesson 6 — Module 2 milestone — proving the round-trip30 min · 60 XP
Write precompile
  1. 01Lesson 7 — clob_place_order — calldata decoding scaffold40 min · 80 XP
  2. 02Lesson 8 — book.submit(...) — the write path goes live30 min · 60 XP
Bridge integration
  1. 01Lesson 9 — install_fill_sink — fills flow back to the bridge40 min · 80 XP
  2. 02Lesson 10 — Course milestone — the full stack in a real Reth node45 min · 90 XP
Capstone
  1. 01Lesson 11 — Capstone — what you built, what's deferred, what comes next20 min · 40 XP