cryptos

Source

  • Source kind: github-repository
  • URL: https://github.com/karpathy/cryptos
  • Discovery source: https://github.com/karpathy/cryptos
  • License: NOASSERTION
  • Distribution policy: public-summary-local-archive-only
  • Public mirror status: summary-only
  • Content hash: 216d5d578e6f4e504993dfbca182ba72370eafb4ff2f0d1f695376fc95c6e5eb
  • First seen: 2026-05-15
  • Last changed: 2026-05-15

Classification

Summary

cryptos Just me developing a pure Python from-scratch zero-dependency implementation of Bitcoin for educational purposes, including all of the under the hood crypto primitives such as SHA-256 and elliptic curves over finite fields math. SHA-256 My pure Python SHA-256 implementation closely following the $1 spec, in cryptos/sha256.py . Since this is a from scratch pure Python implementation it is slow and obviously not to be used anywhere except for educational purposes. Example usage: Keys getnewaddress.py is a cli entryway to generate a new Bitcoin secret/public key pair and the corresponding (base58check compre…

What This Teaches

  • How to teach advanced AI systems by rebuilding the smallest complete version.
  • Useful as a standard for non-toy educational projects: compact, runnable, and conceptually complete.

Why It Matters

This is high-priority for Vipin because it supports durable first-principles understanding instead of shallow API use.

Repository Snapshot

  • Full name: karpathy/cryptos
  • Default branch: main
  • HEAD: e59d4ca9a77da7459e0e792e9a3a82882c41a11d
  • Stars at crawl: 1890
  • Forks at crawl: 325
  • File count: 21
  • README path: README.md
  • License path: “
  • Created: 2021-04-25T00:56:19Z
  • Updated: 2026-05-14T21:24:34Z
  • Pushed: 2021-06-21T04:53:12Z

Top-Level Structure

  • cryptos: 10
  • tests: 7
  • [root]: 4

File Extension Profile

  • .py: 18
  • .gitignore: 1
  • .ipynb: 1
  • .md: 1

Tags / Release-Like Markers

  • No git tags found in the shallow local clone.

Sample File Tree

  • .gitignore
  • blog.ipynb
  • cryptos/__init__.py
  • cryptos/bitcoin.py
  • cryptos/block.py
  • cryptos/curves.py
  • cryptos/ecdsa.py
  • cryptos/keys.py
  • cryptos/network.py
  • cryptos/ripemd160.py
  • cryptos/sha256.py
  • cryptos/transaction.py
  • getnewaddress.py
  • README.md
  • tests/__init__.py
  • tests/test_block.py
  • tests/test_ecdsa.py
  • tests/test_hash.py
  • tests/test_keys.py
  • tests/test_network.py
  • tests/test_tx.py

Public Handling Notes

  • EXTRACTED: This page records public metadata and a source-grounded summary.
  • INFERRED: Full local preservation, when available, is for private/local use unless a license or explicit source policy makes public redistribution safe.
  • Do not treat this page as permission to republish unlicensed source text or code wholesale.