3 ms·
Of course there's a script; every bitcoin tx output has a script. These challenges use the standard P2PKH script, i.e.: scriptPubKey: OP_DUP OP_HASH160 <pub
by greyface- 14d ago
Of course there's a script; every bitcoin tx output has a script. These challenges use the standard P2PKH script, i.e.:
scriptPubKey: OP_DUP OP_HASH160 <pubKeyHash> OP_EQUALVERIFY OP_CHECKSIG
scriptSig: <sig> <pubKey>
https://en.bitcoin.it/wiki/Script https://en.bitcoin.it/wiki/Script
- tromp 14d agoNot every bitcoin tx output. With taproot (P2TR), scripts are optional, and outputs can be based solely on Schnorr signatures.
- greyface- 14d agoP2TR outputs have a script that always starts with OP_1. That script may or may not commit to a tapscript.
- LiamPowell 13d agoYou know what I mean, there's no clever on-chain reward script.