@globiance/default-token-list
TypeScript icon, indicating that this package has built-in type declarations

2.0.28 • Public • Published

GlobianceDEX - default-token-list

This is the module which contains the list of tokens which will be available by default for swapping on GlobianceDEX for everyone. This module also enlists the default set of pool visible in the pool list.

Listing a token

To request a new token listing you can do any of the following:

  1. Generate new issue with all details
  2. Generate a Pull Request ( PR ) by add your logo ( as per format ) to assets and add a JSON file containing details of the token in the directory.

Format of the JSON file:

  • Filename must be token name in lowercase
{
  "name": ,
  "symbol": "",
  "address": "",
  "decimals": ,
  "feeOnTransfer": 
}

Sample:

{
  "name": "Globiance Exchange Token",
  "symbol": "GBEX",
  "address": "xdc34514748f86a8da01ef082306b6d6e738f777f5a",
  "decimals": 18,
  "feeOnTransfer": true
}

Listing a Pool

To enlist a pool in the default liquidity pools list add PR with corresponding pool details added in directory

Format:

  • Filename must be pair address
  • all token names must be in lowercase

File Structure:

{
  "first": "",
  "second": "",
  "address": ""
}

Sample:

{
  "first": "gbex",
  "second": "xdc",
  "address": "xdc1aF38719EdEFE7D2aE5923198CCeea821968278F"
}

Token Logo Format

Token logo needs to be in a .PNG format with preferrable dimensions of 50x50 px

Package Sidebar

Install

npm i @globiance/default-token-list

Weekly Downloads

1

Version

2.0.28

License

ISC

Unpacked Size

7.73 MB

Total Files

4

Last publish

Collaborators

  • dmitry2s
  • globmod
  • globiance99
  • rudreshsolanki97