Giter Site home page Giter Site logo

eos-dapps's Introduction

How to add a new token

  1. Move into the chain folder.
  2. Add logo and large logo to logos sub folder.
  3. Append token data in tokens.json. The whole JSON file is an array.

Data format:

{
  "name": "<TOKEN_NAME>",
  "logo": "https://raw.githubusercontent.com/eosasia/eos-dapps/master/<CHAIN_FOLDER_NAME>/logos/<LOGO_FILE_NAME>",
  "logo_lg": "https://raw.githubusercontent.com/eosasia/eos-dapps/master/<CHAIN_FOLDER_NAME>/logos/<LARGE_LOGO_FILE_NAME>",
  "symbol": "<TOKEN_SYMBOL>",
  "account": "<CONTRACT_ACCOUNT>"
}

Replace these capitalized part(includes < and >) to your own info.



如何添加一个新的代币

  1. 转到相应链的文件夹。
  2. 子文件夹 logos 中加入图标和大号图标。
  3. tokens.json 的数组中补充完代币数据。

数据形式如下

{
  "name": "<代币名>",
  "logo": "https://raw.githubusercontent.com/eosasia/eos-dapps/master/<相应链的文件夹名>/logos/<图标文件名>",
  "logo_lg": "https://raw.githubusercontent.com/eosasia/eos-dapps/master/<相应链的文件夹名>/logos/<大号图标文件名>",
  "symbol": "<代币符号>",
  "account": "<合约账号名>"
}

替换掉尖括号的数据(包括尖括号)。

eos-dapps's People

Contributors

gaijinjoe avatar douglashorn avatar dfguo avatar syjstc avatar damienwjking avatar poplexity avatar barchef avatar zsq978663747 avatar bensig avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.