Skip to content
Rex St. John
demolive

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

  • The Artwork Chain demo, showing block 5 of a chain where each block is a painting generated from a verse of Genesis plus the previous block's hash, with the canonical model's verification passing and a knockoff model available to test against
    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.
  • The Prompt Mining demo, with a hidden target painting on the left reduced to a broadcast hash, and twelve miners generating candidate paintings from noun-verb-noun prompts, with counters for possible prompts, guesses this round and guesses per second
    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 Request for Art demo, a radial scatter plot with twelve miners around the rim and the requested artwork at the center, each generated attempt landing in a ring according to how many words of the prompt it got right
    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.
  • The Living Rules demo, a circular dish of cells organized into pink and violet membranes and dividing colonies, beside the rule that produced them shown as three sensing rings and a growth response curve
    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.
  • The Bloom Chain demo, showing a many-colored flower grown from cellular automata, with a breakdown of which living rule was assigned to the petals, center, stem and leaves
    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.