This repo contains a series of python jupyter-notebooks to explain how bitcoin transactions are created and signed. The notebooks will start up an instance of bitcoind in regtest mode so that transactions can be validated and broadcasted on regtest. Each notebook has some questions and exercises to test your understanding.
- This work wouldn't have been possible without the funding from chaincode.
- A lot of the code and inspiration for this tutorial comes from Shlomi Zeltsinger, in particular his segwit tutorial, and from Jimmy Song's Programming Bitcoin book.