UNPKG

@easymoney/currencies

Version:
23 lines (20 loc) 499 B
import { CurrencyMap, CurrencyUnitCrypto } from "../types"; import { convertCurrencyMapToArray } from "../convertCurrencyMapToArray"; export const cryptoCurrenciesMap: CurrencyMap<CurrencyUnitCrypto> = { BTC: { code: "BTC", minorUnit: 8, symbol: "BTC" }, LTC: { code: "LTC", minorUnit: 8, symbol: "LTC" }, ETH: { code: "ETH", minorUnit: 18, symbol: "ETH" } } as const; export const cryptoCurrencies = convertCurrencyMapToArray(cryptoCurrenciesMap);