MetaMask / MetaMask/metamask-extension

Add SEK to currencies

Open
#21,736 1 comment 0 reactions 1 assignee Claimed by @sahar-fehri View on GitHub
external-contributor team-assets
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

### What is this about?

As a user, I'd like to see the exchange rates for my tokens in SEK.

I'm willing to submit a PR for this issue, if that's okay :)
- If it would be beneficial for the project, I could add more currencies than SEK aswell, for example whichever cryptocompare support.

### Scenario

_No response_

### Design

_No response_

### Technical Details

I've checked the source code, seems the current method to get exchange rates from `in-api.cryptocompare.com/data/price`

This seems possible using current APIs, as SEK is a valid currency there
```
➜ ~ curl 'https://min-api.cryptocompare.com/data/price?fsym=ETH&tsyms=SEK,USD'
{"SEK":20665.36,"USD":1877.3}
```

### Threat Modeling Framework

_No response_

### Acceptance Criteria

SEK available in list of FIAT currencies

### References

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.