This project demonstrates how to create and sign a raw Bitcoin transaction using a private key in WIF format.
β οΈ This code is for educational and testing purposes only.
β οΈ Do not use with real funds unless you understand what you're doing.
- Sign a raw Bitcoin transaction (P2PKH)
- Use your own WIF private key
- Customize input/output addresses and amounts
- Optional broadcasting to the Bitcoin network
- Python 3.8+
bitcoinlib
Install dependencies:
pip install -r requirements.txt