Coder Social home page Coder Social logo

Comments (6)

MonsieurNicolas avatar MonsieurNicolas commented on July 21, 2024

If we're going to revisit this, we should also think about ways to have multiple authorities (aka namespace). For example, STR, BTC are not in the list of ISO currencies (which seems to be fiat only) - in theory a country could decide that they want to use this and not worry about conflicting with a lesser used/known one. This may have to be unified with issuers in a user friendly way.

from stellar-protocol.

johansten avatar johansten commented on July 21, 2024

If demurrage/interest rate is move to the account itself, then you'll probably end up with one issuing account for each currency, so no direct connection with the gateway account. And in that case, the issuer IS the currency.

Assume I'm a gateway and I issue credits with precious metals backing. Gold, Silver, Platinum, etc. What if the storage costs are different? Just based on specific gravity, silver would take more space, and would cost more to store.

Or what if I'm taking deposits of STR and issuing an interest bearing STR backed currency with a couple of different maturities?

from stellar-protocol.

irisli avatar irisli commented on July 21, 2024

Yeah, I talked to Jed about this and I realized that it is better to keep the demurrage information inside a currency code.

What would end up happening is that a few characters of the 160-bit currency code is for the currency code itself and then a timestamp (or anything else, this is all arbitrary) can be stored in the currency to signify when this precious metal was first released. This would put the burden of calculating demurrage on the client and rather stellard (which should remain as light as possible).

from stellar-protocol.

johansten avatar johansten commented on July 21, 2024

I just though of this, but one more reason not to, is that it leaves the issuer free to change the interest rate/demurrage at will.

from stellar-protocol.

jedmccaleb avatar jedmccaleb commented on July 21, 2024

johansten: well you could make it where they could only set it once. but probably better to put it in the currency code.

from stellar-protocol.

jedmccaleb avatar jedmccaleb commented on July 21, 2024

no longer applies

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.