Merge branch 'lyricnz-feature/satoshi'

pull/165/head^2
Miguel Mota 3 years ago
commit 98a94251c4
No known key found for this signature in database
GPG Key ID: 67EC1161588A00F9

@ -56,53 +56,55 @@ var FiatCurrencyNames = map[string]string{
// CryptocurrencyNames is a map of cryptocurrency symbols to name // CryptocurrencyNames is a map of cryptocurrency symbols to name
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.
// Keep these in alphabetical order. // Keep these in alphabetical order.
var CurrencySymbolMap = map[string]string{ var CurrencySymbolMap = map[string]string{
"AUD": "$", "AUD": "$",
"BGN": "Лв.", "BGN": "Лв.",
"BRL": "R$", "BRL": "R$",
"BTC": "Ƀ", "BTC": "Ƀ",
"CAD": "$", "CAD": "$",
"CFH": "₣", "CFH": "₣",
"CLP": "$", "CLP": "$",
"CNY": "¥", "CNY": "¥",
"CZK": "Kč", "CZK": "Kč",
"DKK": "Kr", "DKK": "Kr",
"ETH": "Ξ", "ETH": "Ξ",
"EUR": "€", "EUR": "€",
"GBP": "£", "GBP": "£",
"HKD": "$", "HKD": "$",
"HRK": "kn", "HRK": "kn",
"HUF": "Ft", "HUF": "Ft",
"IDR": "Rp.", "IDR": "Rp.",
"ILS": "₪", "ILS": "₪",
"INR": "₹", "INR": "₹",
"ISK": "kr", "ISK": "kr",
"JPY": "¥", "JPY": "¥",
"KRW": "₩", "KRW": "₩",
"MXN": "$", "MXN": "$",
"MYR": "RM", "MYR": "RM",
"NOK": "kr", "NOK": "kr",
"NZD": "$", "NZD": "$",
"PHP": "₱", "PHP": "₱",
"PKR": "₨", "PKR": "₨",
"PLN": "zł", "PLN": "zł",
"RON": "lei", "RON": "lei",
"RUB": "Ꝑ", "RUB": "Ꝑ",
"SEK": "kr", "SEK": "kr",
"SGD": "S$", "SGD": "S$",
"THB": "฿", "SATS": "丰",
"TRY": "₺", "THB": "฿",
"TWD": "NT$", "TRY": "₺",
"UAH": "₴", "TWD": "NT$",
"USD": "$", "UAH": "₴",
"VND": "₫", "USD": "$",
"ZAR": "R", "VND": "₫",
"ZAR": "R",
} }
var alphanumericcharacters = []rune{'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'} var alphanumericcharacters = []rune{'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'}

@ -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