this is locking script for P2WPKH Pay-to-Witness-Public-Key-Hash address (SegWit). Can anyone help me understand how to spend utxo in bitcoin core command line? how to create signature or sign and what to sign? I know I have to sign input for new transaction, but I'm stuck here.
<locktime1> OP_CHECKLOCKTIMEVERIFY OP_DROP OP_IF <pubkeyAlice> OP_CHECKSIG OP_ELSE <locktime1+24hours> OP_CHECKLOCKTIMEVERIFY OP_DROP <pubkeyBob> OP_CHECKSIG OP_ENDIF
????
[link] [comments]

You can get bonuses upto $100 FREE BONUS when you:
💰 Install these recommended apps:
💲 SocialGood - 100% Crypto Back on Everyday Shopping
💲 xPortal - The DeFi For The Next Billion
💲 CryptoTab Browser - Lightweight, fast, and ready to mine!
💰 Register on these recommended exchanges:
🟡 Binance🟡 Bitfinex🟡 Bitmart🟡 Bittrex🟡 Bitget
🟡 CoinEx🟡 Crypto.com🟡 Gate.io🟡 Huobi🟡 Kucoin.
Comments