Pages:
Author

Topic: ripple: let's test it! - page 6. (Read 43925 times)

legendary
Activity: 1596
Merit: 1012
Democracy is vulnerable to a 51% attack.
July 14, 2013, 04:40:55 PM
How does making a payment to myself work? I see how to do it, but what is the conversion based off? Who is setting that rate and who am I actually buying XRP from if I do it that way? From Opencoin?
It works the same as any payment. The pathfinding engine looks at what assets you have and what assets the recipient will accept and then it looks at all the liquidity available in the ledger (ripple paths and order books) and finds the cheapest path(s) to make the payment. The payment can even pull from multiple paths and multiple order books.

Quote
Also, what is the difference between making an XRP payment to myself but paying with USD and making a USD payment to myself, which does not seem to be possible (I get a message "No Path Found")?
The payment interface requires you to select the recipient account (and destination tag if appropriate), destination currency, and destination amount. You can then pay with any currency you hold, provided you have a sufficient amount and there's sufficient liquidity available in the ledger. (There are a few exceptions. For example, you can't make a payment to yourself with the same source and destination currencies.) This is basically Ripple's primary feature.

Quote
Actually, now I just tried to send a payment to myself and got an error: Path could not send full amount.
That's a bug and starting Monday, fixing it will be my top priority. (It seems somehow the pathfinding engine selects on order book and the path selection engine checks a different order book to see how much money the path can deliver. I have good logs and reproducible test cases.)
//v
newbie
Activity: 24
Merit: 0
July 14, 2013, 04:10:44 PM
Actually, now I just tried to send a payment to myself and got an error: Path could not send full amount.

What does that mean?

I tried to send 1000 XRP to myself, paying in USD. My wallet contains both more than 1000 XRP and more than $11 or so that it would convert to.
//v
newbie
Activity: 24
Merit: 0
July 14, 2013, 04:02:22 PM
I can't quite figure this system out. I deposited USD to my ripple wallet through a gateway (snap swap), but I apparently cannot convert those snap swap USD into XRP. I tried placing an order through bitstamp but it didn't work as my USD came through a different gateway.
When you place an offer, you have to specify the exact asset to be traded. If you have Snapswap USD, you have to place offers on the SnapSwap USD order book.

Quote
So how do I convert those USD to XRP? If I can't, then what is the use of new gateways for USD like snap swap?
The easiest way is to make an XRP payment to yourself and pay with USD. Alternatively, you can trade on the Snapswap USD to/from XRP order book. At the moment, if I'm reading this right, you can actually get very slightly more XRP per Snapswap USD than per Bitcoin USD!

OK, now I think I figured both of those out. Thanks.

How does making a payment to myself work? I see how to do it, but what is the conversion based off? Who is setting that rate and who am I actually buying XRP from if I do it that way? From Opencoin? Also, what is the difference between making an XRP payment to myself but paying with USD and making a USD payment to myself, which does not seem to be possible (I get a message "No Path Found")?
legendary
Activity: 1596
Merit: 1012
Democracy is vulnerable to a 51% attack.
July 14, 2013, 02:33:56 AM
I can't quite figure this system out. I deposited USD to my ripple wallet through a gateway (snap swap), but I apparently cannot convert those snap swap USD into XRP. I tried placing an order through bitstamp but it didn't work as my USD came through a different gateway.
When you place an offer, you have to specify the exact asset to be traded. If you have Snapswap USD, you have to place offers on the SnapSwap USD order book.

Quote
So how do I convert those USD to XRP? If I can't, then what is the use of new gateways for USD like snap swap?
The easiest way is to make an XRP payment to yourself and pay with USD. Alternatively, you can trade on the Snapswap USD to/from XRP order book. At the moment, if I'm reading this right, you can actually get very slightly more XRP per Snapswap USD than per Bitcoin USD!
//v
newbie
Activity: 24
Merit: 0
July 13, 2013, 09:15:21 PM
I can't quite figure this system out. I deposited USD to my ripple wallet through a gateway (snap swap), but I apparently cannot convert those snap swap USD into XRP. I tried placing an order through bitstamp but it didn't work as my USD came through a different gateway.

So how do I convert those USD to XRP? If I can't, then what is the use of new gateways for USD like snap swap?
legendary
Activity: 1596
Merit: 1012
Democracy is vulnerable to a 51% attack.
July 13, 2013, 08:34:34 PM
I doubt that i have bitstamp already included. And i dont have any offer or trust paths. The only thing i did was that i tried to send most of the xrp to bitstamp because i thought i can exchange them there. They were sent back shortly after. Thats all i did.
How to solve this?
If you can privately send me your ripple address (the thing that starts with an 'r'), I can take a look at your account to make sure there's nothing weird about it. Otherwise, you can file a bug report at https://github.com/ripple/ripple-client/issues

I've never head of anything like either of your two issues.
legendary
Activity: 2674
Merit: 1083
Legendary Escrow Service - Tip Jar in Profile
July 13, 2013, 08:09:37 PM
Both ways seems to not work for me. I copied the address that is in bitstamp where it says deposit ripple. Then in advanced in ripple i go to trust, add and copy the address. Then i chose 10btc. But it tells me "Account does not meet the minimum XRP reserve" even though i have 29999 XRP.
That's really bizarre. Do you have some absurd number of offers on the books or trust paths already created?

Quote
When i go the other route, change issuer, then add the bitstamp address and click submit i only get back to the trade tab. "You must select an issuer..."
You should just be able to enter "bitstamp" if Bitstamp is in your wallet already.

I doubt that i have bitstamp already included. And i dont have any offer or trust paths. The only thing i did was that i tried to send most of the xrp to bitstamp because i thought i can exchange them there. They were sent back shortly after. Thats all i did.
How to solve this?
legendary
Activity: 1596
Merit: 1012
Democracy is vulnerable to a 51% attack.
July 13, 2013, 06:20:28 PM
Both ways seems to not work for me. I copied the address that is in bitstamp where it says deposit ripple. Then in advanced in ripple i go to trust, add and copy the address. Then i chose 10btc. But it tells me "Account does not meet the minimum XRP reserve" even though i have 29999 XRP.
That's really bizarre. Do you have some absurd number of offers on the books or trust paths already created?

Quote
When i go the other route, change issuer, then add the bitstamp address and click submit i only get back to the trade tab. "You must select an issuer..."
You should just be able to enter "bitstamp" if Bitstamp is in your wallet already.
legendary
Activity: 2674
Merit: 1083
Legendary Escrow Service - Tip Jar in Profile
July 13, 2013, 05:44:36 PM
How can i exchange XRP to BTC? I tried sendint XRP to bitstamp but they sent it back because its not for sending ripple. They told me about the advanced tab in ripple but i cant find out how to exchange xrp to btc in ripple.
Anyone can explain?
I'm assuming you mean BTC issued by Bitstamp.

The easiest way to do this is as follows:

1) In the Trust tab under Advanced, create a BTC pathway to Bitstamp. Set the limit higher than the amount of BTC you want to hold. (This essentially agrees that people, including you, can pay you BTC by making Bitstamp owe you BTC.)

2) Hit 'Send' and enter in your own Ripple address. Set the currency to BTC and enter the amount of BTC you want to buy.

3) If the transaction is possible, you will be given the option to pay with XRP. If the amount is acceptable, click the green button.

The more complex way to do this is as follows:

1) In Trade tab under Advanced, select BTC/XRP.

2) Click the Change Issuer button next to BTC and select Bitstamp.

3) At the bottom, click 'Order book' to see the offers available.

4) Click 'Buy BTC' and make an offer. If it completes immediately, you're done. Otherwise, it will stay on the order book.


Both ways seems to not work for me. I copied the address that is in bitstamp where it says deposit ripple. Then in advanced in ripple i go to trust, add and copy the address. Then i chose 10btc. But it tells me "Account does not meet the minimum XRP reserve" even though i have 29999 XRP.
When i go the other route, change issuer, then add the bitstamp address and click submit i only get back to the trade tab. "You must select an issuer..."

So what should i do now? I used the ripple-address i get form bitstamp at ripple deposit. I sent you my ripple address already via pm.
Whats the problem and how to solve?
legendary
Activity: 1596
Merit: 1012
Democracy is vulnerable to a 51% attack.
July 13, 2013, 05:31:57 PM
How can i exchange XRP to BTC? I tried sendint XRP to bitstamp but they sent it back because its not for sending ripple. They told me about the advanced tab in ripple but i cant find out how to exchange xrp to btc in ripple.
Anyone can explain?
I'm assuming you mean BTC issued by Bitstamp.

The easiest way to do this is as follows:

1) In the Trust tab under Advanced, create a BTC pathway to Bitstamp. Set the limit higher than the amount of BTC you want to hold. (This essentially agrees that people, including you, can pay you BTC by making Bitstamp owe you BTC.)

2) Hit 'Send' and enter in your own Ripple address. Set the currency to BTC and enter the amount of BTC you want to buy.

3) If the transaction is possible, you will be given the option to pay with XRP. If the amount is acceptable, click the green button.

The more complex way to do this is as follows:

1) In Trade tab under Advanced, select BTC/XRP.

2) Click the Change Issuer button next to BTC and select Bitstamp.

3) At the bottom, click 'Order book' to see the offers available.

4) Click 'Buy BTC' and make an offer. If it completes immediately, you're done. Otherwise, it will stay on the order book.
legendary
Activity: 2674
Merit: 1083
Legendary Escrow Service - Tip Jar in Profile
July 13, 2013, 05:19:34 PM
How can i exchange XRP to BTC? I tried sendint XRP to bitstamp but they sent it back because its not for sending ripple. They told me about the advanced tab in ripple but i cant find out how to exchange xrp to btc in ripple.
Anyone can explain?
member
Activity: 102
Merit: 10
June 04, 2013, 02:15:53 PM

I've been developing during almost three years an application for important insurance companies and yes, the software accounted interest.
In any case, I'm still waiting to hear how can I trade an amount of interest bearing IOUs for another type of IOUs at an exact price. With contracts or whatever.
The only answer I had is "if interest rates are not insane you just ignore them during the time that the trade order remains opened".
But, sorry, this answer doesn't convince me.

I think you misunderstood. I meant that understanding and agreeing the terms and interests in a loan is a human activity, after that you can put it in an algorithm. My personal financial app does this for me. Thats why contracts are needed, in readable language and human processing.

Only bitstamp can owe you bitstampUSD. In your case, the lender is accepting rBvvhDGnjRfsCammErnhfagahUSD IOUs, not bitstampUSD.

One thing is the currency, other is the loan. Only US government can issue dollars, but you can lend them and owe them. I could perfectly make a contract in which I lend you some Bitstamp backed dollars, do you agree? So, the US gov would owe the value contained in dollar to a bank (who holds them), who would owe them to Bitstamp, who would owe them to me trough a ripple IOU, which I can lend, send, spend or whatever.

If you are talking about an user issuing a direct (no gateway) IOU according to a contract signed in the real world, I think its totally unnecessary and dangerous. Trusting users can be dangerous. You could end up damaged up to the amount trusted.

You should not lend to that address if you don't know its owner.

How would someone do it within ripple network? What if I sell my wallet? The wallet issued an IOU or its owner did? if its the owner, it requires a contract, like you stated down here.

Normally you will set low limits to people you trust. If a friend defaults on 10 usd, well, you just don't lend to him again.

And you don't use interests in a 10 bucks friendly loan, do you?


Between companies, a legal contract may be required, but those legal contracts can and must live outside the ripple network itself. The legal contract is responsible to link the addresses to real people/companies and describe the legal obligations atached to the Ripple IOUs.
If the parties already use a legally binding digital signature scheme, it is easy to link it with the signatures of the keypairs that the addresses refer to.
In summary, no escrow is needed. If you want legal liabilities, you can have them, but you have to create the legal contracts yourself.
In fact, managing and linking these legal contracts is an interesting business oportunity.

It may be possible. This way you don't need a ripple IOU. In the beginning of the loan, you sent the dollars trough a gateway (who changes the balances between the accounts), in maturity you will receive back your gateway dollars plus interests, in a normal "receiving" transaction. Your loan is backed by a contract in the real world.
legendary
Activity: 1372
Merit: 1002
June 04, 2013, 06:34:33 AM
In actual financial system, interests are not part of the software+hardware systems that process transactions. It is expressed in contracts and terms which are set among human beings. A human being read a contract and take its conditions. Then, this rules are told to the system and the legal aparatum support it.

