Open extra topbar

custom coin exchange rates

If you are new here, please see some information on how to ask for support. Thank you!

custom coin exchange rates

This topic contains 2 replies, has 2 voices, and was last updated by  vorticism 10 months, 1 week ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5556

    vorticism
    Participant

    Is there a way to manually define custom coin exchange rates?
    Is there a corresponding entry in mysql?

    #5561

    alexg
    Keymaster

    Yes,

    You can define your own custom exchange rates provider. For sample code please see here: https://gist.github.com/alex-georgiou/492196184f206002c864225180ca8fbb

    You are advised to use code like the one above, rather than editing the database directly. The filters get executed by the plugin and the result of all the filters gets written out to the database.

    Exchange rates are stored in the options DB table, the name is wallets_rates.

    Hope this helps.

    with regards

    #5562

    vorticism
    Participant

    Thank you all the time.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.