Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: LordNacho on November 01, 2013, 11:14:42 AM



Title: Transactions with only one possible next address?
Post by: LordNacho on November 01, 2013, 11:14:42 AM
I'm wondering if it's possible to create a transaction that the receiver can only send back to one specific place.

So for instance a supermarket cart would receive a coin, and the coin would always go back to the customer who put it in, after they return the cart to the queue. Currently this is done by a chain type system where one cart locks the next.


Title: Re: Transactions with only one possible next address?
Post by: piotr_n on November 01, 2013, 10:27:50 PM
Transaction which can be sent to only one address does not make any sense. It isn't even a money.
It's essentially an asset in an escrow - you can use mulitisig addresses; the only way to "unlock a coin" is to get it signed by two parties and the party that gets it back wont sign anything that isn't coming back to it.


Title: Re: Transactions with only one possible next address?
Post by: jl2012 on November 02, 2013, 06:51:10 AM
no


Title: Re: Transactions with only one possible next address?
Post by: DobZombie on November 02, 2013, 08:53:01 AM
no

What a wonderfully detailed response

:P


Title: Re: Transactions with only one possible next address?
Post by: Abdussamad on November 02, 2013, 11:49:44 AM
See providing a deposit:

https://en.bitcoin.it/wiki/Contracts#Example_1:_Providing_a_deposit

Problem is that nlocktime is not well supported or so I hear.


Title: Re: Transactions with only one possible next address?
Post by: grau on November 02, 2013, 03:10:30 PM
nlocktime is usable and could be utilized to create an offsetting transaction in advance.
It would be a similar scheme thane implemented in bitcoinj micropayment channel:

https://bitcointalk.org/index.php?topic=244656.msg2593783#msg2593783