Bitcoin Forum
October 13, 2024, 02:01:54 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Coin Sweeper - Redeem your multisig outputs  (Read 11453 times)
dexX7 (OP)
Legendary
*
Offline Offline

Activity: 1106
Merit: 1026



View Profile WWW
April 16, 2014, 12:59:18 PM
Merited by nutildah (8)
 #1

Hi all,

I created a simple website which allows to lookup any unspent output from every address:

http://redeem.bitwatch.co/

Furthermore a raw transaction can be created which collects and combines unspent outputs whereby outputs from multiple addresses can be used.

The most important feature: standard multi signature outputs are included and it's very easy to redeem Mastercoin or Counterparty dust.



The basis for this was sipa's awesome address indexed Bitcoin branch which received some further additions.

Please note: this is experimental and feedback is appreciated. Smiley

jparsley
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250



View Profile
April 16, 2014, 04:49:53 PM
 #2

Nice work, thanks

please unban me.
mcjavar
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500


View Profile
April 17, 2014, 12:24:17 PM
 #3

Hi! Could you please provide more information how this is supposed to work?
coinnewbit
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250



View Profile
April 17, 2014, 02:08:34 PM
 #4

nice, thanks and good job!
BitcoinTangibleTrust
Member
**
Offline Offline

Activity: 111
Merit: 10

Digitizing Valuable Hard Assets with Crypto


View Profile WWW
April 17, 2014, 05:01:52 PM
 #5

Hi all,

I created a simple website which allows to lookup any unspent output from every address:
http://redeem.bitwatch.co/
Furthermore a raw transaction can be created which collects and combines unspent outputs whereby outputs from multiple addresses can be used.

The most important feature: standard multi signature outputs are included and it's very easy to redeem Mastercoin or Counterparty dust.

Please note: this is experimental and feedback is appreciated. Smiley

I would like to verify that I used this system and recovered about 0.19173119 BTC courtesy Master Bitcoin Dev dexX7 for which I will be using to buy more XCP.
Proof here: https://blockchain.info/tx/720fb4d10efe0837da761a4ec8e182a29cde6bdd91b8cca8b35ce027b42dd697

Thank you for a great service dexX7
Everyone who uses Counterparty should use this to get their unspent outputs.

Regards,
BitcoinTangibleTrust Team

Digital Tangible
Digitizing Valuable Hard Assets with Crypto http://www.digitaltangibletrust.com
mcjavar
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500


View Profile
April 17, 2014, 08:03:13 PM
 #6

Hi all,

I created a simple website which allows to lookup any unspent output from every address:
http://redeem.bitwatch.co/
Furthermore a raw transaction can be created which collects and combines unspent outputs whereby outputs from multiple addresses can be used.

The most important feature: standard multi signature outputs are included and it's very easy to redeem Mastercoin or Counterparty dust.

Please note: this is experimental and feedback is appreciated. Smiley

I would like to verify that I used this system and recovered about 0.19173119 BTC courtesy Master Bitcoin Dev dexX7 for which I will be using to buy more XCP.
Proof here: https://blockchain.info/tx/720fb4d10efe0837da761a4ec8e182a29cde6bdd91b8cca8b35ce027b42dd697

Thank you for a great service dexX7
Everyone who uses Counterparty should use this to get their unspent outputs.

Regards,
BitcoinTangibleTrust Team

How did you do it? Could you please describe?
fudge
Hero Member
*****
Offline Offline

Activity: 666
Merit: 500


View Profile
April 17, 2014, 09:08:13 PM
 #7

how can I "broadcast" that signed string? Thanks

Haшa гpyшa нaйpoзкopчyмaкyвaтiшa!
coinnewbit
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250



View Profile
April 18, 2014, 03:44:05 AM
 #8

For any if you wondering, no you can't take others' coins
dexX7 (OP)
Legendary
*
Offline Offline

Activity: 1106
Merit: 1026



View Profile WWW
April 18, 2014, 11:27:29 AM
 #9

Hi,

I'm away until Sunday or Monday but afterwards I'll post some instructions on how to use it.

In short: you need to copy the hex string and sign it via your local Bitcoin client. With Bitcoin-Qt you'd need to open the debug console and type "signrawtransaction HEX". Another hex string will be shown which can then be broadcasted  via "sendrawtransaction SIGNEDHEX".

I noticed at some length the transaction will be rejected and it helps to either split the sweep-transaction into fractions or push via a node which accepts larger transactions.

To push raw transactions:

http://eligius.st/~wizkid057/newstats/pushtxn.php
https://coinb.in/multisig/#broadcast

mcjavar
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500


View Profile
April 18, 2014, 10:45:37 PM
 #10

Hi,

I'm away until Sunday or Monday but afterwards I'll post some instructions on how to use it.

In short: you need to copy the hex string and sign it via your local Bitcoin client. With Bitcoin-Qt you'd need to open the debug console and type "signrawtransaction HEX". Another hex string will be shown which can then be broadcasted  via "sendrawtransaction SIGNEDHEX".

I noticed at some length the transaction will be rejected and it helps to either split the sweep-transaction into fractions or push via a node which accepts larger transactions.

To push raw transactions:

http://eligius.st/~wizkid057/newstats/pushtxn.php
https://coinb.in/multisig/#broadcast

Could you please describe how this works with blockchain and XCP's counterwallet?
dexX7 (OP)
Legendary
*
Offline Offline

Activity: 1106
Merit: 1026



View Profile WWW
April 22, 2014, 10:38:47 AM
Last edit: October 10, 2014, 07:48:43 PM by dexX7
 #11

Say you are a MSC or XCP user. Over the time a lot of small outputs like this or this are created due to the nature of MSC and XCP transactions. Unfortunally these coins are not spendable by most wallets out of the box and it appears as if those tiny amounts are simply subtracted from your balance and gone, but this is where this tool comes into play: it helps to "locate" the missing coins and prepares a raw transaction which collects and combines all dust. If you are a power user, the sum of all those unspent outputs may be significant.


Redeeming dust via Counterwallet:



Please click on the picture or follow the direct link: http://imgur.com/a/YWKaV


Manual redemption - step by step:

Say you are the owner of 1CE8bBr1dYZRMnpmyYsFEoexa1YoPz2mfB - an address which was used several times to send some Mastercoin.

To begin please visit redeem.bitwatch.co:



Replace the placeholder address with 1CE8bBr1dYZRMnpmyYsFEoexa1YoPz2mfB and click Get unspent outputs. A list with unspent outputs is generated. These are those which we are going to sweep:



In the case you don't want to sweep all outputs you may remove some by clicking on Delete right next to the information about the specific output. It is also possible to sweep coins from multiple addresses. To do this simply replace the address in the address field and click again on Get unspent outputs. You may also only display unspent outputs with a certain amount of confirmations. The line below the buttons displays information about the last action, e.g. the amount of new found unspent outputs:



