@shapeshiftoss/asset-service
TypeScript icon, indicating that this package has built-in type declarations

8.12.0 • Public • Published

@shapeshiftoss/asset-service

This service provides all the information needed to support an asset in the shapeshift open source app.

It does not provide asset market data (price, volume, etc) or wallet balance information.

Usage

  1. Run cp sample.env .env to create an env file. Feel free to edit values to services of your choosing.
  2. Run yarn generate to build the generatedAssetData.json used by the service to provide asset data.
  3. Commit and push changes to generatedAssetData.json to GitHub
  4. Use assetService to lookup assets as needed.

Blacklist usage

You can contribute to blacklist a flagged token by adding its caip19 to the blacklist.json list.

Overriding the description of an asset

You can contribute to override the description of an asset by adding it to descriptions.json list.

Readme

Keywords

none

Package Sidebar

Install

npm i @shapeshiftoss/asset-service

Weekly Downloads

2

Version

8.12.0

License

MIT

Unpacked Size

6.14 MB

Total Files

24

Last publish

Collaborators

  • 0xgomes
  • giantkin
  • 0xean
  • kmart13
  • shapeshift-ci-bot
  • tech-keepkey