Advanced Bitcoin Scripting — Part 1: Transactions & Multisig

This is the first part of a more technical talk where Andreas explores Bitcoin script, with examples from the 2nd edition of Mastering Bitcoin, focusing on the use of conditional statements, flow control, guard clauses and time locks. The examples will include advanced multi-signature scripts, hash time lock contracts and asymmetric revocable commitments. Then he answers questions about Bitcoin’s quirky bugs, where Bitcoin differs from Ethereum at a scripting level, how SegWit works, how consensus rules change, and whether Bitcoin is more than just a currency.

The fundamentals of Bitcoin script 2:17
Bitcoin’s operators 5:00
Creating transactions (P2PKH – Pay to Public Key Hash) 6:30
Public Key CheckSigs, security by obfuscating public keys 7:42
Redeeming the script 9:05
The RIPEMD160 hash operation 12:05
OP_EQUALVERIFY, OP_CHECKSIG, & the elliptic curve digital signature algorithm (ECDSA) 14:05
Summary 18:30
Illustrating scripts: Equal, EqualVerify, CheckSig, CheckVerify, CheckMultisig, CheckLockTimeVerify 19:45
Guard clauses 23:02
Script-based timelocks 24:53
Flow control statements, interactive artificial intelligence 26:50
If, Else, EndIf 28:35
Unlocking scripts, what conditional flows do in Bitcoin 33:55
1-of-2 multi-signature script 35:44
1-of-2 multi-signature script with guard clause 38:28
2-of-3 multi-signature script 41:30
2-of-3 multi-signature script with timelock guard clause 43:20
BIP-113, how time is referenced in Bitcoin 44:42
Backup clause & other nuances in multi-signature schemes 46:58
Game theory, complexity from simplicity 52:36
2-of-3 multi-signature script, unlocking 53:45

(Visited 284 times, 1 visits today)

You might be interested in

LEAVE YOUR COMMENT

Your email address will not be published. Required fields are marked *

eos
EOS (EOS) 0,790330 0,11%
aave
Aave (AAVE) 85,31 4,79%
the-graph
The Graph (GRT) 0,253813 8,17%
kusama
Kusama (KSM) 27,67 8,91%
waves
Waves (WAVES) 2,30 6,23%
dash
Dash (DASH) 28,32 3,97%
bitcoin
Bitcoin (BTC) 60.280,52 3,44%
ethereum
Ethereum (ETH) 2.952,22 2,29%
cardano
Cardano (ADA) 0,446430 5,38%
tether
Tether (USDT) 0,933589 0,06%
xrp
XRP (XRP) 0,494524 2,99%
solana
Solana (SOL) 138,84 5,28%
polkadot
Polkadot (DOT) 6,52 4,27%
usd-coin
USDC (USDC) 0,934257 0,02%
dogecoin
Dogecoin (DOGE) 0,142432 5,46%
uniswap
Uniswap (UNI) 7,27 3,51%
terra-luna
Terra Luna Classic (LUNC) 0,000098 6,19%
litecoin
Litecoin (LTC) 78,06 2,57%
chainlink
Chainlink (LINK) 13,65 4,38%
bitcoin-cash
Bitcoin Cash (BCH) 451,15 5,08%
algorand
Algorand (ALGO) 0,194552 1,71%
matic-network
Polygon (MATIC) 0,665166 3,60%
stellar
Stellar (XLM) 0,107583 2,66%
cosmos
Cosmos Hub (ATOM) 7,93 2,81%
filecoin
Filecoin (FIL) 5,69 5,52%
tron
TRON (TRX) 0,106414 0,98%
ethereum-classic
Ethereum Classic (ETC) 24,65 7,01%
dai
Dai (DAI) 0,934234 0,03%
tezos
Tezos (XTZ) 0,945562 4,84%
monero
Monero (XMR) 111,24 1,99%