Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@subscan/assets-info

Package Overview
Dependencies
Maintainers
0
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@subscan/assets-info

This package contains assets info of projects used in Subscan

  • 1.1.18
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-87.23%
Maintainers
0
Weekly downloads
 
Created
Source

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, foreign_asset, 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, foreign_asset

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
Acalaacala
Acala Mandalaacala-testnet
agungagung-testnet
Ajunaajuna
Aleph Zeroalephzero
Aleph Zero Testnetalephzero-testnet
Altairaltair
Assethub Polkadotassethub-polkadot
Assethub Kusamaassethub-kusama
Assethub Paseoassethub-paseo
Assethub Rococoassethub-rococo
Astarastar
Avail Testnetavail-testnet
Bajunbajun
Basiliskbasilisk
Bifrostbifrost
Bifrost Kusamabifrost-kusama
Bridgehub Rococobridgehub-rococo
Calamaricalamari
Canary Matrixcanary-matrix
Canarycanary
Centrifugecentrifuge
ChainXchainx
Cloverclover
Composablecomposable
Continuumcontinuum
Coretime Kusamacoretime-kusama
Coretime Rocococoretime-rococo
Coretime Westendcoretime-westend
Crabcrab
Creditcoincreditcoin
Creditcoin Testnetcreditcoin-testnet
Creditcoin CC3 Testnetcreditcoin3-testnet
Crustcrust
Crust Maxwellmaxwell
Crust Parachaincrust-parachain
Crust Shadowshadow
Danceboxdancebox
Darwiniadarwinia
DeepBrain Chaindbc
Dockdock
Dolphindolphin
Enjin Matrixmatrix
Enjinenjin
Encointerencointer
Humanodehumanode
Hydrationhydration
IntegriTEEintegritee
Interlayinterlay
Joystreamjoystream
KILT Peregrinekilt-testnet
KILT Spiritnetspiritnet
Karurakarura
Khalakhala
Kintsugikintsugi
krestkrest
Kusamakusama
Mangatamangatax
Mantamanta
Moonbasemoonbase
Moonbeammoonbeam
Moonrivermoonriver
NeuroWebneuroweb
NeuroWeb Testnetneuroweb-testnet
Nodlenodle
Opalopal
Pangolinpangolin
Parallelparallel
Parallel Heikoparallel-heiko
Paseopaseo
Phalaphala
Picassopicasso
Picasso Rococopicasso-rococo
Pioneerpioneer
Polkadexpolkadex
Polkadex Parachainpolkadex-parachain
Polkadotpolkadot
Polymeshpolymesh
Polymesh Testnetpolymesh-testnet
Quartzquartz
Robonomicsrobonomics
Rococo V1rococo
Shibuyashibuya
Shidenshiden
SORAsora
Stafistafi
Subspace Gemini 3Fsubspace
Turingturing
Uniqueunique
Varavara
Westendwestend
Zeitgeistzeitgeist

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.

Keywords

FAQs

Package last updated on 03 Dec 2024

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