New feature / Change #4174
Updated by Olivier Bitsch over 2 years ago
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, false, "chain": ["ETH", "BSC", "POLYGON", "BTC", "ALPH", "AVN"] "networks": [] "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