Atomic transactions on bitcoin

+1 vote
I like the piece on DvP and using partially signed transactions to achieve this.

Have you been able to execute this type of atomic  transaction using different asset types on the Bitcoin Main net?

I've seen colored coins in action and private block chains but I'm curious to know if you've implemented anything on bitcoin main net.
asked Sep 14, 2015 by anonymous

1 Answer

0 votes

Yes, you can definitely do this with protocols like CoinSpark, by building the exchange transaction in a similar way to that used in MultiChain. The difference is that on the bitcoin blockchain, information describing the asset transfers sits in an extra OP_RETURN, rather than in OP_DROP metadata inside each transaction output. As a result you can't use partial transactions/signatures (SIGHASH_SINGLE) to create a safe DvP offer that can be passed around. Instead all participants must know the full set of inputs and outputs ahead of time, and all sign the transaction (including OP_RETURN) with SIGHASH_ALL.

answered Sep 14, 2015 by MultiChain