|
117 | 117 | "output_cmp": "txcreate2.json",
|
118 | 118 | "description": "Parses a transation with no inputs and a single output script (output in json)"
|
119 | 119 | },
|
| 120 | + { "exec": "./bitcoin-tx", |
| 121 | + "args": ["-create", "outscript=0:OP_DROP"], |
| 122 | + "output_cmp": "txcreatescript1.hex", |
| 123 | + "description": "Create a new transaction with a single output script (OP_DROP)" |
| 124 | + }, |
| 125 | + { "exec": "./bitcoin-tx", |
| 126 | + "args": ["-json", "-create", "outscript=0:OP_DROP"], |
| 127 | + "output_cmp": "txcreatescript1.json", |
| 128 | + "description": "Create a new transaction with a single output script (OP_DROP) (output as json)" |
| 129 | + }, |
| 130 | + { "exec": "./bitcoin-tx", |
| 131 | + "args": ["-create", "outscript=0:OP_DROP:S"], |
| 132 | + "output_cmp": "txcreatescript2.hex", |
| 133 | + "description": "Create a new transaction with a single output script (OP_DROP) in a P2SH" |
| 134 | + }, |
| 135 | + { "exec": "./bitcoin-tx", |
| 136 | + "args": ["-json", "-create", "outscript=0:OP_DROP:S"], |
| 137 | + "output_cmp": "txcreatescript2.json", |
| 138 | + "description": "Create a new transaction with a single output script (OP_DROP) in a P2SH (output as json)" |
| 139 | + }, |
| 140 | + { "exec": "./bitcoin-tx", |
| 141 | + "args": ["-create", "outscript=0:OP_DROP:W"], |
| 142 | + "output_cmp": "txcreatescript3.hex", |
| 143 | + "description": "Create a new transaction with a single output script (OP_DROP) in a P2WSH" |
| 144 | + }, |
| 145 | + { "exec": "./bitcoin-tx", |
| 146 | + "args": ["-json", "-create", "outscript=0:OP_DROP:W"], |
| 147 | + "output_cmp": "txcreatescript3.json", |
| 148 | + "description": "Create a new transaction with a single output script (OP_DROP) in a P2WSH (output as json)" |
| 149 | + }, |
| 150 | + { "exec": "./bitcoin-tx", |
| 151 | + "args": ["-create", "outscript=0:OP_DROP:WS"], |
| 152 | + "output_cmp": "txcreatescript4.hex", |
| 153 | + "description": "Create a new transaction with a single output script (OP_DROP) in a P2WSH, wrapped in a P2SH" |
| 154 | + }, |
| 155 | + { "exec": "./bitcoin-tx", |
| 156 | + "args": ["-json", "-create", "outscript=0:OP_DROP:WS"], |
| 157 | + "output_cmp": "txcreatescript4.json", |
| 158 | + "description": "Create a new transaction with a single output script (OP_DROP) in a P2SH, wrapped in a P2SH (output as json)" |
| 159 | + }, |
120 | 160 | { "exec": "./bitcoin-tx",
|
121 | 161 | "args":
|
122 | 162 | ["-create", "nversion=1",
|
|
151 | 191 | "output_cmp": "txcreatesignv2.hex",
|
152 | 192 | "description": "Creates a new transaction with a single input and a single output, and then signs the transaction"
|
153 | 193 | },
|
| 194 | + { "exec": "./bitcoin-tx", |
| 195 | + "args": |
| 196 | + ["-create", "outpubkey=0:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397"], |
| 197 | + "output_cmp": "txcreateoutpubkey1.hex", |
| 198 | + "description": "Creates a new transaction with a single pay-to-pubkey output" |
| 199 | + }, |
| 200 | + { "exec": "./bitcoin-tx", |
| 201 | + "args": |
| 202 | + ["-json", "-create", "outpubkey=0:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397"], |
| 203 | + "output_cmp": "txcreateoutpubkey1.json", |
| 204 | + "description": "Creates a new transaction with a single pay-to-pubkey output (output as json)" |
| 205 | + }, |
| 206 | + { "exec": "./bitcoin-tx", |
| 207 | + "args": |
| 208 | + ["-create", "outpubkey=0:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:W"], |
| 209 | + "output_cmp": "txcreateoutpubkey2.hex", |
| 210 | + "description": "Creates a new transaction with a single pay-to-witness-pubkey output" |
| 211 | + }, |
| 212 | + { "exec": "./bitcoin-tx", |
| 213 | + "args": |
| 214 | + ["-json", "-create", "outpubkey=0:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:W"], |
| 215 | + "output_cmp": "txcreateoutpubkey2.json", |
| 216 | + "description": "Creates a new transaction with a single pay-to-witness-pubkey output (output as json)" |
| 217 | + }, |
| 218 | + { "exec": "./bitcoin-tx", |
| 219 | + "args": |
| 220 | + ["-create", "outpubkey=0:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:WS"], |
| 221 | + "output_cmp": "txcreateoutpubkey3.hex", |
| 222 | + "description": "Creates a new transaction with a single pay-to-witness-pubkey, wrapped in P2SH output" |
| 223 | + }, |
| 224 | + { "exec": "./bitcoin-tx", |
| 225 | + "args": |
| 226 | + ["-json", "-create", "outpubkey=0:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:WS"], |
| 227 | + "output_cmp": "txcreateoutpubkey3.json", |
| 228 | + "description": "Creates a new transaction with a single pay-to-pub-key output, wrapped in P2SH (output as json)" |
| 229 | + }, |
154 | 230 | { "exec": "./bitcoin-tx",
|
155 | 231 | "args":
|
156 | 232 | ["-create",
|
|
236 | 312 | "in=5897de6bd6027a475eadd57019d4e6872c396d0716c4875a5f1a6fcfdf385c1f:0:1"],
|
237 | 313 | "output_cmp": "txcreatedata_seq1.json",
|
238 | 314 | "description": "Adds a new input with sequence number to a transaction (output in json)"
|
| 315 | + }, |
| 316 | + { "exec": "./bitcoin-tx", |
| 317 | + "args": ["-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485"], |
| 318 | + "output_cmp": "txcreatemultisig1.hex", |
| 319 | + "description": "Creates a new transaction with a single 2-of-3 multisig output" |
| 320 | + }, |
| 321 | + { "exec": "./bitcoin-tx", |
| 322 | + "args": ["-json", "-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485"], |
| 323 | + "output_cmp": "txcreatemultisig1.json", |
| 324 | + "description": "Creates a new transaction with a single 2-of-3 multisig output (output in json)" |
| 325 | + }, |
| 326 | + { "exec": "./bitcoin-tx", |
| 327 | + "args": ["-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:S"], |
| 328 | + "output_cmp": "txcreatemultisig2.hex", |
| 329 | + "description": "Creates a new transaction with a single 2-of-3 multisig in a P2SH output" |
| 330 | + }, |
| 331 | + { "exec": "./bitcoin-tx", |
| 332 | + "args": ["-json", "-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:S"], |
| 333 | + "output_cmp": "txcreatemultisig2.json", |
| 334 | + "description": "Creates a new transaction with a single 2-of-3 multisig in a P2SH output (output in json)" |
| 335 | + }, |
| 336 | + { "exec": "./bitcoin-tx", |
| 337 | + "args": ["-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:W"], |
| 338 | + "output_cmp": "txcreatemultisig3.hex", |
| 339 | + "description": "Creates a new transaction with a single 2-of-3 multisig in a P2WSH output" |
| 340 | + }, |
| 341 | + { "exec": "./bitcoin-tx", |
| 342 | + "args": ["-json", "-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:W"], |
| 343 | + "output_cmp": "txcreatemultisig3.json", |
| 344 | + "description": "Creates a new transaction with a single 2-of-3 multisig in a P2WSH output (output in json)" |
| 345 | + }, |
| 346 | + { "exec": "./bitcoin-tx", |
| 347 | + "args": ["-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:WS"], |
| 348 | + "output_cmp": "txcreatemultisig4.hex", |
| 349 | + "description": "Creates a new transaction with a single 2-of-3 multisig in a P2WSH output, wrapped in P2SH" |
| 350 | + }, |
| 351 | + { "exec": "./bitcoin-tx", |
| 352 | + "args": ["-json", "-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:WS"], |
| 353 | + "output_cmp": "txcreatemultisig4.json", |
| 354 | + "description": "Creates a new transaction with a single 2-of-3 multisig in a P2WSH output, wrapped in P2SH (output in json)" |
239 | 355 | }
|
240 | 356 | ]
|
0 commit comments