-
Notifications
You must be signed in to change notification settings - Fork 119
Spending from cold storage, P2SH or other exotic inputs with CoinJoin
create-unsigned-tx.py
is a script that creates CoinJoin transactions that spend from user-given input UTXOs (Unspent Transaction Outputs). The script returns a partially-signed transaction which the user has to sign and broadcast themselves using other tools.
Example uses are for spending from cold storage where the private key must not be on an internet-connected machine, or for spending from a p2sh multisig address where multiple people must sign the transaction. The script obtains transaction inputs and signatures from makers. Note that makers are under no obligation not to double-spend their inputs until they see a complete transaction broadcast on the bitcoin network. If those makers get another coinjoin deal, they may use the same UTXOs. Therefore a user of create-unsigned-tx.py
must be quick in signing and broadcasting their transaction.
Warning: Directly manipulating ECDSA private keys and bitcoin raw transaction is dangerous and can result in losing money. See discussion here and here. This script is for advanced users only. Always carefully check transactions before signing and broadcasting them.
Testnet is used for all examples here. It's highly recommended to get comfortable with them before trying this with real bitcoins. Read python create-unsigned-tx.py --help
for a detailed view of the options and ordering of arguments. Many options are similar to ones used in sendpayment.py
In the JoinMarket protocol, a taker must send a PoDLE commitment hash of a UTXO to makers. For all the details see the article on commitments to UTXOs. The quick summary is that to use create-unsigned-tx.py
you'll need a UTXO that lives on a pay-to-pubkey-hash address (that starts with 1) with a value at least 20% of the coinjoin amount you intend to send and it needs to have at least 5 confirmations.
These commitments must be created using the add-utxo.py
tool before using create-unsigned-tx.py
in the cmttools
directory in JoinMarket's root. They are stored in and read from the file commitments.json
in the same directory.
Say we have coins in cold storage that we want to spent without their private keys touching the internet. This section is how to spend from them with a coinjoin created by JoinMarket.
We have a coin on cold storage address mwvrsQkPWQFdMfYShxZuUH76SMzFubrviF
and it's worth 1btc. The corresponding private keys is cQPsNTqsXpAdH9Z5qayUNTjxJRhLWXMmwZYfBi9F2Nf5ymiRWhMY
. We will spend this coin in the coinjoin and also use it to create a PoDLE commitment hash. The UTXO can be found using the listunspent
command on many popular wallets like Bitcoin Core or Electrum, or looked up with a blockchain explorer.
In our situation we use listunspent
on Bitcoin Core having previously used importaddress
with the cold storage address.
listunspent
[
{
"txid": "27fa37f165b7dabba079fa7ac2df83963fe4109d0bef9d182a4047dbaa02441e",
"vout": 0,
"address": "mwvrsQkPWQFdMfYShxZuUH76SMzFubrviF",
"account": "",
"scriptPubKey": "76a914b40777973aa73776a7a4d6d7bb5fa421a311f1c688ac",
"amount": 1.00000000,
"confirmations": 5,
"spendable": false,
"solvable": false
}
]
From there we see the UTXO is 27fa37f165b7dabba079fa7ac2df83963fe4109d0bef9d182a4047dbaa02441e:0
.
On the cold storage machine we install JoinMarket and navigate to the cmttools
directory.
joinmarket/cmttools$ echo "27fa37f165b7dabba079fa7ac2df83963fe4109d0bef9d182a4047dbaa02441e:0,cQPsNTqsXpAdH9Z5qayUNTjxJRhLWXMmwZYfBi9F2Nf5ymiRWhMY" | python add-utxo.py -r /dev/stdin
done
joinmarket/cmttools$
Then we transfer the commitments.json
file over to our internet-connected computer.
We will send 0.75btc to n1V19zGgAMpgxrmPK6du2TCFAsyqPDkuV7
with leftover change sent back to cold storage at mosvk9f5U7GPZZq5ha5nRXFWXE1QXqG3xk
.
$ python create-unsigned-tx.py -N 2 75000000 n1V19zGgAMpgxrmPK6du2TCFAsyqPDkuV7 mosvk9f5U7GPZZq5ha5nRXFWXE1QXqG3xk 27fa37f165b7dabba079fa7ac2df83963fe4109d0bef9d182a4047dbaa02441e:0
Allow the bot to connect to the marketplace and create the coinjoin deal. Finally we see
2017-03-11 22:45:39,408 [MCThread ] [INFO ] all makers have sent their signatures unsigned tx =
01000000094cd86a6077aafefc48762db5fd771011e092f8a834be3efc1a81338dee62ed7b010000006b483045022100eaa549d8b44c1b567a2f1b8bdd0edf56a55b0ac9377107b70c3ca6ddc3ce10890220028f9f099be8e58e339dbc9d9903c49a9f83d70b4e1dfd8222777c23100e40420121023a9a820a16de75760f43485af1eb15b3132118e9dec7322747c5d3ddc1c995feffffffffa21ae3213866166e73de8ca5acb910b0ea612b9ca81e85d6383a1e166dcc116c010000006a4730440220594ca551fb47a5341b3a4044f64b9862030accb4d6c866ccbd5d3311b3204d8802205f77c836fc4123ded8df77c7095157e335d053d56adb2714b2cef155f65651940121029b48b8a9685f9f781b82155fb76872e2a003eddbeb8f9fa45fe9eeac78d71be9ffffffff783a0a800be831af23cfe5d6ad74dd863fe5e6ae96adae94d20144699c7b1f62010000006b483045022100855548c321071bccad0d9cfeeb9798b39d7f4ebb22728b478aeafc8935bfeb20022013f0801b6fe4f8482e46710e82e0ee5f6a3c2c7c8396e640490d2372b33f3e32012102a4b0c25cb008ba02a251d237e56d171f6d302cf9db7c034756b4453ed76ef79cffffffff5c1830dd950bfd2acaf132a84a856cdbb881c0109928f577acd3c1de8fb030dd000000006b483045022100c736eb76546ee2c65b2c75d02e6b22977902f6227c036035100b6fde8826c09702200aaae019fbff84a1cdfaa07249a55421cbc7d0ab2364345840ddaf3f31598ad201210315353bfd96f199b8fec0dd591c40e3f9659353927ba5b280739be1b944dfcfd8ffffffffb17bec638799a1676559f01bc2e46ffcdf6e603615e99f77c6475de0de830831030000006a47304402205a5aac8b96aa91e89571e42833549a7398d37a22e23163a02f1202c7e3863f550220580a4c304d434f1286de9ac200132fa16e44eca45227401e62d1bcfafe70fd9701210326e17ae0136ccf2be0a6e434071d95aa6d54755e5fd75fcdd2cb0feed12617e2ffffffff0812fb7157a02af0dbc4d6573e89ed6b3c95cbf3b8144a1302072f9d6cb57464020000006b483045022100f05c53a530d731166d333aafb69bfe5de7b0b380cf19116e01535ba24c41054b022002e4ae263f5c8eefa3b5c97989ce19fa689fd83fc0bbcdaa8c94460e428f1e7d012102f5833b95f0e21fd636eb60184094ff7d9d5124b27d52f95005bf6f6416c0ad62ffffffff05a29f9d97a75a601d774ed6c776a8feeffb8fc750bf41fe5b8ed316c050a0bd020000006a4730440220294c5c3b029fed087879acb158f823b10e4fc44bc257c172ab2bf0d7956dd9f10220674ffad230fefca5586d58c0bfe9226996dade4da7862574d601cb1e4f0c465d012102fbb573270edcbce7d4cd867e8221843d63e72641260697f59a672cafc254e639ffffffff1e4402aadb47402a189def0b9d10e43f9683dfc27afa79a0bbdab765f137fa270000000000ffffffff2d0c39c4d35b574624cded4868e9ae59d4162d6acc2f24883ce7d0379bc070b8040000006b483045022100fc30c145a08edec81ffca414e3bc23e6996528aa08b03217275812784cd07e9e02200ae59dad61959008ebfbc955ea48cde5975eb4d131c55f29ab6750410a77426d01210218ffb4b509af6e298df1f0acc295a5d30240ac4bdd4537efe13b2cf76aa0e3acffffffff067f0a7a01000000001976a9145bb87291b8d83f474fb826b4f375f642e7b2d19688acc0687804000000001976a914817c1724fe00e3d93e38a7dbc41bc5c72817a2b088acc0687804000000001976a914f0089a83843f82adbef71a82ff45ba5311af9c0888ac1ea33d00000000001976a9148e0c50432ef4c9b4be6d5d7577063a061ed18a7d88acc0687804000000001976a914db04126aa9208e051b75587ab9b0c691080409b688acf0325519000000001976a9144f6aa4d85de93c632c5f59f406e587e5406c871288ac00000000
That transaction hex string can be transferred to the cold storage machine and signed in the usual way. After broadcasting the result is https://tbtc.blockr.io/tx/info/2c917842299070dd6e26128f24fc1692170fec9b5e71deb0b9bb0a2b271f6c69
It is worth understanding non-coinjoin multisig transactions first, read TwoOfThree.sh
A 2-of-3 multisig address is created from the public keys 0279bd36696163ccb27f7be9cd594a88262bb30642d04bdb350318d68103f2a4a8
, 02eff2029dc2132552730e6cd4ad150f755fbae611d4fc04265565613c40559a7a
and 0324cb6e9acb00e5038294f783007921fe5889f48cbf11ba5eb21c6fb8ae519b57
. The corresponding private keys of the first two are cVT1rGQJbEZTj8tqxdvg85ydEfFZz4ALaCXFhjtBoCFTBtcgGnyn
and cTeBxWZWEv877jy36kUvCCNki87Bbjyjge1NXQnu8AbaxQkz5FZD
.
We use the Bitcoin Core RPC console.
createmultisig 2 '["0279bd36696163ccb27f7be9cd594a88262bb30642d04bdb350318d68103f2a4a8", "02eff2029dc2132552730e6cd4ad150f755fbae611d4fc04265565613c40559a7a", "0324cb6e9acb00e5038294f783007921fe5889f48cbf11ba5eb21c6fb8ae519b57"]'
{
"address" : "2NFyzzP4zZUystfEAjoPKyY9zC13scjfGxB",
"redeemScript" : "52210279bd36696163ccb27f7be9cd594a88262bb30642d04bdb350318d68103f2a4a82102eff2029dc2132552730e6cd4ad150f755fbae611d4fc04265565613c40559a7a210324cb6e9acb00e5038294f783007921fe5889f48cbf11ba5eb21c6fb8ae519b5753ae"
}
We send 0.07 btc and 0.03 btc to the address 2NFyzzP4zZUystfEAjoPKyY9zC13scjfGxB
which results in UTXOs 2d5ad182e2bbfb7b69473a21ab11699f1ef48711f58ed8dc9ef0af00bd54e03c:0
and 0e5191c7ca9a7f2802ebcac8fd94758baaea60be351112f39cd0c3cdbcb996d7:0
.
We also need to obtain PoDLE commitment hashes, get them from our normal joinmarket wallet.
$ python add-utxo.py -w testnet-wallet.json
done
$
We want to send the entire amount from the multisig address to mqZa1zbDg5RHVYbX6ea1QxPuuxAyuGVSoK
.
$ python create-unsigned-tx.py -N 2 0 mqZa1zbDg5RHVYbX6ea1QxPuuxAyuGVSoK anything-here 2d5ad182e2bbfb7b69473a21ab11699f1ef48711f58ed8dc9ef0af00bd54e03c:0 0e5191c7ca9a7f2802ebcac8fd94758baaea60be351112f39cd0c3cdbcb996d7:0
The resulting unsigned transaction hex is
010000000821800f002cb4930cc5ca85d93f7f8236f0089685ee93e06e36dbf5999f44a5f0030000006b483045022100c8bf73448c2720ced5a02675f81cd00cf7c4aeb9ddb5a15f2642299fbe799cba022029e6f9df06b92704a1e3ae884242b26be8e51d1e908e71f7917f7012a75ff560012103d6c94dd4baeb12debcdfa842ec645c9bca2ede2f863360e31752ebc18252913affffffff31e86ecb71c1f1550993f1899d7b85491550ba1c7dc4b7b66a1bf7d2d641f1e4020000006a4730440220115500861944b910de01fd29bf497597aebaf31871200020ec936bace95adb55022079152e974fdd09c849a9140898437ccf7dd4cf23785fe2a90015e4f5361cdf3f01210362118453a8887dd2e7c0795835956142ec87358134d052f29184998707379042fffffffff6ba9a6dead1b5fef6bb58b6513db041afc89399b6b21ac728ed35294a9194ba000000006b483045022100957899b29485cc9268b160feb55edebe223020ce8391dab0c4cc00521a6331660220487af34b487e6adf328cade86dbbb7baf7ecec73b3722cbc6ccf1ec0b6e3110c01210365e7b9793702d98bf65aa8a951fc4a7a84807bc5696c679ca0b426575733a537ffffffff3ce054bd00aff09edcd88ef51187f41e9f6911ab213a47697bfbbbe282d15a2d0000000000ffffffff76a785df825f05b9a70244fa91b04889607a30c55c86aab298310cea8e20d9c2010000006a47304402202c63db6dd83d07b203ab2b3bd3efd5243e98638efa160472d7c6ba9e1bd8d0f102204cef8eb4243d583a1f304b697230a58627078eed9a294d183e4de4ba1dd1fd5f0121024e42704d5afc7e3e83f47ac718003e6d98e0c58de2a32a17bbbf71fd0bd90fb6ffffffff50aea12eed61fdadfc945f68fbfc4d1285caa0ededb79949e1658391437e0a44020000006a47304402201027f27411f0ed35e8239ed20065be0616c5e91b82a95e8267bd11a4d0738f020220665746a1887ec087e5e91441bb47b6894ec9cb1dbd0c9155f60266a47083b26101210350a14f9d47067b51abe9acbdaa80eab0c06888b0db190c94ddce1d27302915f3ffffffffd796b9bccdc3d09cf3121135be60eaaa8b7594fdc8caeb02287f9acac791510e0000000000ffffffff50aea12eed61fdadfc945f68fbfc4d1285caa0ededb79949e1658391437e0a440000000069463043021f442e4e9f45bef2b1baa467d863e1868baac38bf55c5b610bb0d8aedc7450ce0220488a40501a399b2882e3ae6ce660545155d6ea333ccf50c678d3cddee78df7880121031b90bff647b6b8d9f8901f14e0ddec2c9ce781f9383be31ce0eab0d9647d8045ffffffff0576cd0200000000001976a914afca0563c90db0ea361bafc988bb23d0bdebbd3388ac4bf09800000000001976a914c8eefa8bd134f51835eed8b1329c39c2978b355988ac99409800000000001976a9146e2fe8ef5dcb05fd258e2f51d3f15ba3781cd96b88ac99409800000000001976a914914ffa01a76a7d447071c9a894988e2bf5fa1c6c88ac99409800000000001976a914b209c4ed7370e32e291d243347ce0305441b086f88ac00000000
We use Bitcoin Core RPC calls to sign the multisig input. Note that the scriptPubKey of the address 2NFyzzP4zZUystfEAjoPKyY9zC13scjfGxB
is a914f969cd9b18361045971850f24db504caa778ea6987
. It is simply the decoded bitcoin address, it can be found by using the gettxout
or listunspent
RPC calls, or the address_to_script
method from pybitcointools.
Note: signing multisig transaction with signrawtransaction
only works with Bitcoin Core v0.10.3 and earlier until a bug is fixed.
We sign the first and second UTXO with the first private key.
signrawtransaction '010000000821800f002cb4930cc5ca85d93f7f8236f0089685ee93e06e36dbf5999f44a5f0030000006b483045022100c8bf73448c2720ced5a02675f81cd00cf7c4aeb9ddb5a15f2642299fbe799cba022029e6f9df06b92704a1e3ae884242b26be8e51d1e908e71f7917f7012a75ff560012103d6c94dd4baeb12debcdfa842ec645c9bca2ede2f863360e31752ebc18252913affffffff31e86ecb71c1f1550993f1899d7b85491550ba1c7dc4b7b66a1bf7d2d641f1e4020000006a4730440220115500861944b910de01fd29bf497597aebaf31871200020ec936bace95adb55022079152e974fdd09c849a9140898437ccf7dd4cf23785fe2a90015e4f5361cdf3f01210362118453a8887dd2e7c0795835956142ec87358134d052f29184998707379042fffffffff6ba9a6dead1b5fef6bb58b6513db041afc89399b6b21ac728ed35294a9194ba000000006b483045022100957899b29485cc9268b160feb55edebe223020ce8391dab0c4cc00521a6331660220487af34b487e6adf328cade86dbbb7baf7ecec73b3722cbc6ccf1ec0b6e3110c01210365e7b9793702d98bf65aa8a951fc4a7a84807bc5696c679ca0b426575733a537ffffffff3ce054bd00aff09edcd88ef51187f41e9f6911ab213a47697bfbbbe282d15a2d0000000000ffffffff76a785df825f05b9a70244fa91b04889607a30c55c86aab298310cea8e20d9c2010000006a47304402202c63db6dd83d07b203ab2b3bd3efd5243e98638efa160472d7c6ba9e1bd8d0f102204cef8eb4243d583a1f304b697230a58627078eed9a294d183e4de4ba1dd1fd5f0121024e42704d5afc7e3e83f47ac718003e6d98e0c58de2a32a17bbbf71fd0bd90fb6ffffffff50aea12eed61fdadfc945f68fbfc4d1285caa0ededb79949e1658391437e0a44020000006a47304402201027f27411f0ed35e8239ed20065be0616c5e91b82a95e8267bd11a4d0738f020220665746a1887ec087e5e91441bb47b6894ec9cb1dbd0c9155f60266a47083b26101210350a14f9d47067b51abe9acbdaa80eab0c06888b0db190c94ddce1d27302915f3ffffffffd796b9bccdc3d09cf3121135be60eaaa8b7594fdc8caeb02287f9acac791510e0000000000ffffffff50aea12eed61fdadfc945f68fbfc4d1285caa0ededb79949e1658391437e0a440000000069463043021f442e4e9f45bef2b1baa467d863e1868baac38bf55c5b610bb0d8aedc7450ce0220488a40501a399b2882e3ae6ce660545155d6ea333ccf50c678d3cddee78df7880121031b90bff647b6b8d9f8901f14e0ddec2c9ce781f9383be31ce0eab0d9647d8045ffffffff0576cd0200000000001976a914afca0563c90db0ea361bafc988bb23d0bdebbd3388ac4bf09800000000001976a914c8eefa8bd134f51835eed8b1329c39c2978b355988ac99409800000000001976a9146e2fe8ef5dcb05fd258e2f51d3f15ba3781cd96b88ac99409800000000001976a914914ffa01a76a7d447071c9a894988e2bf5fa1c6c88ac99409800000000001976a914b209c4ed7370e32e291d243347ce0305441b086f88ac00000000' '[{"txid":"2d5ad182e2bbfb7b69473a21ab11699f1ef48711f58ed8dc9ef0af00bd54e03c","vout":0,"scriptPubKey":"a914f969cd9b18361045971850f24db504caa778ea6987","redeemScript":"52210279bd36696163ccb27f7be9cd594a88262bb30642d04bdb350318d68103f2a4a82102eff2029dc2132552730e6cd4ad150f755fbae611d4fc04265565613c40559a7a210324cb6e9acb00e5038294f783007921fe5889f48cbf11ba5eb21c6fb8ae519b5753ae"}]' '["cVT1rGQJbEZTj8tqxdvg85ydEfFZz4ALaCXFhjtBoCFTBtcgGnyn"]'
{
"hex" : "010000000821800f002cb4930cc5ca85d93f7f8236f0089685ee93e06e36dbf5999f44a5f0030000006b483045022100c8bf73448c2720ced5a02675f81cd00cf7c4aeb9ddb5a15f2642299fbe799cba022029e6f9df06b92704a1e3ae884242b26be8e51d1e908e71f7917f7012a75ff560012103d6c94dd4baeb12debcdfa842ec645c9bca2ede2f863360e31752ebc18252913affffffff31e86ecb71c1f1550993f1899d7b85491550ba1c7dc4b7b66a1bf7d2d641f1e4020000006a4730440220115500861944b910de01fd29bf497597aebaf31871200020ec936bace95adb55022079152e974fdd09c849a9140898437ccf7dd4cf23785fe2a90015e4f5361cdf3f01210362118453a8887dd2e7c0795835956142ec87358134d052f29184998707379042fffffffff6ba9a6dead1b5fef6bb58b6513db041afc89399b6b21ac728ed35294a9194ba000000006b483045022100957899b29485cc9268b160feb55edebe223020ce8391dab0c4cc00521a6331660220487af34b487e6adf328cade86dbbb7baf7ecec73b3722cbc6ccf1ec0b6e3110c01210365e7b9793702d98bf65aa8a951fc4a7a84807bc5696c679ca0b426575733a537ffffffff3ce054bd00aff09edcd88ef51187f41e9f6911ab213a47697bfbbbe282d15a2d00000000b400473044022032822dc05d98f3048e06839a7475219d6d7c6fd9b720e4d926b45f0dd1d3e94802205b02d5ef2d7ee79f93c0d54ca026e8eb3bcfdf0e895a72d50e983692fdf5fd84014c6952210279bd36696163ccb27f7be9cd594a88262bb30642d04bdb350318d68103f2a4a82102eff2029dc2132552730e6cd4ad150f755fbae611d4fc04265565613c40559a7a210324cb6e9acb00e5038294f783007921fe5889f48cbf11ba5eb21c6fb8ae519b5753aeffffffff76a785df825f05b9a70244fa91b04889607a30c55c86aab298310cea8e20d9c2010000006a47304402202c63db6dd83d07b203ab2b3bd3efd5243e98638efa160472d7c6ba9e1bd8d0f102204cef8eb4243d583a1f304b697230a58627078eed9a294d183e4de4ba1dd1fd5f0121024e42704d5afc7e3e83f47ac718003e6d98e0c58de2a32a17bbbf71fd0bd90fb6ffffffff50aea12eed61fdadfc945f68fbfc4d1285caa0ededb79949e1658391437e0a44020000006a47304402201027f27411f0ed35e8239ed20065be0616c5e91b82a95e8267bd11a4d0738f020220665746a1887ec087e5e91441bb47b6894ec9cb1dbd0c9155f60266a47083b26101210350a14f9d47067b51abe9acbdaa80eab0c06888b0db190c94ddce1d27302915f3ffffffffd796b9bccdc3d09cf3121135be60eaaa8b7594fdc8caeb02287f9acac791510e0000000000ffffffff50aea12eed61fdadfc945f68fbfc4d1285caa0ededb79949e1658391437e0a440000000069463043021f442e4e9f45bef2b1baa467d863e1868baac38bf55c5b610bb0d8aedc7450ce0220488a40501a399b2882e3ae6ce660545155d6ea333ccf50c678d3cddee78df7880121031b90bff647b6b8d9f8901f14e0ddec2c9ce781f9383be31ce0eab0d9647d8045ffffffff0576cd0200000000001976a914afca0563c90db0ea361bafc988bb23d0bdebbd3388ac4bf09800000000001976a914c8eefa8bd134f51835eed8b1329c39c2978b355988ac99409800000000001976a9146e2fe8ef5dcb05fd258e2f51d3f15ba3781cd96b88ac99409800000000001976a914914ffa01a76a7d447071c9a894988e2bf5fa1c6c88ac99409800000000001976a914b209c4ed7370e32e291d243347ce0305441b086f88ac00000000",
"complete" : false
}
signrawtransaction '010000000821800f002cb4930cc5ca85d93f7f8236f0089685ee93e06e36dbf5999f44a5f0030000006b483045022100c8bf73448c2720ced5a02675f81cd00cf7c4aeb9ddb5a15f2642299fbe799cba022029e6f9df06b92704a1e3ae884242b26be8e51d1e908e71f7917f7012a75ff560012103d6c94dd4baeb12debcdfa842ec645c9bca2ede2f863360e31752ebc18252913affffffff31e86ecb71c1f1550993f1899d7b85491550ba1c7dc4b7b66a1bf7d2d641f1e4020000006a4730440220115500861944b910de01fd29bf497597aebaf31871200020ec936bace95adb55022079152e974fdd09c849a9140898437ccf7dd4cf23785fe2a90015e4f5361cdf3f01210362118453a8887dd2e7c0795835956142ec87358134d052f29184998707379042fffffffff6ba9a6dead1b5fef6bb58b6513db041afc89399b6b21ac728ed35294a9194ba000000006b483045022100957899b29485cc9268b160feb55edebe223020ce8391dab0c4cc00521a6331660220487af34b487e6adf328cade86dbbb7baf7ecec73b3722cbc6ccf1ec0b6e3110c01210365e7b9793702d98bf65aa8a951fc4a7a84807bc5696c679ca0b426575733a537ffffffff3ce054bd00aff09edcd88ef51187f41e9f6911ab213a47697bfbbbe282d15a2d00000000b400473044022032822dc05d98f3048e06839a7475219d6d7c6fd9b720e4d926b45f0dd1d3e94802205b02d5ef2d7ee79f93c0d54ca026e8eb3bcfdf0e895a72d50e983692fdf5fd84014c6952210279bd36696163ccb27f7be9cd594a88262bb30642d04bdb350318d68103f2a4a82102eff2029dc2132552730e6cd4ad150f755fbae611d4fc04265565613c40559a7a210324cb6e9acb00e5038294f783007921fe5889f48cbf11ba5eb21c6fb8ae519b5753aeffffffff76a785df825f05b9a70244fa91b04889607a30c55c86aab298310cea8e20d9c2010000006a47304402202c63db6dd83d07b203ab2b3bd3efd5243e98638efa160472d7c6ba9e1bd8d0f102204cef8eb4243d583a1f304b697230a58627078eed9a294d183e4de4ba1dd1fd5f0121024e42704d5afc7e3e83f47ac718003e6d98e0c58de2a32a17bbbf71fd0bd90fb6ffffffff50aea12eed61fdadfc945f68fbfc4d1285caa0ededb79949e1658391437e0a44020000006a47304402201027f27411f0ed35e8239ed20065be0616c5e91b82a95e8267bd11a4d0738f020220665746a1887ec087e5e91441bb47b6894ec9cb1dbd0c9155f60266a47083b26101210350a14f9d47067b51abe9acbdaa80eab0c06888b0db190c94ddce1d27302915f3ffffffffd796b9bccdc3d09cf3121135be60eaaa8b7594fdc8caeb02287f9acac791510e0000000000ffffffff50aea12eed61fdadfc945f68fbfc4d1285caa0ededb79949e1658391437e0a440000000069463043021f442e4e9f45bef2b1baa467d863e1868baac38bf55c5b610bb0d8aedc7450ce0220488a40501a399b2882e3ae6ce660545155d6ea333ccf50c678d3cddee78df7880121031b90bff647b6b8d9f8901f14e0ddec2c9ce781f9383be31ce0eab0d9647d8045ffffffff0576cd0200000000001976a914afca0563c90db0ea361bafc988bb23d0bdebbd3388ac4bf09800000000001976a914c8eefa8bd134f51835eed8b1329c39c2978b355988ac99409800000000001976a9146e2fe8ef5dcb05fd258e2f51d3f15ba3781cd96b88ac99409800000000001976a914914ffa01a76a7d447071c9a894988e2bf5fa1c6c88ac99409800000000001976a914b209c4ed7370e32e291d243347ce0305441b086f88ac00000000' '[{"txid":"0e5191c7ca9a7f2802ebcac8fd94758baaea60be351112f39cd0c3cdbcb996d7","vout":0,"scriptPubKey":"a914f969cd9b18361045971850f24db504caa778ea6987","redeemScript":"52210279bd36696163ccb27f7be9cd594a88262bb30642d04bdb350318d68103f2a4a82102eff2029dc2132552730e6cd4ad150f755fbae611d4fc04265565613c40559a7a210324cb6e9acb00e5038294f783007921fe5889f48cbf11ba5eb21c6fb8ae519b5753ae"}]' '["cVT1rGQJbEZTj8tqxdvg85ydEfFZz4ALaCXFhjtBoCFTBtcgGnyn"]'
{
"hex" : "010000000821800f002cb4930cc5ca85d93f7f8236f0089685ee93e06e36dbf5999f44a5f0030000006b483045022100c8bf73448c2720ced5a02675f81cd00cf7c4aeb9ddb5a15f2642299fbe799cba022029e6f9df06b92704a1e3ae884242b26be8e51d1e908e71f7917f7012a75ff560012103d6c94dd4baeb12debcdfa842ec645c9bca2ede2f863360e31752ebc18252913affffffff31e86ecb71c1f1550993f1899d7b85491550ba1c7dc4b7b66a1bf7d2d641f1e4020000006a4730440220115500861944b910de01fd29bf497597aebaf31871200020ec936bace95adb55022079152e974fdd09c849a9140898437ccf7dd4cf23785fe2a90015e4f5361cdf3f01210362118453a8887dd2e7c0795835956142ec87358134d052f29184998707379042fffffffff6ba9a6dead1b5fef6bb58b6513db041afc89399b6b21ac728ed35294a9194ba000000006b483045022100957899b29485cc9268b160feb55edebe223020ce8391dab0c4cc00521a6331660220487af34b487e6adf328cade86dbbb7baf7ecec73b3722cbc6ccf1ec0b6e3110c01210365e7b9793702d98bf65aa8a951fc4a7a84807bc5696c679ca0b426575733a537ffffffff3ce054bd00aff09edcd88ef51187f41e9f6911ab213a47697bfbbbe282d15a2d00000000b400473044022032822dc05d98f3048e06839a7475219d6d7c6fd9b720e4d926b45f0dd1d3e94802205b02d5ef2d7ee79f93c0d54ca026e8eb3bcfdf0e895a72d50e983692fdf5fd84014c6952210279bd36696163ccb27f7be9cd594a88262bb30642d04bdb350318d68103f2a4a82102eff2029dc2132552730e6cd4ad150f755fbae611d4fc04265565613c40559a7a210324cb6e9acb00e5038294f783007921fe5889f48cbf11ba5eb21c6fb8ae519b5753aeffffffff76a785df825f05b9a70244fa91b04889607a30c55c86aab298310cea8e20d9c2010000006a47304402202c63db6dd83d07b203ab2b3bd3efd5243e98638efa160472d7c6ba9e1bd8d0f102204cef8eb4243d583a1f304b697230a58627078eed9a294d183e4de4ba1dd1fd5f0121024e42704d5afc7e3e83f47ac718003e6d98e0c58de2a32a17bbbf71fd0bd90fb6ffffffff50aea12eed61fdadfc945f68fbfc4d1285caa0ededb79949e1658391437e0a44020000006a47304402201027f27411f0ed35e8239ed20065be0616c5e91b82a95e8267bd11a4d0738f020220665746a1887ec087e5e91441bb47b6894ec9cb1dbd0c9155f60266a47083b26101210350a14f9d47067b51abe9acbdaa80eab0c06888b0db190c94ddce1d27302915f3ffffffffd796b9bccdc3d09cf3121135be60eaaa8b7594fdc8caeb02287f9acac791510e00000000b500483045022100cb31f2d74d38347689205c91802f116514a55bea5fbcdb2b48afe16a1a81196f02207b8dca76d6f35a43fbe110e66db27b50ce8664418387e1a2c1435fab0e83a4db014c6952210279bd36696163ccb27f7be9cd594a88262bb30642d04bdb350318d68103f2a4a82102eff2029dc2132552730e6cd4ad150f755fbae611d4fc04265565613c40559a7a210324cb6e9acb00e5038294f783007921fe5889f48cbf11ba5eb21c6fb8ae519b5753aeffffffff50aea12eed61fdadfc945f68fbfc4d1285caa0ededb79949e1658391437e0a440000000069463043021f442e4e9f45bef2b1baa467d863e1868baac38bf55c5b610bb0d8aedc7450ce0220488a40501a399b2882e3ae6ce660545155d6ea333ccf50c678d3cddee78df7880121031b90bff647b6b8d9f8901f14e0ddec2c9ce781f9383be31ce0eab0d9647d8045ffffffff0576cd0200000000001976a914afca0563c90db0ea361bafc988bb23d0bdebbd3388ac4bf09800000000001976a914c8eefa8bd134f51835eed8b1329c39c2978b355988ac99409800000000001976a9146e2fe8ef5dcb05fd258e2f51d3f15ba3781cd96b88ac99409800000000001976a914914ffa01a76a7d447071c9a894988e2bf5fa1c6c88ac99409800000000001976a914b209c4ed7370e32e291d243347ce0305441b086f88ac00000000",
"complete" : false
}
We sign the first and second UTXO with the second private key.
signrawtransaction '010000000821800f002cb4930cc5ca85d93f7f8236f0089685ee93e06e36dbf5999f44a5f0030000006b483045022100c8bf73448c2720ced5a02675f81cd00cf7c4aeb9ddb5a15f2642299fbe799cba022029e6f9df06b92704a1e3ae884242b26be8e51d1e908e71f7917f7012a75ff560012103d6c94dd4baeb12debcdfa842ec645c9bca2ede2f863360e31752ebc18252913affffffff31e86ecb71c1f1550993f1899d7b85491550ba1c7dc4b7b66a1bf7d2d641f1e4020000006a4730440220115500861944b910de01fd29bf497597aebaf31871200020ec936bace95adb55022079152e974fdd09c849a9140898437ccf7dd4cf23785fe2a90015e4f5361cdf3f01210362118453a8887dd2e7c0795835956142ec87358134d052f29184998707379042fffffffff6ba9a6dead1b5fef6bb58b6513db041afc89399b6b21ac728ed35294a9194ba000000006b483045022100957899b29485cc9268b160feb55edebe223020ce8391dab0c4cc00521a6331660220487af34b487e6adf328cade86dbbb7baf7ecec73b3722cbc6ccf1ec0b6e3110c01210365e7b9793702d98bf65aa8a951fc4a7a84807bc5696c679ca0b426575733a537ffffffff3ce054bd00aff09edcd88ef51187f41e9f6911ab213a47697bfbbbe282d15a2d00000000b400473044022032822dc05d98f3048e06839a7475219d6d7c6fd9b720e4d926b45f0dd1d3e94802205b02d5ef2d7ee79f93c0d54ca026e8eb3bcfdf0e895a72d50e983692fdf5fd84014c6952210279bd36696163ccb27f7be9cd594a88262bb30642d04bdb350318d68103f2a4a82102eff2029dc2132552730e6cd4ad150f755fbae611d4fc04265565613c40559a7a210324cb6e9acb00e5038294f783007921fe5889f48cbf11ba5eb21c6fb8ae519b5753aeffffffff76a785df825f05b9a70244fa91b04889607a30c55c86aab298310cea8e20d9c2010000006a47304402202c63db6dd83d07b203ab2b3bd3efd5243e98638efa160472d7c6ba9e1bd8d0f102204cef8eb4243d583a1f304b697230a58627078eed9a294d183e4de4ba1dd1fd5f0121024e42704d5afc7e3e83f47ac718003e6d98e0c58de2a32a17bbbf71fd0bd90fb6ffffffff50aea12eed61fdadfc945f68fbfc4d1285caa0ededb79949e1658391437e0a44020000006a47304402201027f27411f0ed35e8239ed20065be0616c5e91b82a95e8267bd11a4d0738f020220665746a1887ec087e5e91441bb47b6894ec9cb1dbd0c9155f60266a47083b26101210350a14f9d47067b51abe9acbdaa80eab0c06888b0db190c94ddce1d27302915f3ffffffffd796b9bccdc3d09cf3121135be60eaaa8b7594fdc8caeb02287f9acac791510e00000000b500483045022100cb31f2d74d38347689205c91802f116514a55bea5fbcdb2b48afe16a1a81196f02207b8dca76d6f35a43fbe110e66db27b50ce8664418387e1a2c1435fab0e83a4db014c6952210279bd36696163ccb27f7be9cd594a88262bb30642d04bdb350318d68103f2a4a82102eff2029dc2132552730e6cd4ad150f755fbae611d4fc04265565613c40559a7a210324cb6e9acb00e5038294f783007921fe5889f48cbf11ba5eb21c6fb8ae519b5753aeffffffff50aea12eed61fdadfc945f68fbfc4d1285caa0ededb79949e1658391437e0a440000000069463043021f442e4e9f45bef2b1baa467d863e1868baac38bf55c5b610bb0d8aedc7450ce0220488a40501a399b2882e3ae6ce660545155d6ea333ccf50c678d3cddee78df7880121031b90bff647b6b8d9f8901f14e0ddec2c9ce781f9383be31ce0eab0d9647d8045ffffffff0576cd0200000000001976a914afca0563c90db0ea361bafc988bb23d0bdebbd3388ac4bf09800000000001976a914c8eefa8bd134f51835eed8b1329c39c2978b355988ac99409800000000001976a9146e2fe8ef5dcb05fd258e2f51d3f15ba3781cd96b88ac99409800000000001976a914914ffa01a76a7d447071c9a894988e2bf5fa1c6c88ac99409800000000001976a914b209c4ed7370e32e291d243347ce0305441b086f88ac00000000' '[{"txid":"2d5ad182e2bbfb7b69473a21ab11699f1ef48711f58ed8dc9ef0af00bd54e03c","vout":0,"scriptPubKey":"a914f969cd9b18361045971850f24db504caa778ea6987","redeemScript":"52210279bd36696163ccb27f7be9cd594a88262bb30642d04bdb350318d68103f2a4a82102eff2029dc2132552730e6cd4ad150f755fbae611d4fc04265565613c40559a7a210324cb6e9acb00e5038294f783007921fe5889f48cbf11ba5eb21c6fb8ae519b5753ae"}]' '["cTeBxWZWEv877jy36kUvCCNki87Bbjyjge1NXQnu8AbaxQkz5FZD"]'
{
"hex" : "010000000821800f002cb4930cc5ca85d93f7f8236f0089685ee93e06e36dbf5999f44a5f0030000006b483045022100c8bf73448c2720ced5a02675f81cd00cf7c4aeb9ddb5a15f2642299fbe799cba022029e6f9df06b92704a1e3ae884242b26be8e51d1e908e71f7917f7012a75ff560012103d6c94dd4baeb12debcdfa842ec645c9bca2ede2f863360e31752ebc18252913affffffff31e86ecb71c1f1550993f1899d7b85491550ba1c7dc4b7b66a1bf7d2d641f1e4020000006a4730440220115500861944b910de01fd29bf497597aebaf31871200020ec936bace95adb55022079152e974fdd09c849a9140898437ccf7dd4cf23785fe2a90015e4f5361cdf3f01210362118453a8887dd2e7c0795835956142ec87358134d052f29184998707379042fffffffff6ba9a6dead1b5fef6bb58b6513db041afc89399b6b21ac728ed35294a9194ba000000006b483045022100957899b29485cc9268b160feb55edebe223020ce8391dab0c4cc00521a6331660220487af34b487e6adf328cade86dbbb7baf7ecec73b3722cbc6ccf1ec0b6e3110c01210365e7b9793702d98bf65aa8a951fc4a7a84807bc5696c679ca0b426575733a537ffffffff3ce054bd00aff09edcd88ef51187f41e9f6911ab213a47697bfbbbe282d15a2d00000000fc00473044022032822dc05d98f3048e06839a7475219d6d7c6fd9b720e4d926b45f0dd1d3e94802205b02d5ef2d7ee79f93c0d54ca026e8eb3bcfdf0e895a72d50e983692fdf5fd8401473044022067bcad6312cee06608f8b1f3872c62d0e9bc12607ab76fc2e60cf9403d62e90502203904a7cbdb37a375dbf317513c08c6fb0494cd17cf71d79eaa6ab25d5996a568014c6952210279bd36696163ccb27f7be9cd594a88262bb30642d04bdb350318d68103f2a4a82102eff2029dc2132552730e6cd4ad150f755fbae611d4fc04265565613c40559a7a210324cb6e9acb00e5038294f783007921fe5889f48cbf11ba5eb21c6fb8ae519b5753aeffffffff76a785df825f05b9a70244fa91b04889607a30c55c86aab298310cea8e20d9c2010000006a47304402202c63db6dd83d07b203ab2b3bd3efd5243e98638efa160472d7c6ba9e1bd8d0f102204cef8eb4243d583a1f304b697230a58627078eed9a294d183e4de4ba1dd1fd5f0121024e42704d5afc7e3e83f47ac718003e6d98e0c58de2a32a17bbbf71fd0bd90fb6ffffffff50aea12eed61fdadfc945f68fbfc4d1285caa0ededb79949e1658391437e0a44020000006a47304402201027f27411f0ed35e8239ed20065be0616c5e91b82a95e8267bd11a4d0738f020220665746a1887ec087e5e91441bb47b6894ec9cb1dbd0c9155f60266a47083b26101210350a14f9d47067b51abe9acbdaa80eab0c06888b0db190c94ddce1d27302915f3ffffffffd796b9bccdc3d09cf3121135be60eaaa8b7594fdc8caeb02287f9acac791510e00000000b500483045022100cb31f2d74d38347689205c91802f116514a55bea5fbcdb2b48afe16a1a81196f02207b8dca76d6f35a43fbe110e66db27b50ce8664418387e1a2c1435fab0e83a4db014c6952210279bd36696163ccb27f7be9cd594a88262bb30642d04bdb350318d68103f2a4a82102eff2029dc2132552730e6cd4ad150f755fbae611d4fc04265565613c40559a7a210324cb6e9acb00e5038294f783007921fe5889f48cbf11ba5eb21c6fb8ae519b5753aeffffffff50aea12eed61fdadfc945f68fbfc4d1285caa0ededb79949e1658391437e0a440000000069463043021f442e4e9f45bef2b1baa467d863e1868baac38bf55c5b610bb0d8aedc7450ce0220488a40501a399b2882e3ae6ce660545155d6ea333ccf50c678d3cddee78df7880121031b90bff647b6b8d9f8901f14e0ddec2c9ce781f9383be31ce0eab0d9647d8045ffffffff0576cd0200000000001976a914afca0563c90db0ea361bafc988bb23d0bdebbd3388ac4bf09800000000001976a914c8eefa8bd134f51835eed8b1329c39c2978b355988ac99409800000000001976a9146e2fe8ef5dcb05fd258e2f51d3f15ba3781cd96b88ac99409800000000001976a914914ffa01a76a7d447071c9a894988e2bf5fa1c6c88ac99409800000000001976a914b209c4ed7370e32e291d243347ce0305441b086f88ac00000000",
"complete" : false
}
signrawtransaction '010000000821800f002cb4930cc5ca85d93f7f8236f0089685ee93e06e36dbf5999f44a5f0030000006b483045022100c8bf73448c2720ced5a02675f81cd00cf7c4aeb9ddb5a15f2642299fbe799cba022029e6f9df06b92704a1e3ae884242b26be8e51d1e908e71f7917f7012a75ff560012103d6c94dd4baeb12debcdfa842ec645c9bca2ede2f863360e31752ebc18252913affffffff31e86ecb71c1f1550993f1899d7b85491550ba1c7dc4b7b66a1bf7d2d641f1e4020000006a4730440220115500861944b910de01fd29bf497597aebaf31871200020ec936bace95adb55022079152e974fdd09c849a9140898437ccf7dd4cf23785fe2a90015e4f5361cdf3f01210362118453a8887dd2e7c0795835956142ec87358134d052f29184998707379042fffffffff6ba9a6dead1b5fef6bb58b6513db041afc89399b6b21ac728ed35294a9194ba000000006b483045022100957899b29485cc9268b160feb55edebe223020ce8391dab0c4cc00521a6331660220487af34b487e6adf328cade86dbbb7baf7ecec73b3722cbc6ccf1ec0b6e3110c01210365e7b9793702d98bf65aa8a951fc4a7a84807bc5696c679ca0b426575733a537ffffffff3ce054bd00aff09edcd88ef51187f41e9f6911ab213a47697bfbbbe282d15a2d00000000fc00473044022032822dc05d98f3048e06839a7475219d6d7c6fd9b720e4d926b45f0dd1d3e94802205b02d5ef2d7ee79f93c0d54ca026e8eb3bcfdf0e895a72d50e983692fdf5fd8401473044022067bcad6312cee06608f8b1f3872c62d0e9bc12607ab76fc2e60cf9403d62e90502203904a7cbdb37a375dbf317513c08c6fb0494cd17cf71d79eaa6ab25d5996a568014c6952210279bd36696163ccb27f7be9cd594a88262bb30642d04bdb350318d68103f2a4a82102eff2029dc2132552730e6cd4ad150f755fbae611d4fc04265565613c40559a7a210324cb6e9acb00e5038294f783007921fe5889f48cbf11ba5eb21c6fb8ae519b5753aeffffffff76a785df825f05b9a70244fa91b04889607a30c55c86aab298310cea8e20d9c2010000006a47304402202c63db6dd83d07b203ab2b3bd3efd5243e98638efa160472d7c6ba9e1bd8d0f102204cef8eb4243d583a1f304b697230a58627078eed9a294d183e4de4ba1dd1fd5f0121024e42704d5afc7e3e83f47ac718003e6d98e0c58de2a32a17bbbf71fd0bd90fb6ffffffff50aea12eed61fdadfc945f68fbfc4d1285caa0ededb79949e1658391437e0a44020000006a47304402201027f27411f0ed35e8239ed20065be0616c5e91b82a95e8267bd11a4d0738f020220665746a1887ec087e5e91441bb47b6894ec9cb1dbd0c9155f60266a47083b26101210350a14f9d47067b51abe9acbdaa80eab0c06888b0db190c94ddce1d27302915f3ffffffffd796b9bccdc3d09cf3121135be60eaaa8b7594fdc8caeb02287f9acac791510e00000000b500483045022100cb31f2d74d38347689205c91802f116514a55bea5fbcdb2b48afe16a1a81196f02207b8dca76d6f35a43fbe110e66db27b50ce8664418387e1a2c1435fab0e83a4db014c6952210279bd36696163ccb27f7be9cd594a88262bb30642d04bdb350318d68103f2a4a82102eff2029dc2132552730e6cd4ad150f755fbae611d4fc04265565613c40559a7a210324cb6e9acb00e5038294f783007921fe5889f48cbf11ba5eb21c6fb8ae519b5753aeffffffff50aea12eed61fdadfc945f68fbfc4d1285caa0ededb79949e1658391437e0a440000000069463043021f442e4e9f45bef2b1baa467d863e1868baac38bf55c5b610bb0d8aedc7450ce0220488a40501a399b2882e3ae6ce660545155d6ea333ccf50c678d3cddee78df7880121031b90bff647b6b8d9f8901f14e0ddec2c9ce781f9383be31ce0eab0d9647d8045ffffffff0576cd0200000000001976a914afca0563c90db0ea361bafc988bb23d0bdebbd3388ac4bf09800000000001976a914c8eefa8bd134f51835eed8b1329c39c2978b355988ac99409800000000001976a9146e2fe8ef5dcb05fd258e2f51d3f15ba3781cd96b88ac99409800000000001976a914914ffa01a76a7d447071c9a894988e2bf5fa1c6c88ac99409800000000001976a914b209c4ed7370e32e291d243347ce0305441b086f88ac00000000' '[{"txid":"0e5191c7ca9a7f2802ebcac8fd94758baaea60be351112f39cd0c3cdbcb996d7","vout":0,"scriptPubKey":"a914f969cd9b18361045971850f24db504caa778ea6987","redeemScript":"52210279bd36696163ccb27f7be9cd594a88262bb30642d04bdb350318d68103f2a4a82102eff2029dc2132552730e6cd4ad150f755fbae611d4fc04265565613c40559a7a210324cb6e9acb00e5038294f783007921fe5889f48cbf11ba5eb21c6fb8ae519b5753ae"}]' '["cTeBxWZWEv877jy36kUvCCNki87Bbjyjge1NXQnu8AbaxQkz5FZD"]'
{
"hex" : "010000000821800f002cb4930cc5ca85d93f7f8236f0089685ee93e06e36dbf5999f44a5f0030000006b483045022100c8bf73448c2720ced5a02675f81cd00cf7c4aeb9ddb5a15f2642299fbe799cba022029e6f9df06b92704a1e3ae884242b26be8e51d1e908e71f7917f7012a75ff560012103d6c94dd4baeb12debcdfa842ec645c9bca2ede2f863360e31752ebc18252913affffffff31e86ecb71c1f1550993f1899d7b85491550ba1c7dc4b7b66a1bf7d2d641f1e4020000006a4730440220115500861944b910de01fd29bf497597aebaf31871200020ec936bace95adb55022079152e974fdd09c849a9140898437ccf7dd4cf23785fe2a90015e4f5361cdf3f01210362118453a8887dd2e7c0795835956142ec87358134d052f29184998707379042fffffffff6ba9a6dead1b5fef6bb58b6513db041afc89399b6b21ac728ed35294a9194ba000000006b483045022100957899b29485cc9268b160feb55edebe223020ce8391dab0c4cc00521a6331660220487af34b487e6adf328cade86dbbb7baf7ecec73b3722cbc6ccf1ec0b6e3110c01210365e7b9793702d98bf65aa8a951fc4a7a84807bc5696c679ca0b426575733a537ffffffff3ce054bd00aff09edcd88ef51187f41e9f6911ab213a47697bfbbbe282d15a2d00000000fc00473044022032822dc05d98f3048e06839a7475219d6d7c6fd9b720e4d926b45f0dd1d3e94802205b02d5ef2d7ee79f93c0d54ca026e8eb3bcfdf0e895a72d50e983692fdf5fd8401473044022067bcad6312cee06608f8b1f3872c62d0e9bc12607ab76fc2e60cf9403d62e90502203904a7cbdb37a375dbf317513c08c6fb0494cd17cf71d79eaa6ab25d5996a568014c6952210279bd36696163ccb27f7be9cd594a88262bb30642d04bdb350318d68103f2a4a82102eff2029dc2132552730e6cd4ad150f755fbae611d4fc04265565613c40559a7a210324cb6e9acb00e5038294f783007921fe5889f48cbf11ba5eb21c6fb8ae519b5753aeffffffff76a785df825f05b9a70244fa91b04889607a30c55c86aab298310cea8e20d9c2010000006a47304402202c63db6dd83d07b203ab2b3bd3efd5243e98638efa160472d7c6ba9e1bd8d0f102204cef8eb4243d583a1f304b697230a58627078eed9a294d183e4de4ba1dd1fd5f0121024e42704d5afc7e3e83f47ac718003e6d98e0c58de2a32a17bbbf71fd0bd90fb6ffffffff50aea12eed61fdadfc945f68fbfc4d1285caa0ededb79949e1658391437e0a44020000006a47304402201027f27411f0ed35e8239ed20065be0616c5e91b82a95e8267bd11a4d0738f020220665746a1887ec087e5e91441bb47b6894ec9cb1dbd0c9155f60266a47083b26101210350a14f9d47067b51abe9acbdaa80eab0c06888b0db190c94ddce1d27302915f3ffffffffd796b9bccdc3d09cf3121135be60eaaa8b7594fdc8caeb02287f9acac791510e00000000fdfe0000483045022100cb31f2d74d38347689205c91802f116514a55bea5fbcdb2b48afe16a1a81196f02207b8dca76d6f35a43fbe110e66db27b50ce8664418387e1a2c1435fab0e83a4db01483045022100f6871932d22e4da1ed5007a790d83fd04d3fb1da300ccd41da484e07fb8fd8fa0220665496836a545ad283ff17237e92e3a244d03100d820af0721974cc40ef70ae9014c6952210279bd36696163ccb27f7be9cd594a88262bb30642d04bdb350318d68103f2a4a82102eff2029dc2132552730e6cd4ad150f755fbae611d4fc04265565613c40559a7a210324cb6e9acb00e5038294f783007921fe5889f48cbf11ba5eb21c6fb8ae519b5753aeffffffff50aea12eed61fdadfc945f68fbfc4d1285caa0ededb79949e1658391437e0a440000000069463043021f442e4e9f45bef2b1baa467d863e1868baac38bf55c5b610bb0d8aedc7450ce0220488a40501a399b2882e3ae6ce660545155d6ea333ccf50c678d3cddee78df7880121031b90bff647b6b8d9f8901f14e0ddec2c9ce781f9383be31ce0eab0d9647d8045ffffffff0576cd0200000000001976a914afca0563c90db0ea361bafc988bb23d0bdebbd3388ac4bf09800000000001976a914c8eefa8bd134f51835eed8b1329c39c2978b355988ac99409800000000001976a9146e2fe8ef5dcb05fd258e2f51d3f15ba3781cd96b88ac99409800000000001976a914914ffa01a76a7d447071c9a894988e2bf5fa1c6c88ac99409800000000001976a914b209c4ed7370e32e291d243347ce0305441b086f88ac00000000",
"complete" : false
}
Finally, broadcast the fully-signed transaction.
sendrawtransaction 010000000821800f002cb4930cc5ca85d93f7f8236f0089685ee93e06e36dbf5999f44a5f0030000006b483045022100c8bf73448c2720ced5a02675f81cd00cf7c4aeb9ddb5a15f2642299fbe799cba022029e6f9df06b92704a1e3ae884242b26be8e51d1e908e71f7917f7012a75ff560012103d6c94dd4baeb12debcdfa842ec645c9bca2ede2f863360e31752ebc18252913affffffff31e86ecb71c1f1550993f1899d7b85491550ba1c7dc4b7b66a1bf7d2d641f1e4020000006a4730440220115500861944b910de01fd29bf497597aebaf31871200020ec936bace95adb55022079152e974fdd09c849a9140898437ccf7dd4cf23785fe2a90015e4f5361cdf3f01210362118453a8887dd2e7c0795835956142ec87358134d052f29184998707379042fffffffff6ba9a6dead1b5fef6bb58b6513db041afc89399b6b21ac728ed35294a9194ba000000006b483045022100957899b29485cc9268b160feb55edebe223020ce8391dab0c4cc00521a6331660220487af34b487e6adf328cade86dbbb7baf7ecec73b3722cbc6ccf1ec0b6e3110c01210365e7b9793702d98bf65aa8a951fc4a7a84807bc5696c679ca0b426575733a537ffffffff3ce054bd00aff09edcd88ef51187f41e9f6911ab213a47697bfbbbe282d15a2d00000000fc00473044022032822dc05d98f3048e06839a7475219d6d7c6fd9b720e4d926b45f0dd1d3e94802205b02d5ef2d7ee79f93c0d54ca026e8eb3bcfdf0e895a72d50e983692fdf5fd8401473044022067bcad6312cee06608f8b1f3872c62d0e9bc12607ab76fc2e60cf9403d62e90502203904a7cbdb37a375dbf317513c08c6fb0494cd17cf71d79eaa6ab25d5996a568014c6952210279bd36696163ccb27f7be9cd594a88262bb30642d04bdb350318d68103f2a4a82102eff2029dc2132552730e6cd4ad150f755fbae611d4fc04265565613c40559a7a210324cb6e9acb00e5038294f783007921fe5889f48cbf11ba5eb21c6fb8ae519b5753aeffffffff76a785df825f05b9a70244fa91b04889607a30c55c86aab298310cea8e20d9c2010000006a47304402202c63db6dd83d07b203ab2b3bd3efd5243e98638efa160472d7c6ba9e1bd8d0f102204cef8eb4243d583a1f304b697230a58627078eed9a294d183e4de4ba1dd1fd5f0121024e42704d5afc7e3e83f47ac718003e6d98e0c58de2a32a17bbbf71fd0bd90fb6ffffffff50aea12eed61fdadfc945f68fbfc4d1285caa0ededb79949e1658391437e0a44020000006a47304402201027f27411f0ed35e8239ed20065be0616c5e91b82a95e8267bd11a4d0738f020220665746a1887ec087e5e91441bb47b6894ec9cb1dbd0c9155f60266a47083b26101210350a14f9d47067b51abe9acbdaa80eab0c06888b0db190c94ddce1d27302915f3ffffffffd796b9bccdc3d09cf3121135be60eaaa8b7594fdc8caeb02287f9acac791510e00000000fdfe0000483045022100cb31f2d74d38347689205c91802f116514a55bea5fbcdb2b48afe16a1a81196f02207b8dca76d6f35a43fbe110e66db27b50ce8664418387e1a2c1435fab0e83a4db01483045022100f6871932d22e4da1ed5007a790d83fd04d3fb1da300ccd41da484e07fb8fd8fa0220665496836a545ad283ff17237e92e3a244d03100d820af0721974cc40ef70ae9014c6952210279bd36696163ccb27f7be9cd594a88262bb30642d04bdb350318d68103f2a4a82102eff2029dc2132552730e6cd4ad150f755fbae611d4fc04265565613c40559a7a210324cb6e9acb00e5038294f783007921fe5889f48cbf11ba5eb21c6fb8ae519b5753aeffffffff50aea12eed61fdadfc945f68fbfc4d1285caa0ededb79949e1658391437e0a440000000069463043021f442e4e9f45bef2b1baa467d863e1868baac38bf55c5b610bb0d8aedc7450ce0220488a40501a399b2882e3ae6ce660545155d6ea333ccf50c678d3cddee78df7880121031b90bff647b6b8d9f8901f14e0ddec2c9ce781f9383be31ce0eab0d9647d8045ffffffff0576cd0200000000001976a914afca0563c90db0ea361bafc988bb23d0bdebbd3388ac4bf09800000000001976a914c8eefa8bd134f51835eed8b1329c39c2978b355988ac99409800000000001976a9146e2fe8ef5dcb05fd258e2f51d3f15ba3781cd96b88ac99409800000000001976a914914ffa01a76a7d447071c9a894988e2bf5fa1c6c88ac99409800000000001976a914b209c4ed7370e32e291d243347ce0305441b086f88ac00000000
9a15abd6c339d7da580f5eb55d91e7800445e088269bf57a4a470aef091b8c1c
https://tbtc.blockr.io/tx/info/9a15abd6c339d7da580f5eb55d91e7800445e088269bf57a4a470aef091b8c1c