npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@subscan/assets-info

v1.1.15

Published

This package contains assets info of projects used in Subscan

Downloads

360

Readme

assets-info

This repo is convenient for assets owner to update some off-chain information such as website, twitter, etc. of asset displayed in Subscan.

Changelog

1.1.0

Refactor: use gcp img instead of inline img to reduce package size

How to update

  1. Fork this repository
  2. If there is no asset you want to update in the description file in the ./assets directory, then create a new file first like ./assets/<any name>.json, and the file format refers to template.json and Description file. Then update the information you need to update in the description file
  3. If you need to update the logo, put your logo to ./logos/<network_category_symbol>.<svg/png>, network is the domain part in hostname.
  4. Finally, make a pull request to our repo, and replace placeholders of Asset Owner & Signature Account, Signature Hash or Your Identity
  5. Done, now you can create and wait for the PR Checker to pass your request, and our team will double-check and confirm your request
  6. After pr is merged, we will release new version (usually in one or two days), and asset info will be updated on Subscan.

Some naming conventions about logo file:

  • File Extension: png/svg (Uppercase PNG/SVG is considered invalid)
  • File Name: network_category_symbol.<png/svg> (e.g. acala-testnet_asset_ABC.png)
  • Size: Less than 30KB
  • Background: Preferably transparent

About the signature

In Subscan, assets are currently divided into five categories: asset, system, custom, erc20, and erc721. If the asset category you update is asset, you need to sign your updated description file:

  1. Copy the entire description file content
  2. You can use polkadot apps signing to sign. In the polkadot apps signing, use the owner or admin account of the asset to sign the file content
  3. Then you can get the signed information.

Asset categories

asset, system, custom, erc20, erc721

Risk categories

normal, unsafe, scam

Description file

You can fill in " " for those that cannot be answered at present. No insulting or disrespectful words.

  • TokenID: asset/token id or contract address (needs to be consistent with on-chain data)
  • TokenSymbol: asset/token symbol (needs to be consistent with on-chain data)
  • Logo: asset/token logo
  • Description (en): description in English
  • Description (zh): description in Chinese
  • Website Link: website link
  • Twitter Link: twitter link
  • Telegram Link: telegram link
  • Discord Link: discord link
  • Medium Link: medium link
  • Github Link: github link
  • Tag: to indicate the usage or the feature of the token
  • Category: one of Asset categories
  • Coingecko API ID: token API ID on Coingecko
  • Risk: one of Risk categories
  • Network: refers to Network Identity

Network Identity

Please note that the previous statemint/statemine/rockmine is now called assethub-polkadot/assethub-kusama/assethub-rococo. eg: rockmine-asset-YAKIO.json -> assethub-rococo-asset-YAKIO.json

| Name (displayed in the Subscan) | Network | |------------------------------------------------------------------------|-----------------------| | Acala | acala | | Acala Mandala | acala-testnet | | agung | agung-testnet | | Ajuna | ajuna | | Aleph Zero | alephzero | | Aleph Zero Testnet | alephzero-testnet | | Altair | altair | | Assethub Polkadot | assethub-polkadot | | Assethub Kusama | assethub-kusama | | Assethub Paseo | assethub-paseo | | Assethub Rococo | assethub-rococo | | Astar | astar | | Avail Testnet | avail-testnet | | Bajun | bajun | | Basilisk | basilisk | | Bifrost | bifrost | | Bifrost Kusama | bifrost-kusama | | Bridgehub Rococo | bridgehub-rococo | | Calamari | calamari | | Canary Matrix | canary-matrix | | Canary | canary | | Centrifuge | centrifuge | | ChainX | chainx | | Clover | clover | | Composable | composable | | Continuum | continuum | | Coretime Kusama | coretime-kusama | | Coretime Rococo | coretime-rococo | | Coretime Westend | coretime-westend | | Crab | crab | | Creditcoin | creditcoin | | Creditcoin Testnet | creditcoin-testnet | | Creditcoin CC3 Testnet | creditcoin3-testnet | | Crust | crust | | Crust Maxwell | maxwell | | Crust Parachain | crust-parachain | | Crust Shadow | shadow | | Dancebox | dancebox | | Darwinia | darwinia | | DeepBrain Chain | dbc | | Dock | dock | | Dolphin | dolphin | | Enjin Matrix | matrix | | Enjin | enjin | | Encointer | encointer | | Humanode | humanode | | Hydration | hydration | | IntegriTEE | integritee | | Interlay | interlay | | Joystream | joystream | | KILT Peregrine | kilt-testnet | | KILT Spiritnet | spiritnet | | Karura | karura | | Khala | khala | | Kintsugi | kintsugi | | krest | krest | | Kusama | kusama | | Mangata | mangatax | | Manta | manta | | Moonbase | moonbase | | Moonbeam | moonbeam | | Moonriver | moonriver | | NeuroWeb | neuroweb | | NeuroWeb Testnet | neuroweb-testnet | | Nodle | nodle | | Opal | opal | | Pangolin | pangolin | | Parallel | parallel | | Parallel Heiko | parallel-heiko | | Paseo | paseo | | Phala | phala | | Picasso | picasso | | Picasso Rococo | picasso-rococo | | Pioneer | pioneer | | Polkadex | polkadex | | Polkadex Parachain | polkadex-parachain | | Polkadot | polkadot | | Polymesh | polymesh | | Polymesh Testnet | polymesh-testnet | | Quartz | quartz | | Robonomics | robonomics | | Rococo V1 | rococo | | Shibuya | shibuya | | Shiden | shiden | | SORA | sora | | Stafi | stafi | | Subspace Gemini 3F | subspace | | Turing | turing | | Unique | unique | | Vara | vara | | Westend | westend | | Zeitgeist | zeitgeist |

Why the Signature Checker report Not-Verified

  1. Make sure you haven't changed other formats except for angle brackets(<>) and included words
  2. Make sure the signature you put is made by the same Asset Owner/Admin
  3. Make sure your description file is in valid JSON format
  4. Probably our Signature checker give up its job :(

If up there is nothing to help, contact us, and we will help you manually verify your request.