As far as i understand, ripple is part of the software+hardware system (a possible improvement) that can express the resultant of the wishes of a financial community in a taken moment, automatically searching for the highest level of enthropy for this resultant, exchanging assets with the same value (set by users in orders and trustlines) to reach it. (This process need improvement but is great)

This system can understand some other commands, as it can be read in "contracts" in the wiki, and the features will be created by the demands generated by real situations, with real cash.

I've been developing during almost three years an application for important insurance companies and yes, the software accounted interest.
In any case, I'm still waiting to hear how can I trade an amount of interest bearing IOUs for another type of IOUs at an exact price. With contracts or whatever.
The only answer I had is "if interest rates are not insane you just ignore them during the time that the trade order remains opened".
But, sorry, this answer doesn't convince me.

One thing about loans in the ripple system is: what if the counterpart defaults? The lender is screwed because "rBvvhDGnjRfsCammErnhfagah" owes him 1000,00 bitstamp dollars, but who is it?. Untill contracts inside ripple are legally accepted (I cant see this happening for loans or interests without a written contract), they must be risk almost-free, like escrowed in some way. Untill there, ripple can be a payment mean for a realworld contract. People can still make contracts like they are today and use ripple to pay them.

Only bitstamp can owe you bitstampUSD. In your case, the lender is accepting rBvvhDGnjRfsCammErnhfagahUSD IOUs, not bitstampUSD.
You should not lend to that address if you don't know its owner. Normally you will set low limits to people you trust.
If a friend defaults on 10 usd, well, you just don't lend to him again.
Between companies, a legal contract may be required, but those legal contracts can and must live outside the ripple network itself. The legal contract is responsible to link the addresses to real people/companies and describe the legal obligations atached to the Ripple IOUs.
If the parties already use a legally binding digital signature scheme, it is easy to link it with the signatures of the keypairs that the addresses refer to.
In summary, no escrow is needed. If you want legal liabilities, you can have them, but you have to create the legal contracts yourself.
In fact, managing and linking these legal contracts is an interesting business oportunity I proposed at the same time I proposed what are now known as gateways. It is the point 1 "liability servers", just above "proxy nodes", which is how I named gateways.

member
Activity: 102
Merit: 10
June 03, 2013, 03:56:54 PM
In actual financial system, interests are not part of the software+hardware systems that process transactions. It is expressed in contracts and terms which are set among human beings. A human being read a contract and take its conditions. Then, this rules are told to the system and the legal aparatum support it.

As far as i understand, ripple is part of the software+hardware system (a possible improvement) that can express the resultant of the wishes of a financial community in a taken moment, automatically searching for the highest level of enthropy for this resultant, exchanging assets with the same value (set by users in orders and trustlines) to reach it. (This process need improvement but is great)

This system can understand some other commands, as it can be read in "contracts" in the wiki, and the features will be created by the demands generated by real situations, with real cash.

One thing about loans in the ripple system is: what if the counterpart defaults? The lender is screwed because "rBvvhDGnjRfsCammErnhfagah" owes him 1000,00 bitstamp dollars, but who is it?. Untill contracts inside ripple are legally accepted (I cant see this happening for loans or interests without a written contract), they must be risk almost-free, like escrowed in some way. Untill there, ripple can be a payment mean for a realworld contract. People can still make contracts like they are today and use ripple to pay them.
legendary
Activity: 1372
Merit: 1002
May 28, 2013, 07:28:06 AM
I cannot expect the average person to set exchange rates? I thought that was market were about...
Even if they only say "I trust X for Y usd" without understanding what's happening they're setting a 1:1 exchange rates between all his USD ripple neighbors.
What's wrong with my example? Is it really very fantastic that Bob chose a USD/FRC rate, and Alice a FRC/HRS rate?
"Average users" chose BTC/USD and BTC/XRP rates all the time, I still don't know what makes it impossible for demurrage FRC IOUs to live in the Ripple network the way I propose it.
And since you haven't explained me your contracts alternative, I see no other way.
A 1:1 exchange rate between assets denominated in the same currency is not at all comparable to an exchange rate between different currencies. People have to set values to assets, and it's reasonable to expect they'll select pathways. But the vast majority of people are not going to want to have to maintain exchange rates between currencies.

The point is they have to value interest bearing assets explicitly through explicit trade orders.
I thought this was also true for you're proposed solution where "the users know their time horizon and they're able to value the IOUs" and the interest/demurrage is managed outside the system with custom currencies that expire.
You haven't tell me how or what exactly you'll "do with contracts".
Is my example above possible with your solution and contracts?
I still don't get what's the role of contracts here.

When you have an asset issued by a gateway, there is a convenience to the asset being tradable on the ripple network and there's a risk to the gateway collapsing. To make trade work, there's a kind of handshake agreement to pretend these effects perfectly cancel out and treat assets issued by reputable gateways as worth face value. This is much like people not weighing silver dimes or trying to count a microscopically light silver dime or a slightly heavy silver dime as worth more or less. The inconvenience simply isn't worth it. This is what makes rippling possible -- people widely considering assets fungible because their value is "close enough" and everyone benefits from the easier mobility.

Rippling (or transitive transactions/trades) is possible only with explicit trade orders.
Doesn't the system Ripple through orders already?
Trust lines rippling is just another way to ripple, but not the only one and certainly not the main one. Trust lines may be convenient for users to connect to their ripple neighbors easily, fair enough.
As said many times, these trust lines could be simulated only with regular explicit trade orders.
Since trust lines are more convenient for users, a client could take care of translating trust lines into orders.
You have decided to do it inside the core system, fair enough.
But please, don't tell me that was the only possibility or that regular trade orders cannot be rippled.
With your proposal with custom currencies, demurrage currencies can't be rippled directly neither.
If there's a custom currency that represents FRC at -5% interest and another one representing FRC at 1%, the currencies are different and can't establish trust lines like if they were the same currency, period.
This is equally true for your design and mine.

It can't work across assets denominated in different currencies or with interest rates associated with them unless people manually maintain rates or set time horizons.

Exactly. And I'm telling you a way the system could manage interest bearing assets without users setting time horizons for each trade.
I still don't know what's wrong with my design. And I don't know how my example would work with your design because I'm missing the contracts part.

It feels like you're not even understanding my design, like if you had tried an initial analysis that ended up rejecting, you think my analysis is similar and you insist in trying to explain me why you left that path and why I should also go with your new approach, without even analyzing if my design is similar to your first draft with time horizons (I NEVER considered that) or is a different one.

I spent some time building that example with a couple of interesting use cases and, I might be wrong, but it feels like you didn't read it.
Can you tell me, please, what's wrong with my example?
Can you tell me, please, what's wrong with my analysis?
Can you tell me, please, what you mean by "we will make it with contracts"?

Maybe you want to make some questions about my design because the example is not clear enough.
If you break my design, cool, the sooner the better. But remember that you don't lecture me about basic ripple concepts because I've probably spent more time than you thinking about ripple; and you don't need to explain me how ripple gateways work because I proposed them almost two years ago (I call them "proxy nodes" there).
Please, forget that I'm that stupid gesellian that believes demurrage cash can triumph in a free market and imagine for a moment that my design could work while you read (or re-read if you've done it already) my example of ripple transaction involving demurrage and interest bearing assets.
legendary
Activity: 1596
Merit: 1012
Democracy is vulnerable to a 51% attack.
May 27, 2013, 03:21:43 PM
I cannot expect the average person to set exchange rates? I thought that was market were about...
Even if they only say "I trust X for Y usd" without understanding what's happening they're setting a 1:1 exchange rates between all his USD ripple neighbors.
What's wrong with my example? Is it really very fantastic that Bob chose a USD/FRC rate, and Alice a FRC/HRS rate?
"Average users" chose BTC/USD and BTC/XRP rates all the time, I still don't know what makes it impossible for demurrage FRC IOUs to live in the Ripple network the way I propose it.
And since you haven't explained me your contracts alternative, I see no other way.
A 1:1 exchange rate between assets denominated in the same currency is not at all comparable to an exchange rate between different currencies. People have to set values to assets, and it's reasonable to expect they'll select pathways. But the vast majority of people are not going to want to have to maintain exchange rates between currencies.