At the very bottom a raw transaction is shown. The transaction is generated dynamically based on the list of unspent outputs, so if more outputs are added or removed a new raw transaction is generated on the fly. With this transaction the unspent outputs are going to be redeemed and sent to the last added address. Say for example 1CE8bBr1dYZRMnpmyYsFEoexa1YoPz2mfB was added first and then 19JrWC2vGLVxBoyQfRVsj3wyE4RdvhKmpE - in this case the coins would be send to 19JrWC2vGLVxBoyQfRVsj3wyE4RdvhKmpE. Below the raw transaction the amount to transfer is displayed as well as the fee used by this transaction. The fee is calculated based on the estimated size of the final transaction with a very small overhead to guarantee the transaction won't stuck. The amount which is going to be sent is the sum of the unspent outputs minus the transaction fee:



This is the raw transaction:

Code:
01000000148d2c6d3ce5cd46c48627cb43ffccebe5674b296ca8c4ce8407906dec6e88abd00200000000ffffffffc4b7461d8872d812f9a019ba0306c085c7317423b5c71de71a711c57720d69cc0200000000fffffffff716f91fde8bbdef831cedf77aafa9acc070e04ebca6ac15cb76a1e68104aace0200000000ffffffffd85b58d799839504fa7f3633184d339242a80be1211678f3bd61e19135fc27120200000000ffffffff71bc1065d130450d500a89f478272d3698b2ebf4524bde7c12189870e7b714320200000000ffffffff77e9fe260f4c135b0b3c14d05793118047ccce1fa403e0ec917057e7896186fd0200000000ffffffff623b93cacd4085222034f6c37e140f5661698f197d762f676b662b5747e215a70200000000ffffffff9e524c8fdb761ee924f898686cd479d6bbe1cc03196fc2f4bb02e14cf7cedeb00200000000fffffffffcfa04d098931cb43e362bcee156f1f57f576baac29f751ac1531ce4729446340200000000ffffffff6d02363c50be1d2c2b37f22b19f54d9b1fc9da084fcc9584e3f7b3455200a7620200000000ffffffffbb64e290e05cc0bc1cfc6479a23cbf0a039183d9f59bda11b5c24393748ffca90200000000ffffffffbb64e290e05cc0bc1cfc6479a23cbf0a039183d9f59bda11b5c24393748ffca90300000000ffffffffbb96009b1499053e6a758a7088e61e2c19258b120a8bb913255e3ee38e5e65860200000000ffffffff110cd772656279dace695789eab34eab71ee0125e6431d890a4f486f098140970200000000ffffffff5c9e1a6619fd09dca8f31ad6434a3fc794b3b1d7648c8c61bb294659e0636ef10200000000ffffffffd09eb67836c8ca156ae76145c0d33c364d912d30ed7c06a4fa226ef20adf0ac80200000000ffffffff4e86aa1bed7fab1e419382e3ae9339ede5dfb6a930027fa033cd93ff127715fc0200000000ffffffff60acc549ad0540d9e7ad1c675e797ceec56a0e4ceeabfb58341e2e1f9cc5cbae0200000000ffffffff4d2ae4c3f460312199e02d93d2acdbfef9185425508500c877b87db602c603dc0200000000ffffffff4d2ae4c3f460312199e02d93d2acdbfef9185425508500c877b87db602c603dc0300000000ffffffff018fbf0e00000000001976a9147b25205fd98d462880a3e5b0541235831ae959e588ac00000000

To actually redeem the outputs the raw transaction needs to be signed and broadcasted. Depending on the wallet software you are using the next steps differ, but let's start with Bitcoin Core:


Sign and broadcast a raw transaction via Bitcoin Core:

Start Bitcoin Core with the wallet.dat which includes the private key to the address entered before. Click on Help and Debug window:



The debug form opens. Click on Console:



First the raw transaction needs to be signed. This can be done with the command signrawtransaction followed by the hex of the raw transaction in the debug console:

Code:
signrawtransaction 01000000148d2c6d3ce5cd46c48627cb43ffccebe5674b296ca8c4ce8407906dec6e88abd00200000000ffffffffc4b7461d8872d812f9a019ba0306c085c7317423b5c71de71a711c57720d69cc0200000000fffffffff716f91fde8bbdef831cedf77aafa9acc070e04ebca6ac15cb76a1e68104aace0200000000ffffffffd85b58d799839504fa7f3633184d339242a80be1211678f3bd61e19135fc27120200000000ffffffff71bc1065d130450d500a89f478272d3698b2ebf4524bde7c12189870e7b714320200000000ffffffff77e9fe260f4c135b0b3c14d05793118047ccce1fa403e0ec917057e7896186fd0200000000ffffffff623b93cacd4085222034f6c37e140f5661698f197d762f676b662b5747e215a70200000000ffffffff9e524c8fdb761ee924f898686cd479d6bbe1cc03196fc2f4bb02e14cf7cedeb00200000000fffffffffcfa04d098931cb43e362bcee156f1f57f576baac29f751ac1531ce4729446340200000000ffffffff6d02363c50be1d2c2b37f22b19f54d9b1fc9da084fcc9584e3f7b3455200a7620200000000ffffffffbb64e290e05cc0bc1cfc6479a23cbf0a039183d9f59bda11b5c24393748ffca90200000000ffffffffbb64e290e05cc0bc1cfc6479a23cbf0a039183d9f59bda11b5c24393748ffca90300000000ffffffffbb96009b1499053e6a758a7088e61e2c19258b120a8bb913255e3ee38e5e65860200000000ffffffff110cd772656279dace695789eab34eab71ee0125e6431d890a4f486f098140970200000000ffffffff5c9e1a6619fd09dca8f31ad6434a3fc794b3b1d7648c8c61bb294659e0636ef10200000000ffffffffd09eb67836c8ca156ae76145c0d33c364d912d30ed7c06a4fa226ef20adf0ac80200000000ffffffff4e86aa1bed7fab1e419382e3ae9339ede5dfb6a930027fa033cd93ff127715fc0200000000ffffffff60acc549ad0540d9e7ad1c675e797ceec56a0e4ceeabfb58341e2e1f9cc5cbae0200000000ffffffff4d2ae4c3f460312199e02d93d2acdbfef9185425508500c877b87db602c603dc0200000000ffffffff4d2ae4c3f460312199e02d93d2acdbfef9185425508500c877b87db602c603dc0300000000ffffffff018fbf0e00000000001976a9147b25205fd98d462880a3e5b0541235831ae959e588ac00000000

After pressing Enter the signed transaction should be returned. If the signing process was successful a line with "complete" : true should be visible:





We are almost done! The signed transaction will now be broadcasted by the command sendrawtransaction followed by the hex of the signed raw transaction:

Code:
sendrawtransaction 01000000148d2c6d3ce5cd46c48627cb43ffccebe5674b296ca8c4ce8407906dec6e88abd0020000004900473044022078dc0fe849b63666a3e14d1b232c60ec94dae092a62e701f7b2e068565f65f3c02201c52403026e1ec9e09ae9314ecd919d3d28dfe93dc799a446b85124235a95c7e01ffffffffc4b7461d8872d812f9a019ba0306c085c7317423b5c71de71a711c57720d69cc020000004a00483045022100b162ad1691481deddf718b94150c362a415da0926a2167fbd67a1e342ff355e502204d42f5dfeed6766a6a5bd6fe09b1f58336569ad7171f6196e99983833c08047301fffffffff716f91fde8bbdef831cedf77aafa9acc070e04ebca6ac15cb76a1e68104aace020000004a00483045022100d0275456170f7ab1fe21b57e0e569941fe8d452995ed0d0fa417e66e0f57d4d7022037815a0d5d41dfb13f0948bff2b91504d54dbefbdc20fc9ba50de9719dc96ed801ffffffffd85b58d799839504fa7f3633184d339242a80be1211678f3bd61e19135fc2712020000004a00483045022100c8b91d865a648415fd3abcf3ffe72cf19b96eac0c4c2024ff37bc54568b657e102205396b9b2af9fd697f0b1f47b644c344e62fec589966605c5bdb270204adb831001ffffffff71bc1065d130450d500a89f478272d3698b2ebf4524bde7c12189870e7b71432020000004900473044022020d3eed0300109c5124e5f5094d8de12f8da24924393968d2f8d1cc880047329022014370da66820f1df81e2f1062b9c6f9a120e839590c95ece366ad614d49623dc01ffffffff77e9fe260f4c135b0b3c14d05793118047ccce1fa403e0ec917057e7896186fd020000004a00483045022100892972e30375132797860616dd8d9d7c7d18fe33973c4f4c1a39d694b2a0ddf1022004473406a962a9f8262aa9616aa4f84d02bb60712195833c34c850240503106701ffffffff623b93cacd4085222034f6c37e140f5661698f197d762f676b662b5747e215a70200000049004730440220149c2ee051ca4e9e94c13ef4f6923b815c60df0af591da216d256b93f3a90e0b02206533a3006cae0f8f52a98aa2e84f300bd5284a5b6691740147cecf3d6ba6b36701ffffffff9e524c8fdb761ee924f898686cd479d6bbe1cc03196fc2f4bb02e14cf7cedeb002000000490047304402200cbd0279bf969d0fe5a359fbb36b77f54ea24bed873b471de6b22ecedc498536022055138c1424b92c90a48e41d11e2995d16f0fd2f4ecd73a9ca3054af1b8cf3f0801fffffffffcfa04d098931cb43e362bcee156f1f57f576baac29f751ac1531ce472944634020000004a00483045022100ce431df8526ca1af5173af4ee0e20678504fed9db83d88b97978717b3d082746022021616ce4a140211209ffef6918eff659dd74c560b2677cbe08742f61e66ed8a201ffffffff6d02363c50be1d2c2b37f22b19f54d9b1fc9da084fcc9584e3f7b3455200a76202000000490047304402201c1e8b5d78a72ed704d0ef79bf5d653dd011c301f0fba337ad893bcc3c5eceac022014ec9dbea3f3f1666b8091160eeb3b54528e77e4e3e1808be9870b4c28234c3201ffffffffbb64e290e05cc0bc1cfc6479a23cbf0a039183d9f59bda11b5c24393748ffca902000000490047304402206ebe43a0c98ffdf438b8972365adae68a24f4eaba0594266ec52c24307c51b610220131396eae3b7fd5eece627109ca5b5c837b5b1457262a19291c4430d6ee8120d01ffffffffbb64e290e05cc0bc1cfc6479a23cbf0a039183d9f59bda11b5c24393748ffca9030000006a473044022002d96bec4b1723b81de64960029116a0c30e0e984e6730aac47b6d2613e0ad7b0220016ed2f677f400f170b824c5dd7c86cf98def321e185c493d2b57ce069cd8504012102f3e471222bb57a7d416c82bf81c627bfcd2bdc47f36e763ae69935bba4601eceffffffffbb96009b1499053e6a758a7088e61e2c19258b120a8bb913255e3ee38e5e6586020000004a004830450221009273ff058e40c8ffd8bce15c8932f297a6bc5793f1cf0c42d94fffeb13ccb5e202201552358e1eb61f22ea7f3928d338c9c8e7b02d921cc302fa677f603022ee861c01ffffffff110cd772656279dace695789eab34eab71ee0125e6431d890a4f486f09814097020000004a00483045022100d4dc66f6376c7b42d770b1775fac8e2575dd5d1a8e5b1bbfdd5f4c3abdd3b8f9022029ba9119a405dab634f8ca0197517b4ec8a48e2e57cb0a0c37d5234e3982384d01ffffffff5c9e1a6619fd09dca8f31ad6434a3fc794b3b1d7648c8c61bb294659e0636ef10200000049004730440220121ba54948aa7d82f40e8f06c1d23aef9262dc0bf0557631f38afca66247e376022063d9cba0967375b168a522b763e80d295737ee916df90c4ad4e05688ea252d8901ffffffffd09eb67836c8ca156ae76145c0d33c364d912d30ed7c06a4fa226ef20adf0ac8020000004900473044022000ba1d490813cf58ee56dcc6817ac336beca08cc973d346fe4f65db93687e98002207e3646f9dcb58b97fadd8227a1f196bc491e99e3802fbf0ea0a1146faa935f6701ffffffff4e86aa1bed7fab1e419382e3ae9339ede5dfb6a930027fa033cd93ff127715fc020000004a0048304502210082da1befdaa75703db77e79ce894adbe6183a92ce2140895a9c1bc11e9fb2a7a022022fdc272fe7d4c93cc35006b33e78d3695d576f01ee6b862bc629a7eebf8414801ffffffff60acc549ad0540d9e7ad1c675e797ceec56a0e4ceeabfb58341e2e1f9cc5cbae02000000490047304402202485c673876c8b85a4dfe0d10b5eee0cdec0af8d7b453bd87f66bde2d9ced3440220253c87e3ae3a4af6e54796de3c98346453bd0d26769d1cc0a06d048fcfda941401ffffffff4d2ae4c3f460312199e02d93d2acdbfef9185425508500c877b87db602c603dc02000000490047304402204bafc756a21cf9acf7b49e695ca813a9632af64a35f94d4f9677229bb621e2be022048ab8ad3e10859b65ce7de3afa49f568dafadac7063941794cb8ddecf40167c201ffffffff4d2ae4c3f460312199e02d93d2acdbfef9185425508500c877b87db602c603dc030000006b483045022100bb17f6f03acff36c9fe90955d3f089f54cc7aea3b37b5218fb81e9f810a1bbb102203bb07488f1a2b62ea4888550d1ab0b6c562d02e3f3b8fc28e70fd29619fb1a46012102f3e471222bb57a7d416c82bf81c627bfcd2bdc47f36e763ae69935bba4601eceffffffff018fbf0e00000000001976a9147b25205fd98d462880a3e5b0541235831ae959e588ac00000000

If everything is fine, the transaction hash of the transaction is returned:



You can see the transaction online:

http://blockr.io/tx/info/568dae42b58b37f2e944dfcd07e78d092dbf855c6952e8102323164adb5edd4a
https://blockchain.info/tx/568dae42b58b37f2e944dfcd07e78d092dbf855c6952e8102323164adb5edd4a


Use bitcoind to sign and broadcast a raw transaction:

The process is very similar. Assuming we want to redeem all unspent outputs for 19JrWC2vGLVxBoyQfRVsj3wyE4RdvhKmpE and created a raw transaction via redeem.bitwatch.co.

Sign the raw transaction:

Code:
./bitcoind signrawtransaction 0100000021a2afacadd7587ab4ccf929de00061cb8b9e2f363476b14378045c014cbd982120200000000ffffffff12a53a372da5f5c71ab91368efed26aaf15f63b1ad22f71aa71485fee54c6eac0200000000ffffffffe722a30a3c656be50c5931d4c719a1c2eed9c5485972bcbb2dc568c840a0e6900200000000ffffffff62f0b17dfd4249acbbb6d3b14b85bf0b2187e95da19709e356164a8d259eb0dc0200000000ffffffff5d2586e581600888c11e71ef4e31ebc06fca01ffc499418def3a76c31df213bf0200000000ffffffffd9b3363513c236bc2946e13f28d9dfa6d8b9601fe29ebe438b78e6492375b9310200000000ffffffff8b2e7dc1f7735b58b5575bf2770b43da8f72481473628b8232b8c8fdf9df11c00200000000ffffffff8ca90f542f4abf415d07813cb874557e93345169bbe95507f1befe20bd7cad970200000000ffffffffa2c33a30762f7f2396365b90e643c68fe1245fadbb7fb7ee8bc95c67b15b0dc90200000000ffffffff24a1894c4ee805b2fe5e58e585bb4cdc051c921c7f3f4c4d81dada4715e6f4090200000000ffffffff2d83cd8dc24caf89fde7b11599f9eb1848db1d4a46ac53cad8a14ccc0273e22f0200000000ffffffffbf7604d46fb3a99186ad87ce22fad22ac1e40d8cff334ca6139be3db3aa60c230200000000ffffffff031e1d2ac843092330d13f6f9fdf7971215853c84343527ea6c2a5f86fe36e910200000000ffffffff7da9e681f68043ea669b77e87f8a278fc1290b485cb962ec21ee7cf38c386e960200000000ffffffff1945e380a914f5d07144a3293e86d1d7cb7608432fa49056a9d1db415d5074710200000000fffffffffb864a1a389336dd236efb1ec8677066111529a28b712396dda845f543299f470200000000ffffffff2e5002353276fee3f0db55f55b6a3a76881a28e8b3ea8e0357d57c2bd70636490200000000ffffffffb1ae57bebb4c06c3e7ab264ac5d633bb5a7239d9e08fc37ab3b5f41bb33053950200000000fffffffffa4efd2bf65ca0c2a60af49109e0ef85ca67b62d3871c709f70a337a2191a7f20200000000ffffffff2267aade72d54e03ea6d2bf41063848d2ec5e1a0969ad2056c281308a089074a0200000000ffffffff04df20e7ced77fa2a0ecdb31904d87bebaff2194287c535c518c44bc15eabeb20200000000ffffffff404b107b2fe4bfc0007470f43a1ccf662507573789c60625fa4e490626e154cf0200000000ffffffff2801b49c18c1d43ab06085391af4ad2c8a580a228eb7c0e05003b72c70db001b0200000000ffffffffc6d27afc3f33bb36951bcffad256b75291bca7cdd724e3966314dc8015931e960200000000ffffffffc6d27afc3f33bb36951bcffad256b75291bca7cdd724e3966314dc8015931e960300000000ffffffffc9378d3dc84a8491f34c0e6485ba14a0247b01da5e9e8c388c80ae5a2a2816260200000000ffffffff10347158482e1f7fe1cd9eb73ee1036e69207cc84296edf9c20319498c9149ed0200000000ffffffff8459763fc138665d597b27037b2ec4c42a5af2d21346bd058ca21482f1ab51370200000000ffffffff2a6a3aa52e1a18f09c3e80019cb49a329cc81828fbc3ee6f1f2d7f988f67e4540200000000ffffffff4648594bfe2e3a3cc076a78bf66d2c3bc49275decaf846e27b263aabbfdc773d0200000000ffffffffcc8b27f1f7bf7fef700ae9f12c4043f5df1c7684926bf865d18bc89520092c010200000000ffffffffdcf8aac9463fef4998dcfd719aab20667cbc234dc4e994a817c49de8cf9f8b720200000000ffffffffdcf8aac9463fef4998dcfd719aab20667cbc234dc4e994a817c49de8cf9f8b720300000000ffffffff017fb91000000000001976a9145b21669fe9375599bb65919cb9efb9d349f33b5a88ac00000000

Result:

Code:
{
    "hex" : "0100000021a2afacadd7587ab4ccf929de00061cb8b9e2f363476b14378045c014cbd9821202000000490047304402202c6b62d2336d5d3cb5c660c551b9baff5373cbcabf6f70f3ef8eb6509bdd6e1b02201ef3910f1ce578a21d608afb29d9abf2c6b6c5d6907ce3fa065b2cce13f4b89901ffffffff12a53a372da5f5c71ab91368efed26aaf15f63b1ad22f71aa71485fee54c6eac0200000049004730440220252e8c2175855ab93a73dde8ff348778b68fea897cc0b1f89eb38ee61e6e20100220585a4b63b2634da89b7ca4c10b34d5128c306239c3836e6f603209838cdf0b5b01ffffffffe722a30a3c656be50c5931d4c719a1c2eed9c5485972bcbb2dc568c840a0e690020000004a00483045022100a6e84423f8bedf7777bd167056e9cbb5ad8e6969a398bf28968b294900a5e283022010ec7c3e43317138051ebc05d173585c4cd6b1fa545b9eaf475223a77a28a93b01ffffffff62f0b17dfd4249acbbb6d3b14b85bf0b2187e95da19709e356164a8d259eb0dc02000000490047304402204461f1cd89c64f25586afbe68a72fd9fc67288d343fa9de470b125d3fd5ac4c10220378ab90f788422663c9a437739c0d3afc314d1960401e2cbf953797e25a9653501ffffffff5d2586e581600888c11e71ef4e31ebc06fca01ffc499418def3a76c31df213bf020000004900473044022039a4bb4a81796e02114712d3b327fd19a6a6c92b3f5d7bc5ab8cc18dec94801b02207d77daf1ac6d5c9510bb5ca61458fdb2c2de9acf0251bf9d1d3498c79fde812001ffffffffd9b3363513c236bc2946e13f28d9dfa6d8b9601fe29ebe438b78e6492375b931020000004a004830450221008a689596d60930effe7d8357b4e5350fd130c62c664e3388090942b63b6d89a0022046949847172556c7cf19b094fdad5c24d2b4cd1bac571b63e7d60b943f35b40101ffffffff8b2e7dc1f7735b58b5575bf2770b43da8f72481473628b8232b8c8fdf9df11c002000000490047304402203828e40d35ddd9bddcca3cd65cf2bdcdf10af64271281787487ba77262cbf9c80220449e0d830b3a614faf44ac78e1916a8c2dbd2351b8c9ca4a7c1a1d796523d7a201ffffffff8ca90f542f4abf415d07813cb874557e93345169bbe95507f1befe20bd7cad97020000004a00483045022100d1d68a405dad8e5e82e13eec9a8b61ac2cd14502ede155a70cc465eb319e97ea0220697c30cb163747411e74726f09a0c40f2329a747d56d79042f56455428ec1e6401ffffffffa2c33a30762f7f2396365b90e643c68fe1245fadbb7fb7ee8bc95c67b15b0dc9020000004a00483045022100c703e33754b8cf2ef63f01f1b2f364f1b2af697b7e7c50fc68ed363ee5015ed00220723d0be4c3f3c2cba0aee2d30571b21565610e92d699157ba35f777b7128a99c01ffffffff24a1894c4ee805b2fe5e58e585bb4cdc051c921c7f3f4c4d81dada4715e6f40902000000490047304402201a6cc9844bfb045d384a956b8ac761503463ebf59d0b818cf3afa8ca9965595202202ae5a1fede3216a172d3c0c79db6f5e85021d8d01d52197b827e68cdaefe4c1a01ffffffff2d83cd8dc24caf89fde7b11599f9eb1848db1d4a46ac53cad8a14ccc0273e22f020000004a00483045022100a3f464cb99635f08de6ae6bb45e98c9dfd213b281fff1002af79ebb001b0ac230220377f67b8777d83c053d80079d8412c0a0576150c2cef11e526015149f1f71da801ffffffffbf7604d46fb3a99186ad87ce22fad22ac1e40d8cff334ca6139be3db3aa60c23020000004a00483045022100faab6270915379fad457e57d846c059a50989e32099edf044d49e73c59aea4650220293cf9cd1fe7416eb4b3cdb8485eacf23b9e42a0398d5e137a25e9e01fa0329701ffffffff031e1d2ac843092330d13f6f9fdf7971215853c84343527ea6c2a5f86fe36e91020000004900473044022015ae4fbfa7a941fd07947ff2cb7d9d9b459827f71e5937a1dd078a6b3ff9537202202ceb44c1649e6e37f947cbd8bb78dacabc7a69e8d90f31be6a3e7239e19848c001ffffffff7da9e681f68043ea669b77e87f8a278fc1290b485cb962ec21ee7cf38c386e96020000004a0048304502210095ce3350dc3edf5cc776ad368fffaa5eb659ce4a8860a5d935a52a4e29e9cc7002204bbdc1e672e9bf48ce8e14fb399c3e0de077288369263ff4fd50f65e27a200d801ffffffff1945e380a914f5d07144a3293e86d1d7cb7608432fa49056a9d1db415d507471020000004a0048304502210080759617ee845e3dc8e72eca105b1111b47da0de5a0db83819d517b27f05d55e02204e1a5f9dfb53614db5fd8d373f9aa68f46432331d4d51a2b933c78d94dbcf44d01fffffffffb864a1a389336dd236efb1ec8677066111529a28b712396dda845f543299f47020000004a0048304502210095d09fd08255168bc0a20d4a175fadc205f12820cdf39540da45ba0557717ebc02200a5c2a5648af00157016b4eb22202b9f7f76f995d619a7ac6bc0ca62f8c081e301ffffffff2e5002353276fee3f0db55f55b6a3a76881a28e8b3ea8e0357d57c2bd7063649020000004a00483045022100e9a734d75d0695d8c32ce392597f2bd174da24ff39b299ac15f5d50dfddc1d2b02206294fbb56014c56a57c25440f1d597b1910fa7a72f78ca447fa3d41020d3c3fc01ffffffffb1ae57bebb4c06c3e7ab264ac5d633bb5a7239d9e08fc37ab3b5f41bb3305395020000004a00483045022100d7b74d1f96612eea7173570687167b6d35a1ad237963924bf8822829775b00d4022054a2c23606ab4af39312b0c99864bcdc796a8601b1535186fb5f83bdb1ef93ee01fffffffffa4efd2bf65ca0c2a60af49109e0ef85ca67b62d3871c709f70a337a2191a7f2020000004900473044022011fc0c70964c8c4282a24be1b497f642f1231fd5f88e5345082e2a7f65d1619a02206cdcca78112a1848558bb1105158ece45f7d729878fedabb9cf78c67b68964a001ffffffff2267aade72d54e03ea6d2bf41063848d2ec5e1a0969ad2056c281308a089074a02000000490047304402202cead405bf4512aee7b93549c78c677c63a8e578540eb2770666f86cc7bf609502202b8739d7b6bbbe6368376488936afad4e2ef825c2a8a3b788531ca2b386b90b401ffffffff04df20e7ced77fa2a0ecdb31904d87bebaff2194287c535c518c44bc15eabeb202000000490047304402207f8b6bb2bc9f3e73e6dd039be062396dcec71c189a5df80e56943577c084ec8b0220271a933e19b86482beac82cc85b99baa9123125a025a747299b726f161aca76401ffffffff404b107b2fe4bfc0007470f43a1ccf662507573789c60625fa4e490626e154cf020000004900473044022019b5cf9e6359ba82fddb2f623a9e72bdc4a0d3120aa5afab4cd13af98de401cb02202dc5ae5582e8654c95836adaf5543ef470bf82664ccc8ada93325958bba8ef9801ffffffff2801b49c18c1d43ab06085391af4ad2c8a580a228eb7c0e05003b72c70db001b020000004900473044022021ae9aebefab1b827f937287b0182d60061112dbe6d0f19be2edd667b4da364e022042891ffc8aa958bf83971a4ef8f80c49ad05efe7b4762e677a05b099715b9c6201ffffffffc6d27afc3f33bb36951bcffad256b75291bca7cdd724e3966314dc8015931e96020000004900473044022005b6a31b8d3f467e5c58cfe910b5eec82f99c89a432bcb9ddde5b9e452fecf4b022067ca5842900f43a6294d1062ecf03c220aa0c6c33058cf5d1612ba1cbae99bff01ffffffffc6d27afc3f33bb36951bcffad256b75291bca7cdd724e3966314dc8015931e96030000006a473044022071d010157f50d65c60793ecd347d599f23f4a1b3e69c9c36c54d56df15f9e5100220506588864ccfb23b62872b79fea61c965752ca1f6111b86fecfa8c0d2dcb75e60121026f2bfb1a005209a722cadd75d9397372b4fee628b410720297e29493bcece43affffffffc9378d3dc84a8491f34c0e6485ba14a0247b01da5e9e8c388c80ae5a2a281626020000004a00483045022100ee0aa8b563438993ff2b8d51006c25c2e016a892d414d21a1e2119e32a4f215d0220446d67754fe0ad054d56dd9be2340f14b0fb348e51cca8d4acbefcf8fcabd0a701ffffffff10347158482e1f7fe1cd9eb73ee1036e69207cc84296edf9c20319498c9149ed02000000490047304402207dbe8fca817d6858e0c2621f06db06e3b4c874e8ea4ae73cee0e5b742bafbd6502205288e11131c98ac7e04c63e138aad5da47c9450caedc1c14610b1610818f981901ffffffff8459763fc138665d597b27037b2ec4c42a5af2d21346bd058ca21482f1ab5137020000004900473044022061d15c3902a2081a53486ca7d8247d4fc540f627d26c01b0025cf188df672739022075c107640931ddcaaf5482d6ae14904e0edf8f7835512c900168ca803e82cc9501ffffffff2a6a3aa52e1a18f09c3e80019cb49a329cc81828fbc3ee6f1f2d7f988f67e454020000004a00483045022100c86e57239084eb5ac336ca0112c9c96e58000803b15209a08ae84085c4f9cc920220407b45c8b2077a6f80eccb45ed8a7b9f43d4f8a63bf8aab71816de77dc32bc9801ffffffff4648594bfe2e3a3cc076a78bf66d2c3bc49275decaf846e27b263aabbfdc773d020000004a004830450221009896e92a6ff631522b4908c9e4951ad6f1996bf696570fc54652a5a1b3acbf9802202fbf6ec7a9d2ddbeed66fcf7c933da6ad45318fe5c348071c6923d62dd6c9ab501ffffffffcc8b27f1f7bf7fef700ae9f12c4043f5df1c7684926bf865d18bc89520092c01020000004a0048304502210088983a2f39f718c43516c78baa6262060dddfea54b3be6d3d7218efd10889ce6022035710fb97b84e673f083f26ef5abcea937e6c76ebacb05414bcda0c1c47cb35201ffffffffdcf8aac9463fef4998dcfd719aab20667cbc234dc4e994a817c49de8cf9f8b720200000049004730440220312c4e32455320238687478ed5235f3f1062633d8efdc6f268f5933c98dc0fc102203c05a2050b82d25bbee73d8b388d7fc73dd069cd93edfcc15858665ecef3f66001ffffffffdcf8aac9463fef4998dcfd719aab20667cbc234dc4e994a817c49de8cf9f8b72030000006a47304402204a1b42f9bffe69b800a0a40c0779103bfe914d8432ea4a65133de6f05d36ea2902207843ca28f7b30bab6301701d0b659687ffbb6f3acc706c324ecf28c42e6d648f0121026f2bfb1a005209a722cadd75d9397372b4fee628b410720297e29493bcece43affffffff017fb91000000000001976a9145b21669fe9375599bb65919cb9efb9d349f33b5a88ac00000000",
    "complete" : true
}

Send the signed raw transaction:

Code:
./bitcoind sendrawtransaction 0100000021a2afacadd7587ab4ccf929de00061cb8b9e2f363476b14378045c014cbd9821202000000490047304402202c6b62d2336d5d3cb5c660c551b9baff5373cbcabf6f70f3ef8eb6509bdd6e1b02201ef3910f1ce578a21d608afb29d9abf2c6b6c5d6907ce3fa065b2cce13f4b89901ffffffff12a53a372da5f5c71ab91368efed26aaf15f63b1ad22f71aa71485fee54c6eac0200000049004730440220252e8c2175855ab93a73dde8ff348778b68fea897cc0b1f89eb38ee61e6e20100220585a4b63b2634da89b7ca4c10b34d5128c306239c3836e6f603209838cdf0b5b01ffffffffe722a30a3c656be50c5931d4c719a1c2eed9c5485972bcbb2dc568c840a0e690020000004a00483045022100a6e84423f8bedf7777bd167056e9cbb5ad8e6969a398bf28968b294900a5e283022010ec7c3e43317138051ebc05d173585c4cd6b1fa545b9eaf475223a77a28a93b01ffffffff62f0b17dfd4249acbbb6d3b14b85bf0b2187e95da19709e356164a8d259eb0dc02000000490047304402204461f1cd89c64f25586afbe68a72fd9fc67288d343fa9de470b125d3fd5ac4c10220378ab90f788422663c9a437739c0d3afc314d1960401e2cbf953797e25a9653501ffffffff5d2586e581600888c11e71ef4e31ebc06fca01ffc499418def3a76c31df213bf020000004900473044022039a4bb4a81796e02114712d3b327fd19a6a6c92b3f5d7bc5ab8cc18dec94801b02207d77daf1ac6d5c9510bb5ca61458fdb2c2de9acf0251bf9d1d3498c79fde812001ffffffffd9b3363513c236bc2946e13f28d9dfa6d8b9601fe29ebe438b78e6492375b931020000004a004830450221008a689596d60930effe7d8357b4e5350fd130c62c664e3388090942b63b6d89a0022046949847172556c7cf19b094fdad5c24d2b4cd1bac571b63e7d60b943f35b40101ffffffff8b2e7dc1f7735b58b5575bf2770b43da8f72481473628b8232b8c8fdf9df11c002000000490047304402203828e40d35ddd9bddcca3cd65cf2bdcdf10af64271281787487ba77262cbf9c80220449e0d830b3a614faf44ac78e1916a8c2dbd2351b8c9ca4a7c1a1d796523d7a201ffffffff8ca90f542f4abf415d07813cb874557e93345169bbe95507f1befe20bd7cad97020000004a00483045022100d1d68a405dad8e5e82e13eec9a8b61ac2cd14502ede155a70cc465eb319e97ea0220697c30cb163747411e74726f09a0c40f2329a747d56d79042f56455428ec1e6401ffffffffa2c33a30762f7f2396365b90e643c68fe1245fadbb7fb7ee8bc95c67b15b0dc9020000004a00483045022100c703e33754b8cf2ef63f01f1b2f364f1b2af697b7e7c50fc68ed363ee5015ed00220723d0be4c3f3c2cba0aee2d30571b21565610e92d699157ba35f777b7128a99c01ffffffff24a1894c4ee805b2fe5e58e585bb4cdc051c921c7f3f4c4d81dada4715e6f40902000000490047304402201a6cc9844bfb045d384a956b8ac761503463ebf59d0b818cf3afa8ca9965595202202ae5a1fede3216a172d3c0c79db6f5e85021d8d01d52197b827e68cdaefe4c1a01ffffffff2d83cd8dc24caf89fde7b11599f9eb1848db1d4a46ac53cad8a14ccc0273e22f020000004a00483045022100a3f464cb99635f08de6ae6bb45e98c9dfd213b281fff1002af79ebb001b0ac230220377f67b8777d83c053d80079d8412c0a0576150c2cef11e526015149f1f71da801ffffffffbf7604d46fb3a99186ad87ce22fad22ac1e40d8cff334ca6139be3db3aa60c23020000004a00483045022100faab6270915379fad457e57d846c059a50989e32099edf044d49e73c59aea4650220293cf9cd1fe7416eb4b3cdb8485eacf23b9e42a0398d5e137a25e9e01fa0329701ffffffff031e1d2ac843092330d13f6f9fdf7971215853c84343527ea6c2a5f86fe36e91020000004900473044022015ae4fbfa7a941fd07947ff2cb7d9d9b459827f71e5937a1dd078a6b3ff9537202202ceb44c1649e6e37f947cbd8bb78dacabc7a69e8d90f31be6a3e7239e19848c001ffffffff7da9e681f68043ea669b77e87f8a278fc1290b485cb962ec21ee7cf38c386e96020000004a0048304502210095ce3350dc3edf5cc776ad368fffaa5eb659ce4a8860a5d935a52a4e29e9cc7002204bbdc1e672e9bf48ce8e14fb399c3e0de077288369263ff4fd50f65e27a200d801ffffffff1945e380a914f5d07144a3293e86d1d7cb7608432fa49056a9d1db415d507471020000004a0048304502210080759617ee845e3dc8e72eca105b1111b47da0de5a0db83819d517b27f05d55e02204e1a5f9dfb53614db5fd8d373f9aa68f46432331d4d51a2b933c78d94dbcf44d01fffffffffb864a1a389336dd236efb1ec8677066111529a28b712396dda845f543299f47020000004a0048304502210095d09fd08255168bc0a20d4a175fadc205f12820cdf39540da45ba0557717ebc02200a5c2a5648af00157016b4eb22202b9f7f76f995d619a7ac6bc0ca62f8c081e301ffffffff2e5002353276fee3f0db55f55b6a3a76881a28e8b3ea8e0357d57c2bd7063649020000004a00483045022100e9a734d75d0695d8c32ce392597f2bd174da24ff39b299ac15f5d50dfddc1d2b02206294fbb56014c56a57c25440f1d597b1910fa7a72f78ca447fa3d41020d3c3fc01ffffffffb1ae57bebb4c06c3e7ab264ac5d633bb5a7239d9e08fc37ab3b5f41bb3305395020000004a00483045022100d7b74d1f96612eea7173570687167b6d35a1ad237963924bf8822829775b00d4022054a2c23606ab4af39312b0c99864bcdc796a8601b1535186fb5f83bdb1ef93ee01fffffffffa4efd2bf65ca0c2a60af49109e0ef85ca67b62d3871c709f70a337a2191a7f2020000004900473044022011fc0c70964c8c4282a24be1b497f642f1231fd5f88e5345082e2a7f65d1619a02206cdcca78112a1848558bb1105158ece45f7d729878fedabb9cf78c67b68964a001ffffffff2267aade72d54e03ea6d2bf41063848d2ec5e1a0969ad2056c281308a089074a02000000490047304402202cead405bf4512aee7b93549c78c677c63a8e578540eb2770666f86cc7bf609502202b8739d7b6bbbe6368376488936afad4e2ef825c2a8a3b788531ca2b386b90b401ffffffff04df20e7ced77fa2a0ecdb31904d87bebaff2194287c535c518c44bc15eabeb202000000490047304402207f8b6bb2bc9f3e73e6dd039be062396dcec71c189a5df80e56943577c084ec8b0220271a933e19b86482beac82cc85b99baa9123125a025a747299b726f161aca76401ffffffff404b107b2fe4bfc0007470f43a1ccf662507573789c60625fa4e490626e154cf020000004900473044022019b5cf9e6359ba82fddb2f623a9e72bdc4a0d3120aa5afab4cd13af98de401cb02202dc5ae5582e8654c95836adaf5543ef470bf82664ccc8ada93325958bba8ef9801ffffffff2801b49c18c1d43ab06085391af4ad2c8a580a228eb7c0e05003b72c70db001b020000004900473044022021ae9aebefab1b827f937287b0182d60061112dbe6d0f19be2edd667b4da364e022042891ffc8aa958bf83971a4ef8f80c49ad05efe7b4762e677a05b099715b9c6201ffffffffc6d27afc3f33bb36951bcffad256b75291bca7cdd724e3966314dc8015931e96020000004900473044022005b6a31b8d3f467e5c58cfe910b5eec82f99c89a432bcb9ddde5b9e452fecf4b022067ca5842900f43a6294d1062ecf03c220aa0c6c33058cf5d1612ba1cbae99bff01ffffffffc6d27afc3f33bb36951bcffad256b75291bca7cdd724e3966314dc8015931e96030000006a473044022071d010157f50d65c60793ecd347d599f23f4a1b3e69c9c36c54d56df15f9e5100220506588864ccfb23b62872b79fea61c965752ca1f6111b86fecfa8c0d2dcb75e60121026f2bfb1a005209a722cadd75d9397372b4fee628b410720297e29493bcece43affffffffc9378d3dc84a8491f34c0e6485ba14a0247b01da5e9e8c388c80ae5a2a281626020000004a00483045022100ee0aa8b563438993ff2b8d51006c25c2e016a892d414d21a1e2119e32a4f215d0220446d67754fe0ad054d56dd9be2340f14b0fb348e51cca8d4acbefcf8fcabd0a701ffffffff10347158482e1f7fe1cd9eb73ee1036e69207cc84296edf9c20319498c9149ed02000000490047304402207dbe8fca817d6858e0c2621f06db06e3b4c874e8ea4ae73cee0e5b742bafbd6502205288e11131c98ac7e04c63e138aad5da47c9450caedc1c14610b1610818f981901ffffffff8459763fc138665d597b27037b2ec4c42a5af2d21346bd058ca21482f1ab5137020000004900473044022061d15c3902a2081a53486ca7d8247d4fc540f627d26c01b0025cf188df672739022075c107640931ddcaaf5482d6ae14904e0edf8f7835512c900168ca803e82cc9501ffffffff2a6a3aa52e1a18f09c3e80019cb49a329cc81828fbc3ee6f1f2d7f988f67e454020000004a00483045022100c86e57239084eb5ac336ca0112c9c96e58000803b15209a08ae84085c4f9cc920220407b45c8b2077a6f80eccb45ed8a7b9f43d4f8a63bf8aab71816de77dc32bc9801ffffffff4648594bfe2e3a3cc076a78bf66d2c3bc49275decaf846e27b263aabbfdc773d020000004a004830450221009896e92a6ff631522b4908c9e4951ad6f1996bf696570fc54652a5a1b3acbf9802202fbf6ec7a9d2ddbeed66fcf7c933da6ad45318fe5c348071c6923d62dd6c9ab501ffffffffcc8b27f1f7bf7fef700ae9f12c4043f5df1c7684926bf865d18bc89520092c01020000004a0048304502210088983a2f39f718c43516c78baa6262060dddfea54b3be6d3d7218efd10889ce6022035710fb97b84e673f083f26ef5abcea937e6c76ebacb05414bcda0c1c47cb35201ffffffffdcf8aac9463fef4998dcfd719aab20667cbc234dc4e994a817c49de8cf9f8b720200000049004730440220312c4e32455320238687478ed5235f3f1062633d8efdc6f268f5933c98dc0fc102203c05a2050b82d25bbee73d8b388d7fc73dd069cd93edfcc15858665ecef3f66001ffffffffdcf8aac9463fef4998dcfd719aab20667cbc234dc4e994a817c49de8cf9f8b72030000006a47304402204a1b42f9bffe69b800a0a40c0779103bfe914d8432ea4a65133de6f05d36ea2902207843ca28f7b30bab6301701d0b659687ffbb6f3acc706c324ecf28c42e6d648f0121026f2bfb1a005209a722cadd75d9397372b4fee628b410720297e29493bcece43affffffff017fb91000000000001976a9145b21669fe9375599bb65919cb9efb9d349f33b5a88ac00000000

Result:

Code:
7ff6bc891db7c838a4762b9c829e40ddbe69dd0ce05ae2294de75c01fa2eaca7

This transaction is also visible on blockr.io or blockchain.info.


Notes on using other clients or web wallets:

Both routes assume Bitcoin core and bitcoind know the private keys to the addresses associated with the unspent outputs. This is probably not the case, if a web wallet like blockchain.info is used. Unfortunally blockchain.info does not provide a way to sign raw transactions. The most obvious and probably lamest workaround is to export your private key and import the key into Bitcoin Core.

The following example will show how the private key for the (empty - it's only an example) address 1MnE1rseVBgyaXKs3mScnnXpDM4ND1T3Wm could be exported and used.

Open the blockchain.info wallet and go to Import / Export:



Confirm the warning and navigate to Export Unencrypted. Depending on how many addresses were used by blockchain.info there may be several entries. What we need is the "priv" which matches our "addr". In this example this is 5KgMdeieZrqAqFsTkiEEdKnkBEBpeec433Rc6XvL2YMsFUpjtik.



Back in Bitcoin Core debug console (and similar with bitcoind) instead of:

Code:
signrawtransaction 01000...

The raw transaction is signed by providing the private key via:

Code:
signrawtransaction 01000... null '["5KgMdeieZrqAqFsTkiEEdKnkBEBpeec433Rc6XvL2YMsFUpjtik"]'

Then follow the steps above. In the case outputs associated with more than one address are redeemed all private keys must be provided, e.g.:

Code:
signrawtransaction 01000... null '["5KgMdeieZrqAqFsTkiEEdKnkBEBpeec433Rc6XvL2YMsFUpjtik", "5KaigRssSPQQCPm8LnPWzqzVDULAiZNhWAK3aFY2J77V4uHpK1q"]'

There are probably more elegant ways to sign the raw transaction and I'd be happy to edit this post and include more options. If you like to contribute, please go ahead.


Last but not least:

If you manage to sign the transaction but need more options to broadcast the transaction here are a few handy tools to do this:

http://eligius.st/~wizkid057/newstats/pushtxn.php
https://coinb.in/send-raw-transaction.html
https://blockchain.info/pushtx

Example:





That's it for now! Feedback and input is of course appreciated. Wink

mcjavar
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500


View Profile
April 22, 2014, 08:57:49 PM
 #12

Great tutorial, but I don´t get the transaction hash, so it´s not working for me.
dexX7 (OP)
Legendary
*
Offline Offline

Activity: 1106
Merit: 1026



View Profile WWW
April 22, 2014, 11:46:51 PM
 #13

Great tutorial, but I don´t get the transaction hash, so it´s not working for me.

Could you please send me the result you receive and maybe also the raw transaction? I'll take a look at it.

mcjavar
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500


View Profile
April 23, 2014, 10:10:29 AM
 #14

Great tutorial, but I don´t get the transaction hash, so it´s not working for me.

Could you please send me the result you receive and maybe also the raw transaction? I'll take a look at it.

do I need to provide my private key, too? Because I have XCP on that address.
dexX7 (OP)
Legendary
*
Offline Offline

Activity: 1106
Merit: 1026



View Profile WWW
April 23, 2014, 07:00:42 PM
 #15

Great tutorial, but I don´t get the transaction hash, so it´s not working for me.

Could you please send me the result you receive and maybe also the raw transaction? I'll take a look at it.

do I need to provide my private key, too? Because I have XCP on that address.

No! Please do never ever share your private key with anyone! I'd need to see your raw transaction to evaluate why your send fails.

mcjavar
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500


View Profile
April 25, 2014, 08:04:54 AM
 #16

I´m putting this one into the console:

signrawtransaction 01000000022a934fd4b21e68aa8c532c587605d0a0f286d67da6c24d1191096600fede074200000 00000ffffffffd130e3599c5476b51d28b2a5875e2b1bcece78caf92f0b1703defdbf3a43b43c01 00000000ffffffff01204e0000000000001976a914517242c9f3b17165b2ed293a673a17d96c14c 7eb88ac00000000 null ' ["MyPrivateKey"] '


Is something else needed?
dexX7 (OP)
Legendary
*
Offline Offline

Activity: 1106
Merit: 1026



View Profile WWW
April 25, 2014, 03:28:28 PM
 #17

I´m putting this one into the console:

signrawtransaction 01000000022a934fd4b21e68aa8c532c587605d0a0f286d67da6c24d1191096600fede074200000 00000ffffffffd130e3599c5476b51d28b2a5875e2b1bcece78caf92f0b1703defdbf3a43b43c01 00000000ffffffff01204e0000000000001976a914517242c9f3b17165b2ed293a673a17d96c14c 7eb88ac00000000 null ' ["MyPrivateKey"] '

Is something else needed?

Hm.. this should actually work, if you hold the key to 18RecXQxH8xuqS1zNgrukvPybDtc3Mn4br. I assume the empty spaces are due to a copy paste into the forum.

Is your bitcoind client synchronized and what wallet software do you use usually to manage this address?

DenisZabar
Sr. Member
****
Offline Offline

Activity: 614
Merit: 254



View Profile WWW
August 12, 2014, 09:46:09 PM
 #18

After enterd command signrawtransaction i getting this

Error: Please enter the wallet passphrase with walletpassphrase first. (code -13)

nutildah
Legendary
*
Offline Offline

Activity: 3136
Merit: 8502


Happy 10th Birthday to Dogeparty!


View Profile WWW
August 13, 2014, 10:36:52 AM
 #19


Hi there, I'd be willing to give you a 10% tip of my 3 recoveries I want to perform if you could develop some kind of online tool that automates that transaction signature and broadcasting service.

I suppose it has to be done through a bitcoin client but its gonna be a while before I have access to a fully-synced bitcoin-qt, to be honest.

Thanks, I really appreciate the concept of your application.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
dexX7 (OP)
Legendary
*
Offline Offline

Activity: 1106
Merit: 1026



View Profile WWW
August 13, 2014, 11:17:45 PM
 #20

After enterd command signrawtransaction i getting this

Error: Please enter the wallet passphrase with walletpassphrase first. (code -13)

Try to run:

Code:
walletpassphrase *your-wallet-password* 120

This message appears, if your wallet is encrypted and this command will unlock the wallet for a moment.



Hi there, I'd be willing to give you a 10% tip of my 3 recoveries I want to perform if you could develop some kind of online tool that automates that transaction signature and broadcasting service.

Yes, I'd really like to do so and I have more than one node online which might be used for this task. But the main problem I see is security related. Creating raw transactions, preparing all commands (for bitcoin-cli or other wallets) and broadcasting the transaction in the end is fine, but I really don't want users to expose their private keys online.

An alternative could be to create a basic one-purpose "offline" and clientside based tool which allows to sign the transaction. The process would be something like:

1. Enter your wallets online, select the coins to redeem
2. Copy transaction information into the offline signing tool
3. Push the transaction online

This would minimize the risk, but maintaing usability is another topic. Well, I guess compared to now anything would be beneficial. Wink

As a sidenote some numbers:

Out of 84'666 multisig outputs in total (as of block height 312'999) only 14'954 are redeemed - that's 17.662 %. Chancecoin currently defines the golden standard with a ratio of ~60 % redeemed outputs -- they integrated the web API directly into their client. (docs are somewhat outdated - backend can be found here)

Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!