cryptos
Pure Python from-scratch zero-dependency implementation of Bitcoin
Cryptos is a pure Python implementation of major Bitcoin concepts built from scratch for educational purposes. It deliberately avoids external dependencies so readers can inspect how the underlying cryptography and protocol mechanics work. The project implements SHA-256, finite-field elliptic-curve mathematics, Bitcoin key generation, addresses, and ECDSA digital signatures. It can parse and inspect legacy and SegWit transaction structures, although its transaction validation is...