Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cryptocurrencies #57

Open
ivanjpg opened this issue Jul 1, 2022 · 0 comments
Open

Add cryptocurrencies #57

ivanjpg opened this issue Jul 1, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@ivanjpg
Copy link

ivanjpg commented Jul 1, 2022

It would be great if you could add some cryptocurrencies to the list. Here I have the first 19.

I think the flag stuff should be modified to hold images also instead of the current String? variable type. Also, the icons should be retrieved from assets I think.

Thank you for your nice work.

  // Below this comment there are the main cryptocurrencies as listed by
  // https://www.coindesk.com/coindesk20/
  // All of these are based on the USD attributes.
  {
    "code": "BTC",
    "name": "Bitcoin",
    "symbol": "\$",
    "decimal_digits": 2,
    "number": -1,
    "name_plural": "Bitcoins",
    "thousands_separator": ",",
    "decimal_separator": ".",
    "space_between_amount_and_symbol": false,
    "symbol_on_left": true,
  },
  {
    "code": "ETH",
    "name": "Ethereum",
    "symbol": "\$",
    "decimal_digits": 2,
    "number": -1,
    "name_plural": "Ethereums",
    "thousands_separator": ",",
    "decimal_separator": ".",
    "space_between_amount_and_symbol": false,
    "symbol_on_left": true,
  },
  {
    "code": "USDT",
    "name": "Tether",
    "symbol": "\$",
    "decimal_digits": 2,
    "number": -1,
    "name_plural": "Tethers",
    "thousands_separator": ",",
    "decimal_separator": ".",
    "space_between_amount_and_symbol": false,
    "symbol_on_left": true,
  },
  {
    "code": "USDC",
    "name": "USD Coin",
    "symbol": "\$",
    "decimal_digits": 2,
    "number": -1,
    "name_plural": "USD Coins",
    "thousands_separator": ",",
    "decimal_separator": ".",
    "space_between_amount_and_symbol": false,
    "symbol_on_left": true,
  },
  {
    "code": "XRP",
    "name": "XRP",
    "symbol": "\$",
    "decimal_digits": 2,
    "number": -1,
    "name_plural": "XRPs",
    "thousands_separator": ",",
    "decimal_separator": ".",
    "space_between_amount_and_symbol": false,
    "symbol_on_left": true,
  },
  {
    "code": "SOL",
    "name": "Solana",
    "symbol": "\$",
    "decimal_digits": 2,
    "number": -1,
    "name_plural": "Solanas",
    "thousands_separator": ",",
    "decimal_separator": ".",
    "space_between_amount_and_symbol": false,
    "symbol_on_left": true,
  },
  {
    "code": "ADA",
    "name": "Cardano",
    "symbol": "\$",
    "decimal_digits": 2,
    "number": -1,
    "name_plural": "Cardanos",
    "thousands_separator": ",",
    "decimal_separator": ".",
    "space_between_amount_and_symbol": false,
    "symbol_on_left": true,
  },
  {
    "code": "XLM",
    "name": "Stellar",
    "symbol": "\$",
    "decimal_digits": 2,
    "number": -1,
    "name_plural": "Stellars",
    "thousands_separator": ",",
    "decimal_separator": ".",
    "space_between_amount_and_symbol": false,
    "symbol_on_left": true,
  },
  {
    "code": "DOGE",
    "name": "Dogecoin",
    "symbol": "\$",
    "decimal_digits": 2,
    "number": -1,
    "name_plural": "Dogecoins",
    "thousands_separator": ",",
    "decimal_separator": ".",
    "space_between_amount_and_symbol": false,
    "symbol_on_left": true,
  },
  {
    "code": "DOT",
    "name": "Polkadot",
    "symbol": "\$",
    "decimal_digits": 2,
    "number": -1,
    "name_plural": "Polkadots",
    "thousands_separator": ",",
    "decimal_separator": ".",
    "space_between_amount_and_symbol": false,
    "symbol_on_left": true,
  },
  {
    "code": "AVAX",
    "name": "Avalanche",
    "symbol": "\$",
    "decimal_digits": 2,
    "number": -1,
    "name_plural": "Avalanches",
    "thousands_separator": ",",
    "decimal_separator": ".",
    "space_between_amount_and_symbol": false,
    "symbol_on_left": true,
  },
  {
    "code": "LINK",
    "name": "Chainlink",
    "symbol": "\$",
    "decimal_digits": 2,
    "number": -1,
    "name_plural": "Chainlinks",
    "thousands_separator": ",",
    "decimal_separator": ".",
    "space_between_amount_and_symbol": false,
    "symbol_on_left": true,
  },
  {
    "code": "SHIB",
    "name": "Shiba Inu",
    "symbol": "\$",
    "decimal_digits": 2,
    "number": -1,
    "name_plural": "Shiba Inus",
    "thousands_separator": ",",
    "decimal_separator": ".",
    "space_between_amount_and_symbol": false,
    "symbol_on_left": true,
  },
  {
    "code": "MATIC",
    "name": "Polygon",
    "symbol": "\$",
    "decimal_digits": 2,
    "number": -1,
    "name_plural": "Polygons",
    "thousands_separator": ",",
    "decimal_separator": ".",
    "space_between_amount_and_symbol": false,
    "symbol_on_left": true,
  },
  {
    "code": "ATOM",
    "name": "Cosmos",
    "symbol": "\$",
    "decimal_digits": 2,
    "number": -1,
    "name_plural": "Cosmos",
    "thousands_separator": ",",
    "decimal_separator": ".",
    "space_between_amount_and_symbol": false,
    "symbol_on_left": true,
  },
  {
    "code": "GALA",
    "name": "Gala",
    "symbol": "\$",
    "decimal_digits": 2,
    "number": -1,
    "name_plural": "Galas",
    "thousands_separator": ",",
    "decimal_separator": ".",
    "space_between_amount_and_symbol": false,
    "symbol_on_left": true,
  },
  {
    "code": "MANA",
    "name": "Decentraland",
    "symbol": "\$",
    "decimal_digits": 2,
    "number": -1,
    "name_plural": "Decentralands",
    "thousands_separator": ",",
    "decimal_separator": ".",
    "space_between_amount_and_symbol": false,
    "symbol_on_left": true,
  },
  {
    "code": "LRC",
    "name": "Loopring",
    "symbol": "\$",
    "decimal_digits": 2,
    "number": -1,
    "name_plural": "Looprings",
    "thousands_separator": ",",
    "decimal_separator": ".",
    "space_between_amount_and_symbol": false,
    "symbol_on_left": true,
  },
  {
    "code": "LUNA",
    "name": "Luna Classic",
    "symbol": "\$",
    "decimal_digits": 2,
    "number": -1,
    "name_plural": "Luna Classics",
    "thousands_separator": ",",
    "decimal_separator": ".",
    "space_between_amount_and_symbol": false,
    "symbol_on_left": true,
  }
@Daniel-Ioannou Daniel-Ioannou added the enhancement New feature or request label Sep 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants