bitpay / bitcore

A full stack for bitcoin and blockchain-based applications
https://bitcore.io/
MIT License
4.83k stars 2.08k forks source link

Ref: getServicesData from config #3547

Closed Gamboster closed 1 year ago

Gamboster commented 1 year ago

Refactor for the getServicesData function that was not being used anymore

This will allow us to customize the config of the external services, for the different cases of logged in/logged out users, with different locations and versions of the app. In this way we can perform certain blocks directly from BWS without the need of a new release of the bitpay app.

The first acceptance criteria for this is as follows: Show error message “Changelly is currently unavailable in your area.” when “New Yorker” attempts to access SWAP functionality

Logged out and New York IP - RESTRICT Logged in with New York Address - RESTRICT Logged in with NON New York Address while in NY IP - ALLOW Other cases - ALLOW