Coder Social home page Coder Social logo

Comments (15)

irisli avatar irisli commented on July 2, 2024

This sounds great as it can unify bridges between currencies in a simple manner. Rippling is no longer needed since Stellar will be used more for centralized gateways than a p2p system.

Perhaps we can make a new offer type called a parity offer in which other offers can take it but other parity offers can not take and only allows for 1:1 trades. Also, a parity offer would have these special properties. A parity offer would be essentially the same as a flag on an offer but it would be more explicit (not just a mumble of offers that may be confusing) and semantic (an important feature like this should be more supported natively instead of like a hack imo).

from stellar-protocol.

sunny-g avatar sunny-g commented on July 2, 2024

But if you accepted n currencies, wouldn't you need to set up (n^2 -n) offers to simulate full rippling (though my math might be wrong if I'm misunderstanding something)?

Rippling is no longer needed since Stellar will be used more for centralized gateways than a p2p system.

I thought the point of Stellar was to be more p2p than Ripple...

from stellar-protocol.

xekoukou avatar xekoukou commented on July 2, 2024

Not really, offers are 'sticky'. You would only need 2n for n trust lines.

I like Jed's idea. I don't understand what irsli is saying. I also want full p2p.

from stellar-protocol.

irisli avatar irisli commented on July 2, 2024

Sorry, p2p is a term used in many different contexts. By p2p, I meant that I am not going to issue a irisliUSD and have it ripple through xekoukouUSD to sunny-gUSD. Instead, I would be using bigcompanyUSD and sending it to you through anothercompanyUSD (which I consider more "centralized"). In the case of bigger gateways (and not a gateway per person), rippling is not very necessary.

from stellar-protocol.

sunny-g avatar sunny-g commented on July 2, 2024

rippling is not very necessary.

Well if they can be adapted to do the same thing (offers and rippling), then only one is necessary. But one application I've been working on is social credit which necessarily has each user operate as a pseudo-gateway so naturally I don't want changes made that might remove that application entirely.

from stellar-protocol.

irisli avatar irisli commented on July 2, 2024

You'll still be able to accomplish the same things as rippling through market making with offers. Offers are more explicit and more easily controlled since it happens on the gateway's end (individual issuers as opposed to consumers of those credits). I do see what you mean by the (n^2-n) offers necessary to "ripple" this way through offers.

from stellar-protocol.

xekoukou avatar xekoukou commented on July 2, 2024

It seems to me that offers are a binary relation that is transitive.
http://en.m.wikipedia.org/wiki/Binary_relation
So only 2n.

This is not a removal of rippling. The opposite, it is an enhancement.
What can be removed is the dead code that treated both as separate while they are the same.

I really want to create xekoukouUSD.

from stellar-protocol.

sunny-g avatar sunny-g commented on July 2, 2024

I really want to create xekoukouUSD.

@xekoukou why can't you do that now though with rippling?

It seems to me then that in the end, this would just provide a greater degree of granularity rather than making full rippling among anything that qualifies as USD the default, which if so, is actually much better.

from stellar-protocol.

xekoukou avatar xekoukou commented on July 2, 2024

@sunny-g I can.

Granularity: exactly!

from stellar-protocol.

sunny-g avatar sunny-g commented on July 2, 2024

One thing that only just recently came to mind:

Rippling with trust lines sets limits such that if two types if IOUs were being traded against each other, there would be a limit to how much one can trade one for the other. How would this be maintained if one were establishing a market offer between their own IOU and someone else's?

from stellar-protocol.

jedmccaleb avatar jedmccaleb commented on July 2, 2024

this is done now

from stellar-protocol.

sunny-g avatar sunny-g commented on July 2, 2024

@jedmccaleb so offers have replaced trust lines? If so, two questions:

  • Is information on how to use offers documented anywhere?
  • Can you (the issuer, not consumer) still specify how many of a certain issuer's credit you're willing to hold as a result of accepting it in offers (essentially, can you still specify something that operates as a trust limit)?

from stellar-protocol.

jedmccaleb avatar jedmccaleb commented on July 2, 2024

Trust lines still exist: https://www.stellar.org/developers/learn/concepts/assets.html
"rippling" was replaced by just placing offers.

from stellar-protocol.

sunny-g avatar sunny-g commented on July 2, 2024

@jedmccaleb thank you for the clarification! With regards to offers, is documentation like this still valid: https://github.com/stellar/docs/blob/master/learn/concepts/list-of-operations.md#manage-offer ?

from stellar-protocol.

jedmccaleb avatar jedmccaleb commented on July 2, 2024

yep

from stellar-protocol.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.