Skip to content
BLOKZ.dev

Lab

Artifacts

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

calculator SVG

The TWAP Window

How much does it cost to shift a TWAP oracle? Drag pool TVL, TWAP duration, and price spike factor to see the round-trip manipulation cost alongside the 30-min TWAP shift — for both Uniswap v2 arithmetic and v3 geometric accumulators. Anchored to live on-chain pool data.

chart SVG

The Oracle Gap

Compare Chainlink's push oracle price against Pyth's pull price and live spot. Drag the slider to see exactly when the 0.5% deviation threshold triggers an on-chain update.

diagram SVG

The Pipeline Breach

Pipeline-parallel decentralised post-training, split across four nodes. Click any internal stage to place the compromised node — the task-vector injection indicator and attack metrics update to show 94% ASR collapsing alignment from 80% to 6%.

calculator SVG

The Inversion Window

How well can an adversary reconstruct your training data from the gradients you published? Drag the batch size; toggle DP budget ε. The curve shows estimated reconstruction quality (PSNR) from Geiping et al. — and the tradeoff where DP noise finally closes the window at the cost of model utility.

diagram SVG

The MEV Supply Chain

Interactive diagram of Ethereum's PBS pipeline — Searcher, Builder, Relay, Proposer, Block — with builder concentration numbers, private orderflow paths, and the mev-commit preconf feedback arc.

chart SVG

The Availability Cliff

Drag the training-duration cursor to see which DA layers can serve your data. EIP-4844 blobs vanish after 18.2 days — the cliff most pipelines fall off.

diagram SVG

Hook Permission Visualizer

Explore how Uniswap v4's 14-bit permission bitmap maps to pool lifecycle callbacks. Toggle bits or select preset patterns to see which hook functions fire for each operation.

chart SVG

The Softmax Constraint Map

Constraint cost per Transformer operation in a ZK circuit — without and with lookup arguments. Softmax (275→30), LayerNorm (150→20), and GELU (400→40) dominate the budget until Lasso/LogUp replace in-circuit transcendental approximations with table lookups. Tap a row to inspect.

calculator SVG

The Token Margin

When does calling an LLM pay off? Pick a task complexity, model tier, and expected profit per decision: the lognormal token distribution — anchored to the paper's 30× variance finding — shows the fraction of invocations that beat break-even. Drag profit up until the green zone dominates.

diagram SVG

The Policy Stack

Four guardrail tiers for on-chain AI agents: probabilistic classifiers through Lean 4 theorem provers. Select an attack scenario to see which tier catches it — and which let it through.

calculator SVG

The Collateral Cage

See exactly how DeFi overcollateralization locks capital as a credit tax. Adjust loan amount, collateral asset, and credit tier to watch the cage shrink — or disappear entirely — as on-chain reputation improves.

diagram SVG

The IP-NFT Pipeline

The six-step lifecycle of a Molecule IP-NFT: from Snapshot vote to on-chain revenue share. Click any stage for verified gas costs, contract addresses, and real numbers from the VITA-FAST fractionalization.

Type to search the archive.