/btc-script-workshop

Basic demonstration of an oracle-based smart contract using bitcoin script, with links and resources.

Primary LanguageHTMLCreative Commons Zero v1.0 UniversalCC0-1.0

BTC Script Workshop

Basic demonstration of an oracle-based smart contract using bitcoin script, with links and resources.

Slideshow

https://tinyurl.com/btc-script-workshop/

How to use

Open oracle.html in your favorite browser. Open TWO copies of players.html (copy 1, copy 2) in TWO DIFFERENT BROWSERS. Then open the developer console (ctrl+shift+i on chrome and firefox) in each copy of players.html. Click Play in both and follow the instructions.

How-to-make video

https://www.youtube.com/watch?v=cHLXK5HjCVg

Resources

Nick Szabo, “Smart Contracts: Building Blocks for Digital Markets,” 1996
https://www.fon.hum.uva.nl/rob/Courses/InformationInSpeech/CDROM/Literature/LOTwinterschool2006/szabo.best.vwh.net/smart_contracts_2.html

Andreas Antonopoulos, “Mastering Bitcoin,” 2014
https://github.com/bitcoinbook/bitcoinbook/

Andreas Antonopoulos, “Advanced Bitcoin Scripting -- Part 1: Transactions & Multisig,” 2017
https://www.youtube.com/watch?v=8FeAXjkmDcQ

Bitcoin Wiki, “Script,” 2021
https://en.bitcoin.it/wiki/Script