Saturday 15 September 2012

javascript - Bitcore multisig - how to sign a partially signed multisig bitcoin transaction -



javascript - Bitcore multisig - how to sign a partially signed multisig bitcoin transaction -

i trying figure out right way sign partially signed multisig bitcoin transaction using bitpay's opensource bitcore library (http://bitcore.io)?

for multisig bitcoin transaction, 1 person may sign transaction private key. pass transaction person sign using private key.

if bitcoin transaction created using bitcore, can utilize bitcore's transactionbuilder build transaction , sign calling sign(). however, if else has transaction signed him , pass sign. how should utilize bitcore library sign? there way translate transaction bitcore transactionbuilder object , phone call sign() method?

thank much help.

sorry not bitcore specific way explaining series of events indicates might missing 1 detail of multisig transactions.

for multisig parties submit public key create address.

a multisig address created.

any coins sent address need n of m private keys sign agreed upon txn coin ownership move in blockchain.

once transaction agreed upon parties sign transaction using own public key bob not need pass on signed transaction alice. bob , alice need agree multisig address take amount of inputs , utilize outputs address.

to clear there no partially signed transaction users standpoint network clients verifying transaction. partially signed txn txn submitted network not have signatures needed signed transactions can submitted independently 1 another. network authorize multisig txn when there sufficient signed txns n different keys per parameters created multisig address.

bitcore has illustration of multsig here

javascript bitcoin

No comments:

Post a Comment