Socket
Socket
Sign inDemoInstall

@shapeshiftoss/asset-service

Package Overview
Dependencies
Maintainers
11
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shapeshiftoss/asset-service

Service to return supported asset details


Version published
Weekly downloads
9
decreased by-10%
Maintainers
11
Weekly downloads
 
Created
Source

@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.

FAQs

Package last updated on 29 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc