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 support for using different tokens on ParaTimes #1265

Merged
merged 4 commits into from
Feb 21, 2024

Commits on Feb 21, 2024

  1. Add support for using different tokens on ParaTimes

    Up to now, we assumed that the native token on each ParaTime
    is always the same as the native token on the network.
    
    Unfortunately this is not always true, so now we have to make
    it possible to use different tokens on paratimes.
    csillag committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    f51619f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    32466aa View commit details
    Browse the repository at this point in the history
  3. Major overhaul of native token / ticker handling

    - Rename a NativeTicker to Ticker
    - Add EUROe token (and logo)
    - Add metadata about known native tokens:
      - Ticker (symbol)
      - Is this a free token?
      - CoinGecko id
    - Generalize RosePriceCard to TokenPriceCard
    - Enhance layer token configuration
      - Describe the token, not the ticker
      - Support multiple tokens per layer
      - Define the tokens for the Pontus-X layer
    - CoinGecko: support pulling all wanted prices
    - Nexus API:
      - When loading data, observe the layer token configuration
    - Added RuntimeBalanceDisplay: a component for displaying balances
      in multiple tokens.
    - Added FiatMoneyAmount: a component for displaying fiat money value
      for balances in multiple tokens, summarizing value from all tokens.
    - ParaTimeSnapshot: display price/faucet for first token
    csillag committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    7daf5fa View commit details
    Browse the repository at this point in the history
  4. Support displaying fiat values in non-USD currencies

    The preferred fiat currency can now be configured
    per paratime / network.
    csillag committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    3520ce1 View commit details
    Browse the repository at this point in the history