Create transaction:
2 BTC out But only 1 BTC in Sign transaction (If you don't know what coins the other party wants to spend, use SIGHASH_ANYONECANPAY) Publish / send / tweet transaction (Can't broadcast yet) |
|||
Get transaction, recreate and check
Add funds 1 BTC + 1 BTC = 2 BTC Add signatures Broadcast transaction |