mirror of
https://github.com/ChristopherA/Learning-Bitcoin-from-the-Command-Line.git
synced 2025-06-10 09:26:24 +00:00
659 B
659 B
WARNING: The lack of any code Script interpretors is currently halting this section.
8.4: Sending & Spending a Bitcoin Script
If you can't test Bitcoin Scripts in simple APIs and UIs, then you can at least test them by sending and spending sample P2SH transactions on testnet, right? Sort of. This is what you need to do to test Bitcoin Scripts currently, but you'll need some tools from the next Part of the book, so some of this will still remain theoretical.
Writing a Script to Hash Scripts
Sending a P2SH Transaction
From There:
BitCoinJ ScriptBuilder
Spending
[need to successfully send first!]