# nambrot/blockchain-in-js

Build your own blockchain!

Repository: https://github.com/nambrot/blockchain-in-js
Canonical: https://ross.abutalabs.com/products/blockchain-in-js
Homepage: https://blockchain.nambrot.com
Language: JavaScript
License Family: other
Topics: blockchain, javascript, bitcoin
Last push: 2022-03-17T15:41:17+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3216, "days_push": 1630, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1133, forks 206 (observed 2026-08-28T04:03:42.914026+00:00)

## What it is
A step-by-step tutorial that teaches how a blockchain works by building one from scratch in JavaScript, with live demos at each stage. It covers blocks, hashing, longest-chain consensus, and P2P block broadcasting for pedagogical purposes.

## Use cases
- learn how blockchains work by building one
- understand bitcoin's block and hash structure
- implement a toy blockchain in javascript
- teach blockchain fundamentals with a demo
- understand longest chain consensus
- see how blocks are broadcast between nodes

## When to choose
- you want a hands-on, code-first explanation of blockchain basics
- you prefer learning by building a minimal implementation
- you want runnable demos at each step

## When to avoid
- you need a production blockchain or cryptocurrency platform
- you need a maintained, licensed library for real applications
- you need advanced features like smart contracts or real mining

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: blockchain, developer-tools, documentation
- domain: blockchain, education, programming-languages
- platform: -
- tags: tutorial, bitcoin, cryptocurrency, step-by-step, demo, nodejs, javascript, web

## Member repositories
- nambrot/blockchain-in-js (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:42.914026+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:37:27.278289+00:00, confidence not recorded.
  - readme: https://github.com/nambrot/blockchain-in-js (fetched 2026-08-28T04:03:42.914026+00:00, sha 28d7a2ba4038)
- Data as of 2026-08-30T08:39:29.467469+00:00.
