SOURCE / PINNED RELEASE
Made of little things.
Proof of Work is dead
- Release
- 89cac09188df…
- Author-recorded commit
- 8ef34170172d…
- License
- LICENSE
- Author’s source reference
- nostr://npub1eg5pfnws6tg6rtp33tugpppqtv5u05crmf983qp438cdycwzngys0gxzcs/wss%3A%2F%2Fgit.napplet.soy%2F/n-abb751b60a6
Archive hash verified: 2e3eb06f34235090…. The source-to-build association is the author’s claim; it has not been independently rebuilt.
## napplet soyLI workspace
Read [docs/napplet-space.md](docs/napplet-space.md) first for this project's CLI commands, installed skills, preview cleanup and host capabilities. Read [docs/napplet-visual-design.md](docs/napplet-visual-design.md) before styling the creation and its UI. When implementing controller support, read [docs/napplet-controllers.md](docs/napplet-controllers.md) and cover the entire napplet, including menus, settings, pause, restart and back navigation. This project and its adapted skills are already installed; do not re-scaffold or reinstall them. Use soyli dev and its printed URL for hosted preview, and stop your preview session after testing. Use the upstream guidance below with those tooling mappings.
# Proof of Work is dead
An explainer napplet for one idea: on nostr, **proof of membership** can do the
job that proof of work (NIP-13) was meant to do against spam, and several jobs
it never could.
The page does three things for real, in the frame:
1. It mines a 20-bit NIP-13 stamp on the viewer's device, counts the hashes and
compares the measured rate with a published GPU benchmark.
2. It signs a note as one of 250 keys with a ring signature (AOS/SAG over
secp256k1, x-only keys lifted to even y) and verifies it link by link.
3. It says who can check the membership claim (anyone with the list) and who
can tell which member signed (only the signer).
**The cryptography is demo code and has not been audited.** `src/ring.ts` is
short enough to read in one sitting; do not protect anything real with it.
## How the proof is used
The ring signature does not sign the note. It signs a throwaway key together
with the name of the list (`credentialMessage`), and the throwaway key then
signs an ordinary event. One proof therefore covers every note of that key, and
nobody can paste the proof onto a different key's note.
## Visual direction
- **Character:** a furnace that cools into a ring. Flat poster colour fields,
loud type, no cards and no gradients. The one distinguishing idea is the
headline: it is set in Climate Crisis, a variable font whose letters melt, and
the melt is driven by the hashes the device burns.
- **Main surface:** seven beats that fill the frame one after another: furnace
orange, soot, electric violet (ring and uses), bone paper (steps, fine
print), lemon. The colour change is the argument: heat, ash, then the cool
ring.
- **Paging:** the page is a deck. A trackpad push, a wheel notch, an arrow
key, a click on the page, a drag and the two buttons in the corner each turn
one page; nothing scrolls freely.
A beat taller than the frame is set like print: a paragraph that would cross
the bottom edge moves to the top of the next page (`paginate` in
`src/main.ts`).
- **Interface:** Bricolage Grotesque in a condensed heavy cut for statements and
a regular cut for reading. Hard corners, offset solid shadows on buttons,
lemon for "verified", pink for a failure, each also said in words.
- **Motion:** two things move to show work that is actually being done: the
headline melts while the miner runs, and the chain of challenges walks
around the ring while it is verified. Pages slide when turned, and on the
first page the page-down button nudges. Reduced motion skips all of it.
- **Theme policy:** app-owned. The palette carries the meaning, so the host
theme is not followed.
- **Proof:** checked at 200×160, 320×560, 360×640, 844×390, 900×600,
1280×720 and 1600×1000. The cover frame is the headline half melted over the running
hash counter; the clip goes on to the ring closing.
## Optional host domains
- `identity`: when the host shares the viewer's follow list, the ring gets as
many keys as the viewer follows (16 to 500) and the story addresses "you".
Only the count is used; the keys in the ring are always made by the page.
- `storage`: remembers the result of the burn, so a second visit replays it
instead of mining again.
Without either, Alice and her 250 follows tell the story.
## Checks
```bash
pnpm verify # guidance, ring tests, types, build
pnpm test:conformance # reference-shell checks
```
`pnpm test:ring` runs the signature tests alone: every member can sign, both
key parities work, outsiders and tampered rings, messages and signatures are
rejected, and the mined event is a valid NIP-13 note.
## Fonts
Climate Crisis (Daniel Coull, Eino Korkala for Helsingin Sanomat) and Bricolage
Grotesque (Mathieu Triay), both under the SIL Open Font License 1.1, subset to
the characters the page uses.
