@shapeshiftoss/asset-service
v8.12.0
Published
Service to return supported asset details
Downloads
329
Keywords
Readme
@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
- Run
cp sample.env .env
to create an env file. Feel free to edit values to services of your choosing. - Run
yarn generate
to build thegeneratedAssetData.json
used by the service to provide asset data. - Commit and push changes to
generatedAssetData.json
to GitHub - 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.