Skip to content

Debugging Bitcoin Scripts

Runchao Han edited this page Apr 28, 2019 · 2 revisions

https://siminchen.github.io/bitcoinIDE/build/editor.html

Examples

P2PKH tx

Format:

Input: <sig> <pubkey>
Output: OP_DUP OP_HASH160 <pubkeyhash> OP_EQUALVERIFY OP_CHECKSIG
Total: <sig> <pubkey> OP_DUP OP_HASH160 <pubkeyhash> OP_EQUALVERIFY OP_CHECKSIG

Real example:

304502206e21798a42fae0e854281abd38bacd1aeed3ee3738d9e1446618c4571d10 90db022100e2ac980643b0b82c0e88ffdfec6b64e3e6ba35e7ba5fdd7d5d6cc8d25c6b241501 OP_DUP OP_HASH160 6F6C7697C8F93D72D3D8286195DD2C261BDEF075 OP_EQUALVERIFY OP_CHECKSIG
Clone this wiki locally