Project

General

Profile

Actions

New feature / Change #4174

closed

Define json structure of all supported crypto

Added by Olivier Bitsch over 2 years ago. Updated over 2 years ago.

Status:
Done
Priority:
Normal
Target version:
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

tokens.json (1.44 MB) tokens.json Olivier Bitsch, 03/17/2022 01:42 PM
Actions #1

Updated by Olivier Bitsch over 2 years ago

  • Description updated (diff)
Actions #2

Updated by Olivier Bitsch over 2 years ago

  • Description updated (diff)
Actions #3

Updated by Olivier Bitsch over 2 years ago

  • Description updated (diff)
Actions #4

Updated by Olivier Bitsch over 2 years ago

  • Assignee set to Olivier Bitsch
Actions #5

Updated by Olivier Bitsch over 2 years ago

  • Status changed from In Study to Done
Actions

Also available in: Atom PDF