~/talk

Do You Want to Build a Blockchain?

Talkat DevConf 2018 · 2018-09-26..09-28· [javascript, blockchain]
slides:none on file

Builds a minimal blockchain in JavaScript that actually runs: blocks hold a single transaction class, use SHA‑256 via Node.js crypto, and include previousHash for integrity; implements proof‑of‑work with a nonce (demo difficulty = 4, first matching nonce for "a" = 8602183 found by brute force), an HTTP API using Express, and peer discovery/replication over discovery-swarm. Nodes exchange blocks, request the longest chain, and in the demo two nodes reconcile to a three‑block chain, showing the design works end‑to‑end.

AI-written summary · about

  1. 0:00Start
  2. 3:21What What Is a Block
  3. 4:50Javascript Code
  4. 6:04Hash Algorithm
  5. 9:21The Integrity of a Blockchain
  6. 14:18Genesis Block
  7. 20:11Limited Http Interface
  8. 20:29Http Route Handler
  9. 23:08Create a Block
  10. 24:27The Double Spend Problem
  11. 25:38Proof of Work
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.