Bitcoin Forum
July 10, 2024, 01:21:48 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Will Bitcoin client do direct peer-peer coin exchange  (Read 1507 times)
coinbridge (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
January 20, 2014, 11:12:10 PM
 #1

Is there a plan in the future Bitcoin versions to implement a function to allow the user to directly trade Bitcoins with altcoins without the "take and run" risk? I see this as a valuable feature and wonder if it's already built into the current Bitcoin protocol or it can be easily added to the current client via an API.
BurtW
Legendary
*
Offline Offline

Activity: 2646
Merit: 1137

All paid signature campaigns should be banned.


View Profile WWW
January 20, 2014, 11:20:12 PM
 #2

I assume you are asking for the following:

Wallet one:  send X BTC to wallet two but only after getting Y crapcoins.

Wallet two:  send Y crapcoins to wallet one but only after getting X BTC.

Someone has to go first.

They are on different protocols.

Now I could see someone offering a web site escrow service that would do something like this.

Wallet one:  put X BTC in escrow at the escrow site, waiting on Y crapcoins.

Wallet two:  put Y crapcoins in escrow at the escrow site, waiting on X BTC.

Escrow site:  when both parts of the escrow are confirmed, send Y crapcoins to wallet one (minus a fee) and send X BTC to wallet two (minus a fee).

Our family was terrorized by Homeland Security.  Read all about it here:  http://www.jmwagner.com/ and http://www.burtw.com/  Any donations to help us recover from the $300,000 in legal fees and forced donations to the Federal Asset Forfeiture slush fund are greatly appreciated!
coinbridge (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
January 20, 2014, 11:28:12 PM
 #3

Yes but I want to do it without going through a centralized exchange. The trade needs to be direct peer to peer, no escrow accounts and so on. There can be a website where people post offers and bids and make deals but the actual exchange are purely between their wallets.

BurtW
Legendary
*
Offline Offline

Activity: 2646
Merit: 1137

All paid signature campaigns should be banned.


View Profile WWW
January 20, 2014, 11:44:55 PM
 #4

I do not see a way to do it without escrow because someone has to go first or you have a deadlock - see my post above.

Maybe someone smarter than I can help you out.

Our family was terrorized by Homeland Security.  Read all about it here:  http://www.jmwagner.com/ and http://www.burtw.com/  Any donations to help us recover from the $300,000 in legal fees and forced donations to the Federal Asset Forfeiture slush fund are greatly appreciated!
coinbridge (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
January 20, 2014, 11:55:16 PM
 #5

The question always is: who sends first?

That's when middlemen step in, but that's the old world way!

I can see crypto-fiat trade in that fashion because there are no options.

But inter-crypto trades going through centralized exchanges is a disgrace.

It's deeply unsatisfying to see that, especially the solution is very simple for crytocurrencies. I don't know why Bitcoin does not have this feature. May be it never anticipated the viability of altcoins.


 
BurtW
Legendary
*
Offline Offline

Activity: 2646
Merit: 1137

All paid signature campaigns should be banned.


View Profile WWW
January 21, 2014, 12:04:39 AM
 #6

The question always is: who sends first?

That's when middlemen step in, but that's the old world way!

I can see crypto-fiat trade in that fashion because there are no options.

But inter-crypto trades going through centralized exchanges is a disgrace.

It's deeply unsatisfying to see that, especially the solution is very simple for crytocurrencies. I don't know why Bitcoin does not have this feature. May be it never anticipated the viability of altcoins.
So, you already have a solution to the "who goes first" issue?  Can you describe it please.

Our family was terrorized by Homeland Security.  Read all about it here:  http://www.jmwagner.com/ and http://www.burtw.com/  Any donations to help us recover from the $300,000 in legal fees and forced donations to the Federal Asset Forfeiture slush fund are greatly appreciated!
coinbridge (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
January 21, 2014, 12:12:28 AM
 #7

I do not see a way to do it without escrow because someone has to go first or you have a deadlock - see my post above.

Maybe someone smarter than I can help you out.

Yes you can do it without escrow. I just want to know if Bitcoin or any altcoins already have it in the plan so I'm not wasting my time.
coinbridge (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
January 21, 2014, 12:25:59 AM
 #8

The question always is: who sends first?

That's when middlemen step in, but that's the old world way!

I can see crypto-fiat trade in that fashion because there are no options.

But inter-crypto trades going through centralized exchanges is a disgrace.

It's deeply unsatisfying to see that, especially the solution is very simple for crytocurrencies. I don't know why Bitcoin does not have this feature. May be it never anticipated the viability of altcoins.
So, you already have a solution to the "who goes first" issue?  Can you describe it please.

I'll describe it that after I get some responses to my original question.
StevenS
Full Member
***
Offline Offline

Activity: 206
Merit: 100


View Profile
January 21, 2014, 12:44:15 AM
 #9

The only way I can see this working is if there is a kind of transaction (tx) that depends on a tx from a different protocol. That is:

tx1: Send X BTC to wallet two if and only if there is a tx2 (which has to be allowed to be attached after tx1 is signed) that meets certain parameters, such that it sends Y altcoin from altwallet two to altwallet one. Part of tx1 has to be a "timeout" value that either cancels the transaction, or sends the BTC somewhere else if tx2 doesn't happen.

After the owner of wallet two sees tx1 on the network, he could then issue tx2, which would do the altcoin transfer and also be attached somehow to the Bitcoin blockchain.

The problem is that this would greatly complicate the Bitcoin protocol. I have trouble seeing how something like this could be made generic enough for arbitrary altcoins.

I would guess that there is a .01% chance of this happening.
maaku
Legendary
*
Offline Offline

Activity: 905
Merit: 1012


View Profile
January 21, 2014, 01:22:22 AM
 #10

Someone has to go first.

They are on different protocols.

This is incorrect. See, for example, CoinSwap and the atomic exchange contract on the bitcoin wiki as ways this could be done now.

Also, with protocol extensions the limitations of these techniques could be worked around as well.

I'm an independent developer working on bitcoin-core, making my living off community donations.
If you like my work, please consider donating yourself: 13snZ4ZyCzaL7358SmgvHGC9AxskqumNxP
coinbridge (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
January 21, 2014, 02:26:50 AM
 #11

So if Bitcoin does not have such a protocol in place, how hard is it to implement such a protocol in the future? What would prevent it from doing this?
BurtW
Legendary
*
Offline Offline

Activity: 2646
Merit: 1137

All paid signature campaigns should be banned.


View Profile WWW
January 21, 2014, 04:36:08 AM
Last edit: January 21, 2014, 09:16:20 PM by BurtW
 #12

Coinswap is all Bitcoin and uses the current protocol without any changes.

I was thinking about CoinJoin.  See below.  Oops.

Our family was terrorized by Homeland Security.  Read all about it here:  http://www.jmwagner.com/ and http://www.burtw.com/  Any donations to help us recover from the $300,000 in legal fees and forced donations to the Federal Asset Forfeiture slush fund are greatly appreciated!
maaku
Legendary
*
Offline Offline

Activity: 905
Merit: 1012


View Profile
January 21, 2014, 06:34:13 AM
 #13

There's no reason you can't do CoinSwaps across chains (it's even mentioned in the introductory post). Maybe you're thinking of CoinJoin?

I'm an independent developer working on bitcoin-core, making my living off community donations.
If you like my work, please consider donating yourself: 13snZ4ZyCzaL7358SmgvHGC9AxskqumNxP
BurtW
Legendary
*
Offline Offline

Activity: 2646
Merit: 1137

All paid signature campaigns should be banned.


View Profile WWW
January 21, 2014, 01:33:15 PM
Last edit: January 21, 2014, 09:15:22 PM by BurtW
 #14

Ah yes those two names are so similar.  Nevermind.  Carry on.  This could be very interesting as long as it can be done with no changes to Bitcoin.

Our family was terrorized by Homeland Security.  Read all about it here:  http://www.jmwagner.com/ and http://www.burtw.com/  Any donations to help us recover from the $300,000 in legal fees and forced donations to the Federal Asset Forfeiture slush fund are greatly appreciated!
coinbridge (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
January 21, 2014, 09:03:10 PM
 #15

Ah yes those two names are so similar.  Nevermind.  Carry on.  This ccould be very interesting as long as it can be done with no changes to Bitcoin.

I'm puzzled by the insistence not to changes Bitcoin protocols. Is it a technical challenge? In my mind they can't they just do that in the next version update?
prezbo
Sr. Member
****
Offline Offline

Activity: 430
Merit: 250


View Profile
January 21, 2014, 09:06:28 PM
 #16

Ah yes those two names are so similar.  Nevermind.  Carry on.  This ccould be very interesting as long as it can be done with no changes to Bitcoin.
The atomic cross-chain trading maaku mentioned already works without any changes to the protocol(s), all it needs is an easy to use implementation.
BurtW
Legendary
*
Offline Offline

Activity: 2646
Merit: 1137

All paid signature campaigns should be banned.


View Profile WWW
January 21, 2014, 09:11:12 PM
 #17

Ah yes those two names are so similar.  Nevermind.  Carry on.  This ccould be very interesting as long as it can be done with no changes to Bitcoin.

I'm puzzled by the insistence not to changes Bitcoin protocols. Is it a technical challenge? In my mind they can't they just do that in the next version update?
One of the best things about Bitcoin and the Bitcoin protocol is that it is basically impossible to change.  It is one of the reasons I and many others are here.  If it could be changed as easily as a next update then I and many others would not be here because it would just devolve into a total steaming pile of crap trying to satisfy everyone's whims.

Maybe now you can understand why us cranky old timers get so tired of threads that start "Bitcoin is cool but it need to be changed to do _____", because one to the best things about the design of Bitcoin is that it is impossible to change it to suit the desires of the day.

Our family was terrorized by Homeland Security.  Read all about it here:  http://www.jmwagner.com/ and http://www.burtw.com/  Any donations to help us recover from the $300,000 in legal fees and forced donations to the Federal Asset Forfeiture slush fund are greatly appreciated!
whtchocla7e
Full Member
***
Offline Offline

Activity: 392
Merit: 116


Worlds Simplest Cryptocurrency Wallet


View Profile
January 21, 2014, 09:12:30 PM
 #18

If doesn't matter who sends first as long as both parties initiate the transaction. The bitcoin client acts as the escrow and handles the sending. A black box.

Quote
▂▂▂▂▂▂▂▂▂▂▂▂▂▃▅▆█ L E A D █▆▅▃▂▂▂▂▂▂▂▂▂▂▂▂
World's Simplest and Safest Decentralized Cryptocurrency Wallet!
▬▬▬▬▬▬▬ • STORE • SEND • SPEND • SWAP • STAKE • ▬▬▬▬▬▬
BurtW
Legendary
*
Offline Offline

Activity: 2646
Merit: 1137

All paid signature campaigns should be banned.


View Profile WWW
January 21, 2014, 09:13:23 PM
 #19

The atomic cross-chain trading maaku mentioned already works without any changes to the protocol(s), all it needs is an easy to use implementation.
Sounds great.  The OP can take that and run with it.  I am looking forward to the results.

Our family was terrorized by Homeland Security.  Read all about it here:  http://www.jmwagner.com/ and http://www.burtw.com/  Any donations to help us recover from the $300,000 in legal fees and forced donations to the Federal Asset Forfeiture slush fund are greatly appreciated!
Klestin
Hero Member
*****
Offline Offline

Activity: 493
Merit: 500


View Profile
January 21, 2014, 09:17:01 PM
 #20

Beat to the punch.
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!