Giter Club home page Giter Club logo

Comments (3)

Uxio0 avatar Uxio0 commented on June 10, 2024 1

You are exposing 2 really good points @hectorgomezv . The idea for this service is not letting the logic of price calculation to be lost, and for the community to use and maintain this service. As it doesn't seem really straightforward to add support in the CGW for the reasons you are exposing, I wouldn't work on that unless:

  • A lot of users demands it
  • We need it for a network where our price provider is not working.

What do you think if we evaluate it in the future in case any of these conditions meet and I close this issue for now? (cc @moisses89 )

from safe-price-service.

Uxio0 avatar Uxio0 commented on June 10, 2024

@hectorgomezv @fmrsabino It would be posible to add the price service as an alternative API for the cgw?

I think it could be useful so we can fallback if our provider does not support a network and we need to deploy the price service (if it's an easy task on your side)

from safe-price-service.

hectorgomezv avatar hectorgomezv commented on June 10, 2024

I don't see any major downside to adding the Price Service as an alternative, it seems a good idea @Uxio0 🙂

Having that said, I would like to include some context:

  • It seems the main goal of having this service as an alternative is to cover the case where a network is not supported by our current token prices provider. I think that's a valid reason. Just for context, I would like to say that we implemented the CGW prices client having in mind that it should work without an API Key for getting the token prices: using it in safe-infrastructure with no API Key would also work and prices would be retrieved (the provider rate-limits its free tier, of course).
  • We dropped all the code related to rate conversions between fiat currencies (as our current provider does that job for us), and we also plan to cancel the subscription to the fiat rates provider we have been using in the past. I guess safe-price-service only gets USD prices, correct? If that's the case we need to either reconsider getting back the code and keep paying for the subscription, or either accept that when using safe-price-service as a fallback, only USD prices would be available, is that acceptable?

from safe-price-service.

Related Issues (7)

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.