Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Automate generation/updates of CurrencyDictionary #1691

Open
@placer14

Description

@placer14

The CurrencyDictionary provided by the API via GET /wallet/currencies has a lot of data which we may want to automate the handling of so as to remove a tedious, error-prone manual process. It's unclear what the requirements of this might be yet, but it should be aware of the following details:

  • at the time of issue creation, the API endpoint expects all currency codes to be unique. In other words, a mainnet and testnet code cannot collide as they are all held in the dictionary together.
  • we don't enumerate ALL of the cryptocurrencies (yet) and only have the wallet-supported currencies. They need to be differentiated via https://ticker.openbazaar.org/whitelist against CoinMarketCap's API to disambiguate coins with conflicting symbols.
  • there is the potential that any code may not actually be unique and will collide and that needs to be resolved (ex: mainnet and testnet code, or two testnet codes).

(Note: This work follows incomplete/extra scope for #1586)

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionethereumEthereum integration-related issues.internalUnder-the-hood issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions