This Jupyter notebook demonstrates how to work with Bitcoin transactions using pure Python, without relying on external Bitcoin libraries.
-
Key Generation
- Create private keys
- Derive public keys using elliptic curve cryptography
-
Bitcoin Address Creation
- Generate legacy Bitcoin addresses
- Implement proper address encoding with checksums
-
Raw Transaction Creation
- Build transaction structures from scratch
- Sign transactions
- Serialize transactions for broadcasting
- Python 3.x
- Jupyter Notebook
- Clone this repository
- Open the Jupyter notebook
- Follow along with the step-by-step explanations
This notebook is designed to help understand the underlying mechanics of:
- Bitcoin key pairs
- Address generation
- Transaction structure
- Digital signatures in Bitcoin
This is for educational purposes only. For real Bitcoin transactions, please use well-tested libraries and follow security best practices.