Bitcoin Forum
March 29, 2024, 07:03:22 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2] 3 4 5 6 7 8 9 10 11 »  All
  Print  
Author Topic: BANK RUN! - P2P Fiat-Bitcoin Exchange  (Read 38980 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
Polvos
Hero Member
*****
Offline Offline

Activity: 597
Merit: 500



View Profile
February 13, 2014, 02:50:06 PM
 #21

This is good but one obstacle in the USA is how to get funds into the other person's bank account.  Chase is already making it so you are not able to deposit cash into someone else's account, and other banks are likely to follow.

With this Nash equilibrium solution you can even send money by snail-mail. You don't need to trust the banking system.

1711695802
Hero Member
*
Offline Offline

Posts: 1711695802

View Profile Personal Message (Offline)

Ignore
1711695802
Reply with quote  #2

1711695802
Report to moderator
1711695802
Hero Member
*
Offline Offline

Posts: 1711695802

View Profile Personal Message (Offline)

Ignore
1711695802
Reply with quote  #2

1711695802
Report to moderator
It is a common myth that Bitcoin is ruled by a majority of miners. This is not true. Bitcoin miners "vote" on the ordering of transactions, but that's all they do. They can't vote to change the network rules.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1711695802
Hero Member
*
Offline Offline

Posts: 1711695802

View Profile Personal Message (Offline)

Ignore
1711695802
Reply with quote  #2

1711695802
Report to moderator
1711695802
Hero Member
*
Offline Offline

Posts: 1711695802

View Profile Personal Message (Offline)

Ignore
1711695802
Reply with quote  #2

1711695802
Report to moderator
k99 (OP)
Sr. Member
****
Offline Offline

Activity: 346
Merit: 255

Manfred Karrer


View Profile WWW
February 13, 2014, 02:50:40 PM
 #22

After preliminary analysis, this idea seems pretty amazing !

Who needs Ripple, when you have Bitcoin !

Ripple is the darling of the Banks.

https://bisq.network  |  GPG Key: 6A6B2C46
RodeoX
Legendary
*
Offline Offline

Activity: 3066
Merit: 1145


The revolution will be monetized!


View Profile
February 13, 2014, 02:51:48 PM
 #23

I'll have to read this closely. It looks like you are on to something bro!  Smiley Thanks.

The gospel according to Satoshi - https://bitcoin.org/bitcoin.pdf
Free bitcoin in ? - Stay tuned for this years Bitcoin hunt!
Sukrim
Legendary
*
Offline Offline

Activity: 2618
Merit: 1006


View Profile
February 13, 2014, 02:59:30 PM
 #24

Somebody has to start developing this software as soon as possible. Nash equilibrium has always been my first choice for P2P exchanges. It's a very smart solution where no arbitraging is needed and the collateral requirement is almost insignificant.

Please, this idea needs to be implemented in code.
It already exists on nashx, localbitcoins and bitcoins.de for years.

This scheme won't work, is exploitable (buy BTC from stolen bank accounts and screw Bob), does require trusting banks and has loopholes all over the place.

All you did is describing bitcoins.de but instead of saying "they go to a website" you said "they exchange data via BitMessage" and doing multisig transactions instead of escrowing with a neutral third party.

This is good but one obstacle in the USA is how to get funds into the other person's bank account.  Chase is already making it so you are not able to deposit cash into someone else's account, and other banks are likely to follow.

With this Nash equilibrium solution you can even send money by snail-mail. You don't need to trust the banking system.
Might not be the smartest idea to give your mail address to strangers if you trade a couple dozen BTC... also cash-in-mail can and will get lost - how does Bob proof to Alice he got just an envelope full of copied dollar bills and how dies Alice proof to Bob that she actually put the money in there?

https://www.coinlend.org <-- automated lending at various exchanges.
https://www.bitfinex.com <-- Trade BTC for other currencies and vice versa.
jambola2
Legendary
*
Offline Offline

Activity: 1120
Merit: 1038


View Profile
February 13, 2014, 03:07:37 PM
 #25

A couple people here had a misunderstanding.
Assuming that any of the parties do not agree on anything , everything is frozen.
The money gets deposited in the shared wallet after both parties have provided collateral.
If they have a dispute , such as 1000$ is not received , both parties have their collateral stuck along with the 1 BTC stuck in the shared wallet.
Surely , the bitcoin seller has a bigger loss in this case , but the buyer has a loss too.

Now what I don't get is how will funds from both parties be simultaneously be introduced into the wallet ?
( not too much knowledge about technicalities )

No longer active on bitcointalk, however, you can still reach me via PMs if needed.
k99 (OP)
Sr. Member
****
Offline Offline

Activity: 346
Merit: 255

Manfred Karrer


View Profile WWW
February 13, 2014, 03:10:03 PM
 #26

It already exists on nashx, localbitcoins and bitcoins.de for years.
They are centralized companies.

This scheme won't work, is exploitable (buy BTC from stolen bank accounts and screw Bob), does require trusting banks and has loopholes all over the place.
Can you elaborate you criticism?

All you did is describing bitcoins.de but instead of saying "they go to a website" you said "they exchange data via BitMessage" and doing multisig transactions instead of escrowing with a neutral third party.
Exactly. I am referring that in my paper "Think of it as localBitcoin without any company or 3rd party involved".
The goal of that project is to create a p2p system which works like those but WITHOUT any central element.

Might not be the smartest idea to give your mail address to strangers if you trade a couple dozen BTC... also cash-in-mail can and will get lost - how does Bob proof to Alice he got just an envelope full of copied dollar bills and how dies Alice proof to Bob that she actually put the money in there?
The basic idea is that nobody has any incentive to cheat, as it will lead to losses on both sides. Only economically irrational people would cheat.

https://bisq.network  |  GPG Key: 6A6B2C46
k99 (OP)
Sr. Member
****
Offline Offline

Activity: 346
Merit: 255

Manfred Karrer


View Profile WWW
February 13, 2014, 03:16:28 PM
 #27

A couple people here had a misunderstanding.
Assuming that any of the parties do not agree on anything , everything is frozen.
The money gets deposited in the shared wallet after both parties have provided collateral.
If they have a dispute , such as 1000$ is not received , both parties have their collateral stuck along with the 1 BTC stuck in the shared wallet.
Surely , the bitcoin seller has a bigger loss in this case , but the buyer has a loss too.

Thanks for helping to explain it!

Now what I don't get is how will funds from both parties be simultaneously be introduced into the wallet ?
( not too much knowledge about technicalities )

We create an atomic transaction where both funds are locked at exactly the same time when it gets published. It is all or nothing.
1. Bob creates first a tx with 2 inputs and the multiSig output.
2. He sign his input (He agree to pay his part, but the tx is only valid if the other party also agree to pay)
3. He send the tx to Alice the partly signed and therefore invalid tx (off-chain)
4. Alice sign her input. The tx is now valid but still not published, so both inputs could be still spent to another address if any of both want to cancel.
5. Alice publish the tx. From that point on both funds are locked.

https://bisq.network  |  GPG Key: 6A6B2C46
Sukrim
Legendary
*
Offline Offline

Activity: 2618
Merit: 1006


View Profile
February 13, 2014, 03:23:36 PM
 #28

The basic idea is that nobody has any incentive to cheat, as it will lead to losses on both sides. Only economically irrational people would cheat.
Which economically rational person buys unbacked digital assets?

Anyways, if you for example have stolen money or Bitcoins, you don't need to be economically rational. Also paying a price for hurting your competition can be economically rational.

This scheme won't work, is exploitable (buy BTC from stolen bank accounts and screw Bob), does require trusting banks and has loopholes all over the place.
Can you elaborate you criticism?
It leaks private data (cash in mail: mail address, bank transfer: bank account data) all over the place. I described one problem (stolen bank data which will lead to later reversed USD transactions) already, also there can be indefinite lock-ins, the extra funds at stake (in your example 10%) can lead to people implicitly taking a short/long position, it requires trust to begin with (who wants to trade with a newbie in your system?), both traders need to be online and do manual tasks outside of the system...

I mean, feel free to try this out in practice, it's not even hard to do - just post an offer in this forum for the mean time, put some funds on the table and get trading. It took less than 2 weeks each for 2 different new Ripple gateways, until they had a few 1000 USD bank transfers reversed each. Maybe you can beat them to it?

https://www.coinlend.org <-- automated lending at various exchanges.
https://www.bitfinex.com <-- Trade BTC for other currencies and vice versa.
oleganza
Full Member
***
Offline Offline

Activity: 200
Merit: 104


Software design and user experience.


View Profile WWW
February 13, 2014, 03:26:37 PM
 #29

Collateral should be greater than amount in exchange. If they exchange $1000 for 1 BTC, collateral should be 2 BTC. So when Bob receives $1000 it's cheaper for him to unlock collateral (2 BTC) than to keep 1 BTC worth of product (cash in this case).

Bitcoin analytics: blog.oleganza.com / 1TipsuQ7CSqfQsjA9KU5jarSB1AnrVLLo
ShadowOfHarbringer
Legendary
*
Offline Offline

Activity: 1470
Merit: 1005


Bringing Legendary Har® to you since 1952


View Profile
February 13, 2014, 03:28:40 PM
 #30

This is good but one obstacle in the USA is how to get funds into the other person's bank account.  Chase is already making it so you are not able to deposit cash into someone else's account,

By normal wire perhaps ? Wires aren't blocked AFAIK. Only direct deposits.

Collateral should be greater than amount in exchange. If they exchange $1000 for 1 BTC, collateral should be 2 BTC. So when Bob receives $1000 it's cheaper for him to unlock collateral (2 BTC) than to keep 1 BTC worth of product (cash in this case).

Collateral can obviously depend on the trust level between participants and other parameters/circumstances.

oleganza
Full Member
***
Offline Offline

Activity: 200
Merit: 104


Software design and user experience.


View Profile WWW
February 13, 2014, 03:34:24 PM
 #31

Here are the slides I'm showing tonight at Paris Bitcoin meetup.

http://oleganza.com/bitcoin-epita-2014.pdf

They explain in depth the protocol to exchange anything based on collateral without any trust in anyone.

Bitcoin analytics: blog.oleganza.com / 1TipsuQ7CSqfQsjA9KU5jarSB1AnrVLLo
Sukrim
Legendary
*
Offline Offline

Activity: 2618
Merit: 1006


View Profile
February 13, 2014, 03:34:39 PM
 #32

A couple people here had a misunderstanding.
Assuming that any of the parties do not agree on anything , everything is frozen.
The money gets deposited in the shared wallet after both parties have provided collateral.
If they have a dispute , such as 1000$ is not received , both parties have their collateral stuck along with the 1 BTC stuck in the shared wallet.
Surely , the bitcoin seller has a bigger loss in this case , but the buyer has a loss too.
This only works if the price for BTC is stable.

At the time of the trade, 1 BTC is 1000 USD.
Alice buys 1 BTC, freezes 0.1 BTC, sends 1k USD honestly.
Bob sells 1 BTC, freezes 1.1 BTC, receives 1k USD but never reports on it.

Once these 1.1 BTC are worth LESS than 1k USD, Bob was smart.

Staying honest when selling with this scheme just depends on how low you think the price would go.
Collateral should be greater than amount in exchange. If they exchange $1000 for 1 BTC, collateral should be 2 BTC. So when Bob receives $1000 it's cheaper for him to unlock collateral (2 BTC) than to keep 1 BTC worth of product (cash in this case).
Only if he believes the price won't tank more than 2-fold until he gets the money. Also he has now a much higher risk that someone locks up 2 BTC to lock up 3 of his. Potentially forever.

Would you sell me 1 BTC right now via bank transfer if we both need to lock up 50 BTC for that?

https://www.coinlend.org <-- automated lending at various exchanges.
https://www.bitfinex.com <-- Trade BTC for other currencies and vice versa.
oleganza
Full Member
***
Offline Offline

Activity: 200
Merit: 104


Software design and user experience.


View Profile WWW
February 13, 2014, 03:38:56 PM
 #33

Only if he believes the price won't tank more than 2-fold until he gets the money. Also he has now a much higher risk that someone locks up 2 BTC to lock up 3 of his. Potentially forever.

Would you sell me 1 BTC right now via bank transfer if we both need to lock up 50 BTC for that?

If we are exchanging 1 BTC for $650 and we lock up 1 BTC or less as a collateral, then I can receive your $650 and let my 1 BTC stuck as a collateral forever. I'm not losing anything (I'd pay 1 BTC anyway), but you lose 1 BTC + $650.

I'd consider a collateral that is big enough to not cheat, but not too big to go into a different category. In absence of mutually trusted third party (e.g. online exchange), the only way to resolve the issue is to "buy" the trust by agreeing on some big enough collateral.

Bitcoin analytics: blog.oleganza.com / 1TipsuQ7CSqfQsjA9KU5jarSB1AnrVLLo
bitappend
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
February 13, 2014, 03:40:37 PM
 #34

I would without a doubt recommend a larder deposit then 10%.. heck that's less then arbitrage in some instances. dare i recommend 25%? sounds high. however in the matter of the time it takes for bank transfer happens a lot can happen in the markets. Alice would get screwed if bob has greater incentive to walk away from his deposit if he has a better trade opportunity.

in a different scenario
 there might be a chance bob could extort Alice in order for her to get her deposit back.  should he refuse  to confirm
supert
Full Member
***
Offline Offline

Activity: 160
Merit: 100



View Profile
February 13, 2014, 03:41:20 PM
 #35

The collateral amount will also need to rise in times of higher volatility (much like margin on a regulated exchange).
The amount of collateral can be agreed beforehand by the parties as part of the contract. More collateral, better rate.
k99 (OP)
Sr. Member
****
Offline Offline

Activity: 346
Merit: 255

Manfred Karrer


View Profile WWW
February 13, 2014, 03:56:04 PM
 #36

Collateral should be greater than amount in exchange. If they exchange $1000 for 1 BTC, collateral should be 2 BTC. So when Bob receives $1000 it's cheaper for him to unlock collateral (2 BTC) than to keep 1 BTC worth of product (cash in this case).

In the paper under the chapter "Attack scenarios" I describe 2 situations where one could try to cheat.

Attack scenarios:

Step 3. Alice publishes the deposit tx and does not send the Fiat money:
Alice will loose 0.1 BTC.
Bob will loose 1.1 BTC.
Both loose, make no sense to do that.

Step 4. Bob does not publish the payment/refund tx after he has received the Fiat money: Alice will loose 0.1 BTC + 1000 USD -> 1.1 BTC.
Bob will loose 1.1 BTC - 1000 USD -> 0.1 BTC.
Both loose, make no sense to do that.

Both are covered if the collateral is > volatility of the btc price.
So in normal times 10% should be enough, but it can be set to any value by the offerer.

Please note that both attack scenarios (Alice publish the tx but do not pay the Fiat) are very unlikly as no party can win anything.
It is easier to understand if you assume a 0 BTC collateral.
Step 3:
Alice publish and lock the depost tx. Before that step both can cancel easily when spending the BTC form the input address.
Alice has payed in: 0 BTC collateral, 0 USD
Bob has payed in: 0 BTC collateral, 1 BTC
If Alice does not continue she will not win anything, but Bob will loose 1 BTC (locked). To prevent that possibly evil behavior from Alice the collateral serves as incentive to behave fair.

The above with collateral of 0.1 BTC:
Alice has payed in: 0.1 BTC collateral, 0 USD
Bob has payed in: 0.1 BTC collateral, 1 BTC
So now if Alice does not continue she still will not win anything, but she will loose her collateral of 0.1 BTC. Bobs loss of 1.1 is even higher, but what she would gain from that?

The second situation is when Bob has received the Fiat and does not continue (release the payment/refund tx).
Step 4:
When not using a collateral it would be like that:
Alice has payed in: 0 BTC collateral, 1000 USD
Bob has payed in: 0 BTC collateral, 1 BTC
Bob has received in: 1000 USD
If Bob stops here, he has payed 1 BTC and have received 1000 USD, that was exactly how the trade was intended. So if he is evil he could stop here. He has reached his goal and has nothing to loose, but also no possibility to win more. For Alice that would mean a loss of 1000 USD.

With collateral:
Alice has payed in: 0.1 BTC collateral, 1000 USD
Bob has payed in: 0.1 BTC collateral, 1 BTC
Bob has received: 1000 USD

If Bob stops here, he has payed 1.1 BTC and have received 1000 USD, that is not how the trade was intended (1 BTC for 1000 USD). So if he is evil he could stop here but he has NOT reached his goal and has lost 0.1 BTC. There is no possibility to win more. For Alice that would mean a loss of 0.1 BTC and 1000 USD.

The 2 scenarios have once more risk for Bob and once for Alice. So overall both are exposed to the same risk.

When the price would change from 1000USD/BTC to 500USD/BTC, Alice could decide to not continue at step 3.
But even that is very unlikely because there is no reason to do that. She can cancel without breaking the rule until the second before she publish the deposit tx. The next step would be to deposit the USD, but thats following directly after the publication, so the time window for a huge price change which will lead her to break the contract is very small.

https://bisq.network  |  GPG Key: 6A6B2C46
k99 (OP)
Sr. Member
****
Offline Offline

Activity: 346
Merit: 255

Manfred Karrer


View Profile WWW
February 13, 2014, 04:01:42 PM
 #37

The collateral amount will also need to rise in times of higher volatility (much like margin on a regulated exchange).
The amount of collateral can be agreed beforehand by the parties as part of the contract. More collateral, better rate.

Exactly! They can choose it freely. Basically it depends on the volatility, but as I described in the other reply there is no much risk with that included. I will probably elaborate that topic in the paper more in details.

https://bisq.network  |  GPG Key: 6A6B2C46
fkinglag
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
February 13, 2014, 04:02:05 PM
 #38

Hello!

This looks fantastic, exactly what BTC needs. With a little tweaking this would be magnificent for alts.

I see that there is an escrow-like model to the exchanges where both parties must put down collateral.

Isn't this the wrong approach to have given the fact one party could still potentially scam the other? I'm not sure if this question has been addressed, yet. However, I will try to elaborate upon it.

For example, Ethereum has a p2p style escrow where the parties have trust ratings. The person who is putting the money forward can withdraw 1% a day, the other person getting the money can only withdraw 0.05% daily. Creating a drawn-out and delayed exchange given the fact one party could be fraudulent. The forwarding party can watch if the other receiving party has begun retracting their end of the deal. Except, the forwarding party can withdraw their funds faster due to the early warning the delay gives.

Is there any way some of this could get implemented ?

edit: a word
desper
Newbie
*
Offline Offline

Activity: 51
Merit: 0


View Profile
February 13, 2014, 04:06:22 PM
 #39

There are two problems with that I can think of:

1. Bank transfers can be reversed in some circumstances (account was stolen etc). Some days after Bob gets the money and releases the bitcoins, the bank may reverse the transaction.

2. I'd be worried that the bank may freeze my account if I receive cash transfers from someone who turns out to be a criminal or the bank freaks out for some reason.

I would much prefer a centralized exchange.

This concept could work if A and B meet up and payment is made in cash. This concept could also work for trading between cryptocurrencies (btc <--> ltc etc)
desper
Newbie
*
Offline Offline

Activity: 51
Merit: 0


View Profile
February 13, 2014, 04:17:48 PM
 #40

It occurs to me that such a P2P exchange could make a profit from locked transactions where the two parties couldn't come to an agreement.
Pages: « 1 [2] 3 4 5 6 7 8 9 10 11 »  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!