Support getting deposit addresses for other exchanges to use in Maya
How it is done:
ExchangeIntegrationProvider is injected into Maya to obtain a list of exchanges that is generated by the implementation in wallet.
Coinbase had all of the required API's. All that was added was a means to cache the accounts and their addresses.
Uphold support required a new API. A few other API's were implemented as suspend functions. These new methods will also save the accounts and addresses
ExchangeConfig is a class that will manage saving and retrieving accounts and addresses. Currently it saves a map of currency to account number as one map and account number to address in the second map. Perhaps it would be easier to simply have a single map to associate a currency with an address.
Related PR's and Dependencies
Screenshots / Videos
How Has This Been Tested?
[x] QA (Mobile Team)
Checklist:
[x] I have performed a self-review of my own code and added comments where necessary
[ ] I have added or updated relevant unit/integration/functional/e2e tests
Issue being fixed or feature implemented
Support getting deposit addresses for other exchanges to use in Maya
How it is done:
ExchangeIntegrationProvider
is injected into Maya to obtain a list of exchanges that is generated by the implementation inwallet
.suspend
functions. These new methods will also save the accounts and addressesRelated PR's and Dependencies
Screenshots / Videos
How Has This Been Tested?
Checklist: