I'm looking for a simple guide on how to do multisig transaction using the testnet network.
I'm looking to create a payment solution with escrow capabilities. (buyer, vendor, marketplace).
However, when I create a funding address and send the funds and go to create a raw transaction it's already signed and I'm unable to do anything with it?
I'm willing to also maybe reward the user that can help, and there could be a very high reward depending the help.
# Market:
tpubD6NzVbkrYhZ4XoHF1Ww7V5Q4PTdTR6KWac6mjMCHfEsTKyc8eLSS5ts9DytQjssgeXqSYKzP5UM
iC2Ecnhu9LUfAT3knc7oScpRBfLK3N7Y
02059948c2ee7136f5e986471f7be70858f94007cadaf2690ed4126ed24eeca284
# Vendor:
tpubD6NzVbkrYhZ4XuM7tF5GQteD3uPo982nPsnCprvRsWfMfPDJ5Zx5cY4fVHNCgNAAjKEumyXjBbA
AVMUV1K4vkbPb4RzthzyviEn7DJqn5xT
0269329aabf3e782438040b719169cd186c81c4ee841712159ca2c0decc695d7a4
#Buyer
tpubD6NzVbkrYhZ4YanxUmHzabCCsTBNUVWcZnKbDgR54shAUKNQBh7TY9UUFUFhPN1r3KY4MkAzjqB
e3yju5vDTALxSq3YMdW49vn59xaXZkYp
033f94135ea1ee3ca6467bc5ebb3357284bf038223bb5651fece1ee6207b2479c8
bitcoin-cli --testnet createmultisig 2 '["033f94135ea1ee3ca6467bc5ebb3357284bf038223bb5651fece1ee6207b2479c8","0269329aabf3e782438040b719169cd186c81c4ee841712159ca2c0decc695d7a4","0269329aabf3e782438040b719169cd186c81c4ee841712159ca2c0decc695d7a4"]'
{
"address": "2N4DqqGFJn7bBNmE3yjBssUpCZEVxrTcJan",
"redeemScript": "5221033f94135ea1ee3ca6467bc5ebb3357284bf038223bb5651fece1ee6207b2479c8210269329aabf3e782438040b719169cd186c81c4ee841712159ca2c0decc695d7a4210269329aabf3e782438040b719169cd186c81c4ee841712159ca2c0decc695d7a453ae"
}
#TX ID: fad9591024f7c8d182295d516c913c1171eb4c6ddd38578d18fe32735f8a368f
bitcoin-cli getrawtransaction fad9591024f7c8d182295d516c913c1171eb4c6ddd38578d18fe32735f8a368f 1
{
"txid": "fad9591024f7c8d182295d516c913c1171eb4c6ddd38578d18fe32735f8a368f",
"hash": "fad9591024f7c8d182295d516c913c1171eb4c6ddd38578d18fe32735f8a368f",
"version": 2,
"size": 224,
"vsize": 224,
"weight": 896,
"locktime": 1746762,
"vin": [
{
"txid": "d36a8e3333bec23a26cbb374c9f9d9d43ac19110e92378a847fc1408485e39c6",
"vout": 0,
"scriptSig": {
"asm": "304502210091c441482225222b0e0b929b7aecde0460d746cc51e808b100dd4209a74ca87302207767b8c47cc79182ca13f9f5defb041dab8456a3fa2c2d96701087580bdf91cf[ALL] 02c76d29461a3a6a2614258d8636e7031a2f71140e6a87757a49d4a82c04cc6596",
"hex": "48304502210091c441482225222b0e0b929b7aecde0460d746cc51e808b100dd4209a74ca87302207767b8c47cc79182ca13f9f5defb041dab8456a3fa2c2d96701087580bdf91cf012102c76d29461a3a6a2614258d8636e7031a2f71140e6a87757a49d4a82c04cc6596"
},
"sequence": 4294967293
}
],
"vout": [
{
"value": 0.00100000,
"n": 0,
"scriptPubKey": {
"asm": "OP_HASH160 786679211df292d49a4565e412d4087ee2db644c OP_EQUAL",
"hex": "a914786679211df292d49a4565e412d4087ee2db644c87",
"reqSigs": 1,
"type": "scripthash",
"addresses": [
"2N4DqqGFJn7bBNmE3yjBssUpCZEVxrTcJan"
]
}
},
{
"value": 0.01006896,
"n": 1,
"scriptPubKey": {
"asm": "OP_DUP OP_HASH160 22bde504f3b57d4f17fab1b2d5b281623a83923a OP_EQUALVERIFY OP_CHECKSIG",
"hex": "76a91422bde504f3b57d4f17fab1b2d5b281623a83923a88ac",
"reqSigs": 1,
"type": "pubkeyhash",
"addresses": [
"migekgg56pYFkMjPRTWKEzXdNXHu6Gfi66"
]
}
}
],
"hex": "0200000001c6395e480814fc47a87823e91091c13ad4d9f9c974b3cb263ac2be33338e6ad3000000006b48304502210091c441482225222b0e0b929b7aecde0460d746cc51e808b100dd4209a74ca87302207767b8c47cc79182ca13f9f5defb041dab8456a3fa2c2d96701087580bdf91cf012102c76d29461a3a6a2614258d8636e7031a2f71140e6a87757a49d4a82c04cc6596fdffffff02a08601000000000017a914786679211df292d49a4565e412d4087ee2db644c87305d0f00000000001976a91422bde504f3b57d4f17fab1b2d5b281623a83923a88ac4aa71a00"
}
#
bitcoin-cli --testnet createrawtransaction '[{"txid" : "d36a8e3333bec23a26cbb374c9f9d9d43ac19110e92378a847fc1408485e39c6","vout":0}]' '{"n3QXqyFHcBuWoe5TmCvp4k38sc6APpMUmn":0.00090000}'
[bitcoind@centos dev]$ bitcoin-cli --testnet createrawtransaction '[{"txid" : "fad9591024f7c8d182295d516c913c1171eb4c6ddd38578d18fe32735f8a368f","vout":0}]' '{"n3QXqyFHcBuWoe5TmCvp4k38sc6APpMUmn":0.00090000}'
02000000018f368a5f7332fe188d5738dd6d4ceb71113c916c515d2982d1c8f7241059d9fa00000
00000ffffffff01905f0100000000001976a914f01bdca4126338417da56340825fb458007bd17b
88ac00000000
Output:
https://prnt.sc/spmeyo