When you have an asset issued by a gateway, there is a convenience to the asset being tradable on the ripple network and there's a risk to the gateway collapsing. To make trade work, there's a kind of handshake agreement to pretend these effects perfectly cancel out and treat assets issued by reputable gateways as worth face value. This is much like people not weighing silver dimes or trying to count a microscopically light silver dime or a slightly heavy silver dime as worth more or less. The inconvenience simply isn't worth it. This is what makes rippling possible -- people widely considering assets fungible because their value is "close enough" and everyone benefits from the easier mobility.

It can't work across assets denominated in different currencies or with interest rates associated with them unless people manually maintain rates or set time horizons.
legendary
Activity: 1372
Merit: 1002
May 27, 2013, 05:49:34 AM
Trade orders are always fair for the user who submit them. Can we
agree on that?
Essentially, what you're saying is that it all works great as long as nothing ripples.

Well, we may have different definitions about what "ripple transactions" are.
See my example above? I've been calling that a ripple transaction for years.
Now let me extend it.
Instead of Alice paying, Alice trust Zeus for USD and Zeus pays through her. With the regular "trust line rippling".
Everything keeps working.
The only thing you cannot do is trust lines with these custom assets.
Because trust lines really imply a bunch of trade orders.

And that's basically what I've said, we can implement it with contracts, but it's not going to work with the ripple-based payment system.

Again, can you explain me a little more about this. Since our analysis seems so different I'm not even sure what exactly you want to implement with contracts when you say "we will make it with contracts".
Will, for example, the above example be possible with what you want to implement for contracts?
How would it work for that example?
Is there anything in the wiki about "contracts for interests"?

Rippling can only work if the system can determine the value of something to someone without needing them to specify an exchange rate or time horizon.

Well, when Alice trusts Zeus for USD, she's also specifying an exchange rate between her IOUs and Zeus's: 1:1.
Ripple cannot work without users explicitly or implicitly specifying exchange rates.

You can't expect the average person to manually maintain an exchange rate or time horizon nor can the system force a person to accept an exchange rate or time horizon they haven't agreed to. They have to specify an asset value though -- a new account considers all assets worthless and won't give any asset any value until a user specifically assigns it one. If an asset can work with just a value, it can fit into the ripple-based payment system. If not, not.

I cannot expect the average person to set exchange rates? I thought that was market were about...
Even if they only say "I trust X for Y usd" without understanding what's happening they're setting a 1:1 exchange rates between all his USD ripple neighbors.
What's wrong with my example? Is it really very fantastic that Bob chose a USD/FRC rate, and Alice a FRC/HRS rate?
"Average users" chose BTC/USD and BTC/XRP rates all the time, I still don't know what makes it impossible for demurrage FRC IOUs to live in the Ripple network the way I propose it.
And since you haven't explained me your contracts alternative, I see no other way.
 
 
legendary
Activity: 1596
Merit: 1012
Democracy is vulnerable to a 51% attack.
May 26, 2013, 03:55:54 PM
Trade orders are always fair for the user who submit them. Can we
agree on that?
Essentially, what you're saying is that it all works great as long as nothing ripples. And that's basically what I've said, we can implement it with contracts, but it's not going to work with the ripple-based payment system. Rippling can only work if the system can determine the value of something to someone without needing them to specify an exchange rate or time horizon. You can't expect the average person to manually maintain an exchange rate or time horizon nor can the system force a person to accept an exchange rate or time horizon they haven't agreed to. They have to specify an asset value though -- a new account considers all assets worthless and won't give any asset any value until a user specifically assigns it one. If an asset can work with just a value, it can fit into the ripple-based payment system. If not, not.
legendary
Activity: 1372
Merit: 1002
May 26, 2013, 08:14:04 AM
Joel, my scheme only needs a time horizon for the payer in the ripple
transaction, everyone else have pre-signed their orders. Forget about
time horizons for a moment. More important, forget about trust lines
for a moment because that's what is confusing you. Trust lines are
very complex in the shadow, they're like saying "I trade 1:1 with this
limits any of these assets: bitstampUSD, aliceUSD, bobUSD...".
That implies a lot.

