Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Spending a Multi-Signature Input Feelessly
% StealthCoind createrawtransaction '[{"txid":"25662b566a2c5fb2d658cbcaae4eba05943cb29afe72e1c9ec4bba6324bdc7ba","vout":0}]' '{"mhbrJjyjXThn7xfp1NjUm5EAz1LBQM1dLT":20}'
0400000001bac7bd2463ba4becc9e172fe9ab23c9405ba4eaecacb58d6b25f2c6a562b66250000000000ffffffff01002d3101000000001976a91416dd552da5ea123973232fcc76639fc1e09ea16788ac00000000
% StealthCoind createfeework "0400000001bac7bd2463ba4becc9e172fe9ab23c9405ba4eaecacb58d6b25f2c6a562b66250000000000ffffffff01002d3101000000001976a91416dd552da5ea123973232fcc76639fc1e09ea16788ac00000000" 4348768
{
"rounds" : 463,
"height" : 4348768,
"block_hash" : "ea2170d87399e1164006e3b3c9abdbc84ebeec1eb6ffca79117f9a6bcc61273e",
"mcost" : 256,
"bytes" : 0,
"limit_hex" : "0006ffffffffffff",
"limit_denary" : 1970324836974591,
"work_hex" : "f522b02401723ed6",
"work_denary" : 17663874357190082262,
"hash_hex" : "00050ec28cf42b8b",
"hash_denary" : 1423603634809739,
"script_asm" : "00425b6000000100f522b02401723ed6 OP_FEEWORK",
"script_hex" : "1000425b6000000100f522b02401723ed6d1",
"raw_tx_new" : "0400000001bac7bd2463ba4becc9e172fe9ab23c9405ba4eaecacb58d6b25f2c6a562b66250000000000ffffffff02002d3101000000001976a91416dd552da5ea123973232fcc76639fc1e09ea16788ac0000000000000000121000425b6000000100f522b02401723ed6d100000000"
}
% StealthCoind signrawtransaction 0400000001bac7bd2463ba4becc9e172fe9ab23c9405ba4eaecacb58d6b25f2c6a562b66250000000000ffffffff02002d3101000000001976a91416dd552da5ea123973232fcc76639fc1e09ea16788ac0000000000000000121000425b6000000100f522b02401723ed6d100000000
{
"hex" : "0400000001bac7bd2463ba4becc9e172fe9ab23c9405ba4eaecacb58d6b25f2c6a562b662500000000910047304402203dca107384be469fe8c4662e1fd766dcc85483deed09ea5b1ba33f458b096d1d022054d835419aeecf972d434c49d35daae3610b980cdefddff42f7bbe3770bdb3ca0147512102cd85238b5e7615ede6661ae2a8fb57f71d6bdc24b23ec1f91d5b0a7a37e56c7b2102dd3bd7efe1cb4aeb0531329c91dbc300ed48d36ed552b41503173621f1148f8b52aeffffffff02002d3101000000001976a91416dd552da5ea123973232fcc76639fc1e09ea16788ac0000000000000000121000425b6000000100f522b02401723ed6d100000000",
"complete" : true
}
% StealthCoind sendrawtransaction 0400000001bac7bd2463ba4becc9e172fe9ab23c9405ba4eaecacb58d6b25f2c6a562b662500000000910047304402203dca107384be469fe8c4662e1fd766dcc85483deed09ea5b1ba3 eb0531329c91dbc300ed48d36ed552b41503173621f1148f8b52aeffffffff02002d3101000000001976a91416dd552da5ea123973232fcc76639fc1e09ea16788ac0000000000000000121000425b6000000100f522b02401723ed6d100000000
3eb4af3e12079dbaf4d31c9abc6474c5431fe3481e34a390f33090b28695717a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment