cryptometa
Public repository used by ViewBlock to display token information and compute score
How to add/update your token
- Fork the repo
- Create a folder in the appropriate chain folder named after your contract address
- Your image must be either SVG or PNG 256x256 (max 100kb) and named
logo.<extension>
- Add information of your project using the following spec:
Param | Type | Required | Points | Notes |
---|
name | String | true | | |
symbol | String | true | | |
email | String | false | | |
web | String | false | 5 | |
decimals | Number | false | | |
supply | Number | false | | |
whitepaper | String | false | 10 | Link to the WP |
holders | Bool | false | 10 | Only specify if more than 1000 holders without airdrops |
publicTeam | Bool | false | 20 | |
product | Bool | false | 30 | |
links.research | String | false | 10 | |
links.github | String | false | 10 | |
links.twitter | String | false | 5 | |
links.facebook | String | false | | |
links.reddit | String | false | | |
links.instagram | String | false | | |
links.coinmarketcap | String | false | | |
links.youtube | String | false | | |
links.telegram | String | false | | |
links.linkedin | String | false | | |
Usage
yarn add cryptometa
Param | Type | Required | Example |
---|
payload | String /Array | true | ETH , BNB.AVA-645 , zilliqa.zil14x... |
select | String | false | logo score name symbol |
const meta = require('cryptometa')
const res = await meta('ETH')
console.log(res)
You can also use another entry point for the server side if you do not mind loading all the token data at once
const meta = require('cryptometa/src/server')