Imagine there is bank A from USA and bank B from England, and they are both on Ripple Network.
Bank A wants to transfer $100 to bank B.
How does bank A put money in the Ripple network? Does it need to buy XRP from some gateway?
Suppose bank A already has the equivalent of $100 in XRP.
Bank B then receives XRP, but bank B is not interested in XRP, it wants pounds.
How will bank B convert to pounds? Does it need to find a gateway?
What if the exchange rate at this gateway is terrible for him?
4 Answers
The way Ripple's public ledger system works is that you propose a payment by specifying the source and destination accounts and currencies and then the system gives you a quote based on public offers. You can then specify a maximum amount you are willing to pay to complete the payment and submit it. If the payment is possible for the amount you offered or less, the payment succeeds. Otherwise it fails and you can try again.
Ripple uses pathfinding to figure out how the payment is possible, if it is. Essentially, it looks for a chain of market makers or currency traders willing to put together a trade where one of them gets the asset you're paying with and one of them provides the asset you're paying with.
In the short term, to ensure payments work, banks typically do the very same thing they're doing now. They put exchange offers into the system the same way they would if they didn't have Ripple.
This still gives them many advantages:
The payment is instantaneous and the receiving bank knows the instant the payment occurs.
If there are cheaper paths than the regular one the bank would use, it can be taken.
There's flexibility to use multiple paths for a single payment.
The bank can net their payments with other people's payments so that the cost drops for everyone.
-
1thanks a lot. I understood how the transfer is made. But how bank A gets money in and bank B gets money out of the Ripple network?– LeandroFeb 24, 2017 at 3:05
-
1Reading here bitcoin.stackexchange.com/questions/7617/…, it seems that bank A must give money to a gateway, and as you said that he can choose the destination currency, bank B will receive in pounds. but where are these pounds? still on the Ripple network? do you have a link to a paper that you show to banks how does the process work?– LeandroFeb 24, 2017 at 3:35
-
The banks could operate as gateways themselves. They could also have gateways that operate accounts at that bank. They can also do it exactly the way now and use the ledger just as a way to do distributed confirmation and reconciliation. Feb 24, 2017 at 4:34
-
One way it is currently happening is the bank extends credit to a gateway. That allows any Ripple payment that can deliver an asset issued by that gateway to result in a credit to a customer at that bank (and vice versa for outgoing payments). Feb 24, 2017 at 5:44
-
Just to try to get some clarity around this. If a bank were to act as a gateway itself, does it necessarily end up holding onto XRP for long periods of time? Or is XRP just a momentary utility whose purpose is to validate a secure transaction so the bank can near-instantly decrement it's holdings in 1 currency and increment holdings in another? If it's the case that it holds on to XRP for any period of time, I don't know how it could responsibly gauge how long manage holding such a volatile asset. Especially the first few banks to join RippleNet. Feb 6, 2018 at 0:53
I think it's necessary to first consider the question: Without ripple, how do banks "actually transfer money" from one bank to another?
Suppose that you and I are banks, and I want to send you $10 million. I'm probably not going to actually physically ship you $10 million worth of bills and coins. Instead, there are a few ways we could do this:
You and I privately agree that I now owe you $10 million. I don't send you the money, just an IOU. Next month you might want to send me $8, and so you just cancel $8 million of that IOU. We keep track of who owes who how much, but might never actually need to resolve it, since in the long run we're both sending a lot of money back and forth. This is difficult, however, because every bank has to maintain debt with every other bank.
You and I make an arrangement through a mutually trusted third party. I agree to owe them $10 million, and they agree to owe you $10 million. Later, someone else might send me $10 million the same way, negating my debt to the third party. A "wire transfer" in the US is just this, where the third party is the Federal Reserve.
You and I announce to a trusted third party that $10 million of my money should now be considered yours. This third party isn't a middleman who holds debt, like the central bank described in #2 - it simply keeps track of IOUs and regularly announces to all parties who owes who how much. The ACH system in the US (a.k.a. "Direct Deposit") works this way.
So, for the most part, bank's don't actually send money to each other at all - they just keep track of who owes who how much. Actually settling those debts, if it happens at all, has to happen outside of the systems above.
Ripple, as I understand it, can be thought of as a decentralized version of #3. It's basically a distributed public ledger of IOUs. (And those IOU's can themselves be traded as currency, when they're written by a trusted party.)
-
-
1Except it's not correct. The movement of XRP does actually settle the debts. Feb 6, 2018 at 11:07
This is a response from XRPChat that I hope will add to what David explained:
Evan Schwartz (October 22, 2015)
https://www.xrpchat.com/topic/333-ahbritto-ilp-will-potentially-increase-value-of-xrp-as-a-bridge-currency/#comment-1986
"If two ILP connectors have XRP, each would set their rate between XRP and whatever other currencies they're trading. That rate would be publicized off-ledger, potentially through a standardized API. When it comes to executing a cross-currency payment bridged through XRP what you would see on RCL would be an XRP payment from one connector to the other. We've already built a proof of concept that did this on the test net (which has Suspended Payments support already)."
Therefore once the transaction is complete the receiver would have already exchanged the XRP to the desired currency at the agreed upon rate. In other words, due to the near instantaneous speed of Ripple the agreed upon rate would have been achieved at the completion of the transaction. Based upon this understanding Bank B does not have to "find a gateway" or worry that "the exchange rate at this gateway is terrible" because this has all been resolved and agreed to prior to the transaction and achieved by the completion of the transaction.
-
I understood the question as being about RCL. Reading over it again, it could be about ILP. The mechanism is similar -- someone accepts the sending asset and someone provides the receiving asset and the system arranges the intermediary transfers to everyone is happy. Feb 26, 2017 at 1:03
-
Thank you! so bank B already receive the pounds in one of its accounts outside the Ripple network? hmm but there must be some audit here. I think this must be allowed be their central banks, right? like, they cant simply say: this 100k pounds came from the Ripple network, or they can? I'll study more to understand how international transfer can happen without interference/knowledge of the parties' central banks. thanks again!– LeandroMar 1, 2017 at 23:03
-
There are several different flows, but the general ideal is that the ownership of funds already at the bank changes. For example, some money that previously belonged to one of the bank's customers that was stored at the bank now belongs to the bank. If the bank owed Alice $500 and now doesn't owe Alice $500 because of the transaction, the bank acts as if it was paid $500. Feb 6, 2018 at 11:08
So I just found this discussion through Google, and I want to thank everyone here for doing a good job explaining the utility of Ripple.
However now that I feel like I understand.... Does anyone else think that the conversation above really just makes the current banking system (and therefore Ripple) sound completely obsolete?
Ripple to me sounds like the equivalent of the slide ruler. Sure it was great for a while during a brief period where mankind hadn't quite gotten over the old ways of doing things. But even meager mechanical computers made it seem antiquated. Then electric calculators were invented - and slide rulers disappeared overnight.
Ripple may find use longterm with the banks that are left standing 10 years from now, but let's not pretend Ripple actually does anything that useful when DASH/Ethereum/Bitcoin/etc already remove the entire need for banks in general... Oh, and why can't banks just make their own network now and remove the middle man?
-
If you think cryptocurrencies remove the need for banks, then you don't know why banks were invented in the first place. Would you store all your lifetime savings in your laptop? Of course not.– LeandroJan 6, 2018 at 12:28
-
@Leandro - If you subscribe to philosophies of distributed systems, you certainly would. Ironically, I think it's you that haven't grasped the point of distributed networks. In this case, you actually WOULD store it on your laptop, and on my laptop, and on Tom Splittstoesser's. Because all of our laptops would be playing by the same cryptographic principles, unable to convince the system to play any differently. So, humbly, I'd have to ask you to reconsider the purpose of cryptographic transactions such as those in BTC, ETH, etc. Feb 6, 2018 at 0:49