Skip to content
BLOKZ.dev

Lab

Artifacts

138 explorable, interactive pieces — every concept we write about, made tangible.

diagram SVG

The Batch Settlement

Step through a CoW Protocol batch auction: intents arrive, the batch seals, solvers compete, settlement executes on-chain, and surplus flows back to traders.

diagram SVG

The Signing Round

FROST threshold signing in four stages — DKG, Commit, Sign, Aggregate. Adjust t-of-n to see how many parties must collaborate, and how many an attacker must compromise, to produce a valid Schnorr signature.

chart SVG

The Randomness Risk Map

Five on-chain randomness sources plotted on latency vs. manipulation cost. Click any dot to see mechanism, security tier, gas cost, and recommended use case.

simulation DOM

The Sealevel Lanes

Sealevel's parallel execution scheduler, slot by slot. Toggle hot-account contention to see how a single popular writable account collapses eight parallel waves into eight serial queues. Each row is one execution wave — transactions in the same row settle simultaneously.

chart SVG

The Proof Tradeoff

Seven ZK proof configurations mapped on prover time vs. on-chain verification gas. Click any system to see proof size, setup requirements, and zkML viability. The annotated wrapper band shows the constant-gas region only reachable by STARK→SNARK wrapping.

calculator SVG

Recursive Leverage Chain

Interactive calculator: watch how deposit-borrow loops compound leverage toward the 1/(1−LTV) asymptote. Adjust LTV and loop count to see effective leverage, the liquidation trigger, and the loss from a single price move.

diagram SVG

The Context Attack Surface

Three interactive attack surfaces on an ElizaOS-style Web3 AI agent context pipeline — prompt injection, memory injection, and data feed manipulation — with ASR figures from CrAIBench.

calculator SVG

Agent Memory Cost Map

Adjust memory entries per call, call frequency, and gas price to see how monthly on-chain cost diverges across four persistent-memory architectures: SSTORE, event logs, IPFS+CID, and TEE.

3d scene WebGL · Three.js

The State Window

Epoch ring: 32 slot pillars show the chain's heartbeat. White sphere = chain tip, amber = agent's last read, green = finalized. The arc between them is the state window AI agents must hedge against.

calculator SVG

The Useful Nonce

Drag the operating point across matrix sizes to see how the Freivalds overhead approaches 0% — and how much of Bitcoin's 150 TWh becomes AI compute under PoUW.

chart SVG

Aave Rate Curve Explorer

Interactive chart of Aave V3's USDC two-slope interest rate model on Base. Drag the slider to explore how borrow and supply APYs respond to utilization — and see the sharp kink at 90% that makes over-borrowing expensive.

map SVG

The Upgrade Window

Seven DeFi protocols mapped by upgrade risk tier. Dependency edges reveal inherited risk — even immutable contracts can be exposed through multisig-controlled oracles. Tap a protocol to inspect its timelock window and agent safety note.

Type to search the archive.