| Part | Chapters | What you have at the end |
|---|
| — | 1–13, 15, 18 | Moved to Bitcoin From Scratch Parts I–V: bytes, big integers, constant time, SHA-256, HMAC, HKDF, ChaCha20, secp256k1, BIP-340 and Bech32. |
| I. Shared secrets, encodings and encryption | 14, 16, 17, 19, 20 | x-only ECDH, every NIP-19 entity, nostr: URIs, the exact event serialization, NIP-44 v2 passing its vector file, and a written account of NIP-04's weaknesses. |
| II. The event model | 21–25 | Events you can verify and sign, kinds and tags, filters, every relay message and gift wrap. |
| III. Transport | 26–28 | A WebSocket client and server in Coax over the host's socket and TLS. |
| IV. A client | 29–33 | A client that subscribes, publishes, follows the outbox model and survives restarts. |
| V. A relay | 34–44 | Checked relay components for durable storage, indexes, NIP-11, NIP-42, deletion, counts, search, protected events, negentropy and limits; chapter 103 identifies which the running relay wires in. |
| VI. Every NIP | 45–92 | Every pinned NIP examined by subject, with the implemented subset and omissions stated: the official set, the OpenAgents set and the Block set. |
| VII. Interop and verification | 93–97 | Pinned vectors, differential tests, fuzzing, stated properties and a conformance report. |
| VIII. Nostr in OpenAgents | 98–104 | Current project, sign-in and Pylon consumers; offline the OpenAgents Metaverse and agent examples; the remaining relay migration and treasury exits. |
| Chapter | Depends on | Done means | Spec |
|---|
| 45. Profiles, follows and names — implemented | 22, 28 | NIP-05 lookups refuse redirects and non-matching keys. A newer kind 3 replaces an older one in the store. | NIP-02, NIP-05, NIP-24, NIP-39 |
| 46. Keys from a seed phrase — implemented | bitcoin:24, bitcoin:8 | Both NIP-06 vectors in nostr/nips/official/06.md produce their stated private and public keys. An invalid checksum refuses. | NIP-06 |
| 47. Encrypted key backup — implemented | bitcoin:11, bitcoin:8, bitcoin:27 | The NIP-49 test vector in nostr/nips/official/49.md decrypts to its stated key. A log_n of 22 refuses on a profile limited to 18. | NIP-49 |
| 48. Signers outside the app — implemented | bitcoin:18, 20, 31 | A Coax client signs through a Coax bunker and an independent bunker. A reused connect secret refuses. | NIP-07, NIP-46, NIP-55 |
| 49. HTTP auth — implemented | 21, bitcoin:4 | Each server check has a refusing test. The same event ID used twice refuses the second time. | NIP-98 |
| 50. Notes, threads and subjects — implemented | 22 | Thread reconstruction on a fixture matches a hand-built tree. A positional-only event is read with the documented rule. | NIP-10, NIP-14, NIP-36 |
| 51. References inside content — implemented | 16, 50 | Every reference in the NIP-27 examples is found with its byte range. A shortcode with an invalid character is not replaced. | NIP-27, NIP-08, NIP-30 |
| 52. Reposts, reactions and comments — implemented | 22, 50 | A comment whose root and parent scopes disagree in kind refuses. Reactions aggregate per target with one per author. | NIP-18, NIP-25, NIP-22 |
| 53. Long-form, drafts and wiki — implemented | 22, 20 | NIP-54's normalization examples give the stated d values. A NIP-37 draft decrypts only for its author. | NIP-23, NIP-37, NIP-54 |
| 54. Lists, sets and bookmarks — implemented | 22, 20 | Private items round-trip only with the owner's key. A NIP-04-encrypted private section is read and re-encrypted with NIP-44 on the next write. | NIP-51, NIP-B0 |
| 55. Labels, reports and trusted assertions — implemented | 22 | Labels are grouped by namespace and signer. An assertion from a provider the user did not name is not shown as trusted. | NIP-32, NIP-56, NIP-85 |
| 56. Proof of work — implemented | 21 | The NIP-13 example ID has difficulty 21 as stated. An event whose target is below the relay minimum refuses even if its ID has more work. | NIP-13 |
| 57. Media and files — implemented | 22, 49 | Downloaded media whose SHA-256 differs from x is refused. Every NIP-92 example parses to its stated fields. | NIP-92, NIP-94, NIP-68, NIP-71, NIP-A0, NIP-B7, NIP-96 |
| 58. Calendars, polls and highlights — implemented | 22 | Poll tallies on a fixture with repeated votes match the NIP's latest-response rule. A date event with end before start refuses. | NIP-52, NIP-88, NIP-84 |
| 59. Groups and communities — implemented | 38, 34, 22 | A non-member's event to a closed group refuses. Group metadata is accepted only when signed by the relay's key. | NIP-29, NIP-7D, NIP-C7, NIP-72, NIP-28 |
| 60. Private messages — implemented | 25, 32 | A message from Coax opens in an independent NIP-17 client and the reverse. A recipient without kind 10050 receives nothing. | NIP-17, NIP-A4, NIP-EE |
| 61. Live activities — implemented | 22 | An activity with status live and no update for an hour is shown as ended, as the NIP recommends. Chat events reference the activity by its a address. | NIP-53 |
| 62. Badges and statuses — implemented | 22 | An award by someone other than the definition's author is not shown. An expired status is not shown. | NIP-58, NIP-38 |
| 63. Git on Nostr — implemented | 22, 52 | A status from someone who is neither the author nor a maintainer is ignored. The project fold over a captured relay matches its recorded tables. | NIP-34, NIP-C0 |
| 64. App data and handlers — implemented | 22 | A NIP-5A file whose hash differs from the manifest is refused. Handler lookup for a kind returns announcements from the user's follows first. | NIP-78, NIP-89, NIP-5A, NIP-CD |
| 65. Data vending machines — implemented | 22, 20 | A result whose request tag does not match the request's ID refuses. The record gptoss-cloud-nip90-2026-10-30.md is reproduced or retired. | NIP-90 |
| 66. Markets and orders — implemented | 22 | Listings parse with every price form in the NIP. An order with layer other than Bitcoin, Lightning or Spark is shown but never settled. | NIP-99, NIP-69, NIP-15 |
| 67. Relay discovery, access and management — implemented | 37, 38, 49 | Management calls without a valid NIP-98 event from an admin key refuse. A member list not signed by the relay's NIP-11 self key is ignored. | NIP-66, NIP-43, NIP-86 |
| 68. Bridges, external IDs and timestamps — implemented | 22, bitcoin:4 | NIP-73 examples normalize to their stated forms. An OTS proof that does not commit to the event ID refuses. | NIP-48, NIP-73, NIP-03 |
| 69. Small content kinds — implemented | 22 | Each NIP's example event parses and round-trips. A kind 64 event with invalid PGN is shown as invalid. | NIP-35, NIP-64, NIP-CC, NIP-F4 |
| 70. Retired and experimental NIPs — implemented | 21 | An event with a NIP-26 delegation tag is attributed to its signer, not the delegator. alt text is shown for an unknown kind. | NIP-26, NIP-31, NIP-BE |
| 71. Lightning zaps and goals — implemented | 21, 45 | A receipt whose description hash does not match refuses. Goal progress sums only valid receipts. | NIP-57, NIP-75 |
| 72. Wallet Connect — implemented | 20, 31 | Every command's request and response round-trips with an independent client. A payment over the connection's budget refuses with QUOTA_EXCEEDED. | NIP-47 |
| 73. Payment targets — implemented | 22, bitcoin:27, bitcoin:4 | Every example in the pinned text parses. A non-Bitcoin target is never offered as a payment option. | NIP-A3 |
| 74. Cashu and Fedimint are excluded — implemented | 55, 66, 73 | No Coax file implements these kinds, and a check fails if one appears without an owner decision. The chapter lists every kind above with its source line. | NIP-60, NIP-61, NIP-87 |
| 75. Hosts and reachability — implemented | 20, 21, 49 | A revoked, expired or replayed grant refuses. A stale route generation is not used. | OpenAgents NIP-HOST, OpenAgents NIP-REACH, OpenAgents shared contracts |
| 76. Work, coordination and control — implemented | 75 | Two workers claiming one task: exactly one wins, and the other's writes are fenced. A command from an unpaired client refuses. | OpenAgents NIP-WORK, OpenAgents NIP-COORD, OpenAgents NIP-CTRL, OpenAgents NIP-CTX |
| 77. Capabilities, policy and extensions — implemented | 75 | A capability without a matching binding is refused at dispatch. A revoked extension release does not install. | OpenAgents NIP-CAP, OpenAgents NIP-POL, OpenAgents NIP-EXT, OpenAgents NIP-REG |
| 78. Runs, sessions, terminals and trajectories — implemented | 76, 20 | A run journal replays to the same head after a controller handoff. A trajectory chunk missing from its manifest is reported, not ignored. | OpenAgents NIP-RUN, OpenAgents NIP-SESS, OpenAgents NIP-TERM, OpenAgents NIP-ATIF |
| 79. Agents, skills and automation — implemented | 76, 77 | A saved agent round-trips through its private carriage. A missed scheduled occurrence is recorded once, not run twice. | OpenAgents NIP-AGENT, OpenAgents NIP-SKILL, OpenAgents NIP-SOV, OpenAgents NIP-AUTO |
| 80. Jobs, labor and markets — implemented | 20, 76 | A job result from a key other than the admitted provider refuses. An order settles only with a Lightning or on-chain proof. | OpenAgents NIP-CJ, OpenAgents NIP-LAB, OpenAgents NIP-MKT |
| 81. Decisions, evaluations, optimization and programs — implemented | 80 | A decision answer that does not match its request's question set refuses. An evaluation report with an unknown suite digest is shown as unverifiable. | OpenAgents NIP-DEC, OpenAgents NIP-EVAL, OpenAgents NIP-OPT, OpenAgents NIP-PRG |
| 82. Pylons, environments and deploys — implemented | 80, 75 | An expired beacon contributes no capacity. A receipt signed by a key other than the beacon's refuses. | OpenAgents NIP-PYLON, OpenAgents NIP-ENV, OpenAgents NIP-DEPLOY |
| 83. Attested work and sealed data — implemented | 20, 82 | An endpoint whose attestation does not match a release head is refused. A vault object opens only with a valid key slot. | OpenAgents NIP-ATT, OpenAgents NIP-VAULT |
| 84. Knowledge and workspaces — implemented | 76 | A withdrawn entry is not served as current. A conditional change against a stale version refuses. | OpenAgents NIP-KB, OpenAgents NIP-WS |
| 85. Live media, worlds and experience — implemented | 61, 20 | A pose frame outside its world's bounds refuses. A revoked award is removed from the derived ledger. | OpenAgents NIP-LIVE, OpenAgents NIP-MV, OpenAgents NIP-XP |
| 86. Lightning payments for requests — implemented | 49, 71 | Any other scheme or network refuses. A preimage that does not hash to the payment hash refuses. | OpenAgents NIP-X402 |
| 87. Owner attestation and agent authentication — implemented | 38 | An attestation with altered conditions refuses. A revoked agent loses its virtual membership on the next AUTH. | Block NIP-OA, Block NIP-AA |
| 88. Federated identity — implemented | 38, bitcoin:1 | none, symmetric and confused algorithms refuse. A JWS with a wrong audience or community refuses. | Block NIP-FI, Block NIP-FA |
| 89. Channels — implemented | 59 | A missing page never shows an empty channel. A hidden DM is not returned to a non-participant. | Block NIP-CL, Block NIP-DV, Block NIP-CW, Block NIP-WP |
| 90. Artifacts, archives and reminders — implemented | 89 | A revision against a stale version refuses. A reminder is delivered once at its time. | Block NIP-AR, Block NIP-IA, Block NIP-ER |
| 91. Git signing, projects, leases and read state — implemented | 63, bitcoin:24 | NIP-GS and NIP-RS test vectors pass. The NIP-MP fixtures in nostr/nips/block/NIP-MP.fixtures.json fold to their stated results. | Block NIP-GS, Block NIP-MP, Block NIP-PL, Block NIP-RS |
| 92. Private agent state — implemented | 20, 87 | No AO frame is written to durable storage. Decrypted bodies never appear in public snapshots or telemetry, checked by a canary. | Block NIP-AE, Block NIP-AP, Block NIP-AO, Block NIP-AM, Block NIP-PMA |
| Chapter | Depends on | Done means | Spec |
|---|
| 98. Projects on Nostr — implemented | 63, 30, 21 | A forged or out-of-scope event never enters the verified view. The fold of a captured relay matches its recorded tables. | NIP-34, NIP-22 |
| 99. The website and sign-in — implemented | 46, 49 | The Coax verifier and the C verifier agree on every recorded request. A login event reused after its window refuses. | NIP-98, NIP-06 |
| 100. Pylons and the mesh — implemented | 82, 20, 38, psionic:24 | A Pylon serves a self-test decision through the Coax relay. A request sealed to another provider is not decrypted. | OpenAgents NIP-PYLON, NIP-44 |
| 101. The Metaverse and the wallet — implemented | 85, 71, 72 | Offline, on a fixed clock: two players see each other's NIP-MV presence through the Coax relay's EVENT path within the latency budget, and one zap goes from request to counted receipt and balance change. A zap request over the wallet's limits is refused by pay/wallet.coax's rules. | OpenAgents NIP-MV, NIP-57, NIP-47 |
| 102. Agents on Nostr — implemented | 79, 80, bitcoin:24, 87, 78, 76 | An agent with an owner attestation authenticates to a relay (NIP-42 and NIP-AA), takes a job (MKT, CJ), claims it once (COORD), journals it (RUN), answers and is paid against a Lightning preimage, offline with test keys and a fixed clock; the unattested key, the stale claim, the wrong worker's result and the payment mismatch refuse. The runner's move to the Coax stack in staging, with a rehearsed rollback, is listed as not built. | OpenAgents NIP-AGENT, OpenAgents NIP-CJ |
| 103. Replace relay.openagents.com — implemented | 34, 35, 37, 38, 39, 40, 41, 42, 43, 44, 94 | Event-set equality between the two relays at cutover. A rollback rehearsal restores service from the Rust relay. | NIP-11 |
| 104. Agent treasuries and a network of keys — partly implemented | bitcoin:24, 46, 79, 83 | Three software key agents on signet sign a 2-of-3 spend from requests carried over a Coax relay, and a PSBT whose outputs differ from its request is refused by every signer. A coordinator outage is recovered from one key agent's copy of the descriptor with an independent wallet tool. | OpenAgents NIP-KEYS, OpenAgents NIP-SOV, OpenAgents NIP-ATT |