- run bitcoin-abc with:
./bitcoind -regtest -monolithactivationtime=0
- create some UTXOs:
./bitcoin-cli generate 100
- grab one UTXO:
./bitcoin-cli listunspent
(grab the last TXIDs, vout; we will call them here: TXID: 64be40b2688e8767fc62f8556d3b9ee608aae28894b867f8228ac5aa74325aff vout: 0 - create a TX with the script you want to test, using P2SH:
bitcoin-tx -regtest -json -create in=64be40b2688e8767fc62f8556d3b9ee608aae28894b867f8228ac5aa74325aff:0 outscript=49.999:"XOR 1 DUP":S
(last :S is to use P2SH) => hex: 0200000001ff5a3274aac58a22f867b89488e2aa08e69e3b6d55f862fc67878e68b240be640000000000ffffffff01606b042a0100000017a9145944649bbd7f8d554b993e74f7b7884d2c78a2908700000000 - sign it: