Actions
New feature / Change #4174
closedDefine json structure of all supported crypto
Start date:
03/17/2022
Due date:
% Done:
0%
Estimated time:
Description
Based on attached json file (tokens.json), we need to update it in order to have easy overrides.
Here the proposed structure
[
{
"id": "bitcoin",
"name": "Bitcoin",
"symbol": "btc",
"thumb": "https://assets.coingecko.com/coins/images/1/thumb/bitcoin.png",
"supported": true,
"chain": ["ETH", "BSC", "POLYGON", "BTC", "ALPH", "AVN"]
"capabilities": []
"type": coin/nft,
"decimals": 10
}
]
Definition
* id : id of the token
* name : friendly name of the token
* symbol : symbol of the token
* supported : does the token to be displayed into wallet
* thumb : picture to use
* coingrecko_overrides : override coingrecko token value (returned by `https://api.coingecko.com/api/v3/coins/<id>`)
* capabilities : what feature will be usabled with this token ("staking", "mining", ...)
* decimals : number of decimal of the token
* type : coin or nft
* chain : network where is available the token
Files
Actions