Exodus Assets
[![npm][npm-image]][npm-url]]
[npm-image]: https://img.shields.io/npm/v/@exodus/assets.svg?style=flat-square
[npm-url]: https://www.npmjs.com/package/@exodus/assets
Install
yarn add @exodus/assets
Usage
import { keyBy } from '@exodus/basic-utils'
import { connectAssets } from '@exodus/assets'
import assetsBase from '@exodus/assets-base'
import combinedAssetsList from '@exodus/combined-assets-meta'
const combinedAssets = keyBy(combinedAssetsList, ({ name }) => name)
const assets = connectAssets({ ...combinedAssets, ...assetsBase })
for (const [key, val] of Object.entries(assets)) {
console.log(`${key}: ${val.displayName}`)
}