Author

Topic: Multisignature (Read 893 times)

sr. member
Activity: 412
Merit: 287
February 06, 2014, 10:02:27 AM
#2
You need to call addmultisigaddress() with n, and an array containing the public keys. This adds it to the wallet, which is needed when signing the transactions.

If you're giving transactions to users to sign they'll need to do this before they can sign. Have a look at https://coinb.in/multisig, it'll help you a lot when signing.
newbie
Activity: 6
Merit: 0
January 21, 2014, 04:09:59 AM
#1
Hi guys .
I'm trying to integrate multisignature on my site , but I encountered a problem.

What am I doing ?

I create multisig address:
Code:
bitcoind createmultisig 2 '["pubkey1", "pubkey2", "pubkey3"]'

Then I transfer funds generated address. It begins with the number 3

Next, I create a raw transaction:
Code:
bitcoind createrawtransaction '[{"txid": " transfer transaction id here ", "vout": 0} ]' ' { ' address for withdrawal " : 0.1 } '

Then I try to sign the transaction :
Code:
bitcoind signrawtransaction  '[{"txid": " transfer transaction id here ", "vout": 0 , "scriptPubKey": " I ​​took out decoderawtransaction"}]' '["privkey1", "privkey2"]'
But the answer comes - complete: False

What should I do ?

In this case, a bunch of keys (private / public ) is taken from one wallet.


And one more question . If I use the public keys of different wallets, may I sign a transaction private keys on a wallet? I need to import private keys ? But where?

Sorry for my bad English.
Jump to: