Generative Chains
A new theory of how to build a proof-of-work blockchain where AI model generation is the proof-of-work algorithm and LLM output is the unit of work. Explored through six browser demos.
Claude Code / WebGL / Lean
Demo
Problem
Two essays I wrote in 2023 argued that generative models would end up inside consensus. I never built anything next to them. For three years the argument had nothing you could run.
Solution
The theory is a proof-of-work chain where model generation is the work and LLM output is the unit of work. I explored it in six browser demos. Single-file pages, no build step. Each one pushes a piece of the idea until it breaks.
A generative model's output depends on its exact weights, so the hash of an output is a commitment only that model can meet. Artwork Chain tests it. Every block is a painting made from one verse of Genesis plus the previous block's hash. A fine-tuned knockoff cannot reproduce one of them. Prompt Mining turns that into Proof of Generation and runs the race. Request for Art plots the same race. Living Rules and Bloom Chain leave the block chain for grids of cells.
Analysis
I built the demos to find the break. Prompt Mining and Request for Art are both here because real image models are noisy. A miner can find the right prompt and still miss the hash. That miss taught me more than the five demos that held.
The fix became Challenge Vaults. Swap the noisy model for a perfect checker. That outgrew this repo.
Result
Six working demos. Each one runs from a clone with a static server.
Every model, network, prover, and result is simulated in the browser. Nothing here touches a real chain. The page says so.
Screens

Artwork Chain. Each block is a painting made from one verse plus the hash before it. The canonical model reproduces it exactly; the fine-tuned knockoff fails. The weights are the key. 
Prompt Mining. The Proof of Generation demo. One machine paints a secret prompt and broadcasts only the hash. Twelve miners race to find a prompt that paints the same image; first match mints it and sets the next puzzle. 
The same race as a scatter plot. Attempts land closer to the center the nearer they get, and only an exact match reaches the middle, which is also where the idea breaks. 
Living Rules. One tiny rule per cell, look at three distances, then grow or shrink. Nobody drew these shapes; a search found rules whose cells organize themselves. 
Bloom Chain. Describe something, and Claude picks a living rule for each part and grows it. Each new prompt is handed the previous answer, so the scene evolves link by link.