@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
39 lines (37 loc) • 1.11 kB
text/typescript
export {
listFiatCurrencies,
findFiatCurrencyByTicker,
getFiatCurrencyByTicker,
hasFiatCurrencyTicker,
listCryptoCurrencies,
getCryptoCurrencyById,
hasCryptoCurrencyId,
findCryptoCurrency,
findCryptoCurrencyById,
findCryptoCurrencyByScheme,
findCryptoCurrencyByKeyword,
findCryptoCurrencyByTicker,
getAbandonSeedAddress,
} from "@ledgerhq/cryptoassets";
export {
encodeURIScheme,
decodeURIScheme,
isCurrencySupported,
listSupportedCurrencies,
setSupportedCurrencies,
} from "@ledgerhq/ledger-wallet-framework/currencies";
export {
formatCurrencyUnit,
formatCurrencyUnitFragment,
parseCurrencyUnit,
sanitizeValueString,
toLocaleString,
type formatCurrencyUnitOptions,
type FormatterValue,
} from "@ledgerhq/live-currency-format";
export { getCurrencyColor, type ColorableCurrency } from "./color";
export { formatShort } from "./formatShort";
export * from "./helpers";
export { sortCurrenciesByIds, currenciesByMarketcap } from "./sortByMarketcap";
export { listSupportedFiats, OFAC_CURRENCIES } from "./support";
export { valueFromUnit } from "./valueFromUnit";