Of course trust lines get nasty when you also involve time. In that
case, I agree with you, just don't do it. It would be too complex and
I don't think people would use it like that.

I must remind you that I would remove the trust-lines rippling completely
from the core. They can be simulated at the client level keeping the
core simpler with only regular trade orders. So forget for a moment
there are something else than multi-currrecy regular orders at all.


A Ripple invariant is that someone else's transaction can do something
to you so long as you have agreed that it is fair. There is no way to
tell if something is fair to you unless we know how you value assets,
and if those assets have interest rates associated with them, their
value cannot be determined without knowing the time horizon.

Trade orders are always fair for the user who submit them. Can we
agree on that?

Let's make an example of a ripple transaction involving interests:

1) Alice owns 100 bitstampUSD.

2) Bob wants to sell 20000 bitstampFRC for bitstampUSD at 0.02 usd per
   frc. BitstampFRC have 5% demurrage like FRC.

3) Carol wants a FRC loan at 1% interest so she issues carolFRC1 at 1%
   interest. She sets an order buying 20000 bitstampFRC for 20000
   carolFRC1. She probably wants the order to execute all or nothing.
   She wants to pay some hosting for her web project.

5) At the community time bank, Carol has earned 10 localHRS accounted
   within Ripple. She also sets an offer to buy the 20000 carolFRC1
   for the 10 localHRS she has.

5) David sells beers at his pub for 0.2 localHRS

6) Alice visits David and Carol's and asks David, "I want 50 beers, do
   you accept bitstampUSD?"

David: No, but I accept Ripple, we can try. You probably don't have them,
but try to pay me 10 localHRS.
Alice: Great, it worked!

After the trade:

- Alice is drunk.
- Bob has the 100 bitstampUSD he wanted.
- Carol has the 20000 bitstampFRC she needed. She was lucky and didn't
  had to pay any interest because she was able to sell the HRS for her
  interest bearing debt in the same transaction, but if it would have
  been in different transactions (maybe several of them) Carol would
  have had to pay some interest.
- David received 10 localHRS.
- Nobody set a "time horizon" but it's all fair for everyone.

If Alice had several payment paths using bitstampUSD, bitstampFRC and
investmentFundUSD she would had needed a time horizon. That's why I
suggest the infinite as a sane default. That way Alice would try to
pay with bistampFRC first, then bistampUSD and only then
investmentFundUSD.

Interest bearing assets could be "custom currencies". Now let's put
the trust-line rippling back in. If "custom currencies" can only be
rippled within regular trade orders, everything is fine. Just no
"trust line rippling" for custom currencies.

Well the only question should be whether the demurrage from Bob's
offer is paid from the order itself or from Bob's bitstampFRC
outstanding reserves and automatically cancel the offer when there's
not enough reserves. You could allow both modes.

Does this make more sense to you?
legendary
Activity: 1596
Merit: 1012
Democracy is vulnerable to a 51% attack.
May 24, 2013, 09:07:14 PM
Quote
Say you have an asset that you value today at 10 USD and it has an 8% interest rate. And say I want to ripple through you and take in exchange another asset that you value today at 10 USD that has an 8% interest rate. Is that fair? Well, it depends on the time horizons.
Why is a time horizon required? Every single gateway deposit is 0% interest loan. Just have the 8% just keep adding up forever. What's the problem? Ripple never requires anyone to pay back an IOU by a certain time anyways. So if they can never pay off their IOUs, they "declare bankruptcy." The bankruptee opens a new Ripple account and everyone moves on. Isn't that how Ripple works?
See the part you quoted above. A Ripple invariant is that someone else's transaction can do something to you so long as you have agreed that it is fair. There is no way to tell if something is fair to you unless we know how you value assets, and if those assets have interest rates associated with them, their value cannot be determined without knowing the time horizon.

If someone owes you $10 and is paying you 6% interest and someone offers to owe you $9 at 18% interest (assuming you trust both of them), is that a fair trade? Which is worth more? Well, it depends on the time horizons.
Pages:
Jump to: