Skip to content
Tech Atlas, home
Search
Esc
  • All roadmapsBrowse every learning path
  • ExploreFind a technology area
  • ProjectsGuided projects and builds
  • My AtlasYour learning dashboard
Practice build · Data stores and distributed systems

Build your own Blockchain

A small cryptocurrency: hash-linked blocks, proof of work, signed transactions, and nodes that agree on the longest valid chain.

  • Intermediate
  • About 8–16 h
  • 4 checkpoints
  • 3 tutorials · Go, Python, TypeScript

Pick a tutorial, then check yourself at each checkpoint. Work in any language you like.

Choose a tutorial

Why build it

Whatever you think of cryptocurrencies, a blockchain is a compact lesson in hashing, digital signatures and consensus between nodes that do not trust each other.

You will be able to

  • Link blocks with cryptographic hashes and detect tampering.
  • Implement proof of work and adjust its difficulty.
  • Sign and verify transactions with public-key cryptography.
  • Reach agreement across nodes with the longest-valid-chain rule.

Skills it exercises

Recommended on Cybersecurity Engineer and System Design.

Checkpoints

How you know you are there

Work in any language. Each checkpoint ends with something you can run or observe, so you can check it yourself.

  1. Checkpoint 1Self-check

    Chain

    Done when: Blocks link by hash, and changing any past block makes validation fail.

  2. Checkpoint 2Self-check

    Proof of work

    Done when: Mining finds a nonce below a target, and difficulty adjusts to keep block time near a goal.

  3. Checkpoint 3Self-check

    Transactions

    Done when: Transactions are signed with Ed25519 or ECDSA keys, and forged or double-spent transactions are rejected.

  4. Checkpoint 4Self-check

    Network

    Done when: Three nodes exchange blocks over HTTP and converge on the same chain after a temporary split.

Stretch goals

  • Unspent transaction outputs (UTXO) instead of balances.
  • Proof of stake, following NaivecoinStake.
Follow a tutorial

Step-by-step guides

Pick one in a language you know (tutorial languages: Go, Python, TypeScript). They open on the author’s site.

Practice builds are self-paced: Tech Atlas does not track them or count them as evidence. To show a skill, take its knowledge check from the skill page.

Tutorials come from codecrafters-io/build-your-own-x (CC0, snapshot of 2026-07-14, commit aa17439; links checked on 2026-10-19). Each tutorial belongs to its author and keeps its own licence; Tech Atlas links to it and does not host it. Briefs, checkpoints and the mapping to skills are Tech Atlas editorial drafts.