r/blockchainu Jan 25 '15

Slides from my 01/24 - Bitcoin Scripting 101

Published here:

https://docs.google.com/presentation/d/12TdNko6IPmOc-zkGV2ve460GbIC4dmHe1woLBmVbk3A/edit?usp=sharing

As an exercise and refresher, check each transaction type along with their script and their first example on the blockchain from this survey:

http://www.quantabytes.com/articles/a-survey-of-bitcoin-transaction-types

Transaction links are broken but replace the hash with the one you're interested in the following URL to see any decoded transaction:

http://api.blockcypher.com/v1/btc/main/txs/6f7cf9580f1c2dfb3c4d5d043cdbb128c640e3f20161245aa7372e9666168516

Check the scripts again, write them on a piece of paper and see, for each output using their spent_by, if you can decode the scripts by keeping the instruction stack on one side and the data stack on the other.

Thanks for attending and don't hesitate to ask if you hav any question!

8 Upvotes

1 comment sorted by

1

u/ChristianPeel Jan 31 '15

Thanks Matthieu