Add currency conversion to Satoshi

pull/175/head
Simon Roberts 3 years ago
parent aba283443d
commit 26981df6a5
No known key found for this signature in database
GPG Key ID: 0F30F99E6B771FD4

@ -58,6 +58,7 @@ var FiatCurrencyNames = map[string]string{
var CryptocurrencyNames = map[string]string{ var CryptocurrencyNames = map[string]string{
"BTC": "Bitcoin", "BTC": "Bitcoin",
"ETH": "Ethereum", "ETH": "Ethereum",
"SATS": "Satoshi",
} }
// CurrencySymbolMap is map of fiat currency symbols to names. // CurrencySymbolMap is map of fiat currency symbols to names.
@ -96,6 +97,7 @@ var CurrencySymbolMap = map[string]string{
"RUB": "Ꝑ", "RUB": "Ꝑ",
"SEK": "kr", "SEK": "kr",
"SGD": "S$", "SGD": "S$",
"SATS": "丰",
"THB": "฿", "THB": "฿",
"TRY": "₺", "TRY": "₺",
"TWD": "NT$", "TWD": "NT$",

@ -268,6 +268,7 @@ func (s *Service) SupportedCurrencies() []string {
"PLN", "PLN",
"RUB", "RUB",
"SAR", "SAR",
"SATS",
"SEK", "SEK",
"SGD", "SGD",
"THB", "THB",

Loading…
Cancel
Save