Bitcoin Forum
June 17, 2024, 12:38:39 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: how spend bitcoin from  (Read 1449 times)
Shonis (OP)
Newbie
*
Offline Offline

Activity: 54
Merit: 0


View Profile
May 01, 2015, 05:42:03 PM
 #1

how i can spend bitcoin from multi-sign address who start with 3 ?
i have my Normal address who start with 1 and public key  used for multi-sign
now i have private key by other , but now what i have to do ?
jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1023


Mine at Jonny's Pool


View Profile WWW
May 01, 2015, 06:10:16 PM
 #2

how i can spend bitcoin from multi-sign address who start with 3 ?
i have my Normal address who start with 1 and public key  used for multi-sign
now i have private key by other , but now what i have to do ?
Are you using some client like Electrum, or are you asking how to do it via command line and/or through the Bitcoin Core client?

Jonny's Pool - Mine with us and help us grow!  Support a pool that supports Bitcoin, not a hardware manufacturer's pockets!  No SPV cheats.  No empty blocks.
Shonis (OP)
Newbie
*
Offline Offline

Activity: 54
Merit: 0


View Profile
May 01, 2015, 06:47:49 PM
 #3

how i can spend bitcoin from multi-sign address who start with 3 ?
i have my Normal address who start with 1 and public key  used for multi-sign
now i have private key by other , but now what i have to do ?
Are you using some client like Electrum, or are you asking how to do it via command line and/or through the Bitcoin Core client?

i have bitcoin-qt on my pc , so if i can do with this , or its possible use blockchain.info too ?
Amph
Legendary
*
Offline Offline

Activity: 3206
Merit: 1069



View Profile
May 01, 2015, 07:31:26 PM
 #4

how i can spend bitcoin from multi-sign address who start with 3 ?
i have my Normal address who start with 1 and public key  used for multi-sign
now i have private key by other , but now what i have to do ?
Are you using some client like Electrum, or are you asking how to do it via command line and/or through the Bitcoin Core client?

i have bitcoin-qt on my pc , so if i can do with this , or its possible use blockchain.info too ?

a complete guide to spend with multisig, this is for darcoin core, but it should work for bitcoin core too

https://letstalkbitcoin.com/blog/post/intro-to-multisigs-and-an-example-with-darkcoin-bitcoin-core

go down to "spending"
unamis76
Legendary
*
Offline Offline

Activity: 1512
Merit: 1009


View Profile
May 01, 2015, 10:53:29 PM
 #5

https://www.reddit.com/r/Bitcoin/comments/2enog2/how_to_create_a_multisig_address_and_spend_from/

This is a nice guide too, quite a nice reading for a slow evening Smiley

Go ahead and good luck.
coinableS
Legendary
*
Offline Offline

Activity: 1442
Merit: 1179



View Profile WWW
May 02, 2015, 05:25:24 PM
 #6

Using bitcoin core/qt you can send from multisig by generating a raw tx in the console.
You'll need to know the transaction hash, vout and scriptPubKey of the unspent outputs you want to spend.
You'll also need the private keys from the multisig address as well as the redeemScript.
Be careful, if you don't spend the full amount or specify a 2nd address, the remaining will be used as a mining fee.

Code:
createrawtransaction '[{"txid":"6a4c4c3acc5d535a9a...","vout":0}]' '{"1xSomeBitcoinAddress51245d":0.01}'

This will generate a hash, take that hash and plug it in the below in place of hash_from_createraw

Code:
signrawtransaction 'hash_from_createraw' '[{"txid":"6a4c4c3acc5d535a9a...","vout":0,"scriptPubKey":"a91440c7dbad...","redeemScript":"52210347f3394f..."}]' '["priv_key"]'

This will generate another hash, take this and insert it below in place of hash_from_signraw

Code:
signrawtransaction 'hash_from_signraw' '[{"txid":"6a4c4c3acc5d535a9a...","vout":0,"scriptPubKey":"a91440c7dbad...","redeemScript":"52210347f3394f..."}]' '["priv_key2"]'

This will generate another hash, copy this hash and paste it in place of hash_from_2nd_signraw

Code:
sendrawtransaction hash_from_2nd_signraw

This will send the transaction and broadcast it to the network, all done!

Shonis (OP)
Newbie
*
Offline Offline

Activity: 54
Merit: 0


View Profile
May 04, 2015, 05:06:53 PM
 #7

Hi thanks for explications , but i didnt understand Sad

i'm in this situation , i have 3 pub keys
2 private keys ( mine and other one )
redeem script  now my question how can i take the bitcoin easy from the Address who start with  3sDkjhdkCljdlh4..............

i want to send all bitcoins from multi sign address to a normal address example   1kdgCie456..........................
Shonis (OP)
Newbie
*
Offline Offline

Activity: 54
Merit: 0


View Profile
May 05, 2015, 12:58:54 PM
 #8


i'm sorry from where i can find TXid ?

createrawtransaction '[{"txid":"6a4c4c3acc5d535a9a...","vout":0}]' '{"1xSomeBitcoinAddress51245d":0.01}'

what is vout ??

1xSomeBitcoinAddress51245d":0.01    here i need to insert the address where i want to send the BTC from multisign address or ?
unamis76
Legendary
*
Offline Offline

Activity: 1512
Merit: 1009


View Profile
May 05, 2015, 05:21:47 PM
 #9


i'm sorry from where i can find TXid ?

createrawtransaction '[{"txid":"6a4c4c3acc5d535a9a...","vout":0}]' '{"1xSomeBitcoinAddress51245d":0.01}'

what is vout ??

1xSomeBitcoinAddress51245d":0.01    here i need to insert the address where i want to send the BTC from multisign address or ?

The txid is from the transaction that sent the coins in.

The vout is from that same transaction.

And yes, that the address you want to send to. Be careful with the amount sent and the fee
Bitcoin_BOy$
Hero Member
*****
Offline Offline

Activity: 854
Merit: 503


|| Web developer ||


View Profile
May 05, 2015, 06:10:28 PM
 #10

Lolz , You can sure spent evey bits in that address , you can buy gift cards from : egiftcard.com
very fast , If you want to test  Grin .

Kind Of Respect ,
Bitcoin Boy .
Shonis (OP)
Newbie
*
Offline Offline

Activity: 54
Merit: 0


View Profile
May 06, 2015, 11:14:44 AM
 #11

Bitcoin Boy$ i didn't understand your humor Sad

i do this but i get errors Sad

Code:
createrawtransaction '[{"txid":"251ba9a969ac0bd7b1e582bacf142b80e4decc53bfb045b5f092f24be60c","vout":0}]' '{"1vvKEiDd9hUtM3fmJRmTXuajawZ837LZq":0.005}'

 
return to me something like this :::
Code:
010000010ce64bf292f0b545b0bf53ccdee4802b14cfac2b581e7bbdc09a969aba516d280000000000ffffffff0180841e00000000001976a9147c1c05574329bb10ed40e45b49cf0c849dcc826a88ac000000

Code:
signrawtransaction '010000010ce64bf292f0b545b0bf53ccdee4802b14cfac2b581e7bbdc09a969aba516d280000000000ffffffff0180841e00000000001976a9147c1c05574329bb10ed40e45b49cf0c849dcc826a88ac000000' '[{"txid":"251ba9a969ac0bd7b1e582baccf142b80e4decc53bfb05b5f092f24be60c","vout":0,"scriptPubKey":"02320075fa66d6b2314bca27bbe9a72b0dec25eff82750e1020518aed1b126","redeemScript":"52210347f3394fdsigyuhksehnkbs9114c6991ee50d5e4e8c32102320075fa66d6b2314bca27bbe9a572b0dec25eff82750e1020518aed1b1264821035254c5fb25ddb8e5a7e7645177b2fc392f49aefaed9982a97a6caf5da59de57c53ae"}]' '["KxULFy568JkUZV74TdjS2xJwmYb7h85CvKgxoiaLAAwV8Xa"]'

i get this error in this ::
Code:
Previous output scriptPubKey mismatch:
OP_HASH160 4be8abd5bf73dd5681697d7176acefc05bee OP_EQUAL
vs:
2822 5fa6d6b234bc OP_GREATERTHANOREQUAL OP_ROT OP_UNKNOWN OP_BOOLAND 7 [error] (code -22)

the TxID redeem etc .. is little alterated but i'm sure i put all info right in bitcoin-qt command line
Pages: [1]
  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!