How to add logo and token to suggested list?

  1. 1.
    Use png formatted images for logo.
  2. 2.
    Logo image size should be less than 20KB.
  3. 3.
    Do not forget to add commas after curly braces in JSON files. [{...token info...}, {...another token info...}]
  4. 4.
    Insert correct address of token with uppercase letters.
    ❌:0x4826634fe187ed3ffb64d77c5c1a67ba49cc03de
    ✅:0x4826634Fe187Ed3FFb64d77c5C1A67Ba49cc03dE

The most popular tokens on XDC Network

  • Fork this repo and create a new branch.
  • In the assets folder, create a new directory and call it as your token address.
  • Add logo.png file inside of that directory
  • Open mainnet.tokenlist.json file and add your token info after the last token description under "tokens" key.
  • Push your branch and create pull request to the master branch.

  • Before:
...
"tokens": [
...,
{
"chainId": 50,
"address": "0x951857744785E80e2De051c32EE7b25f9c458C42",
"name": "Wrapped XDC",
"symbol": "WXDC",
"decimals": 18
}
]
  • After:
...
"tokens": [
...,
{
"chainId": 50,
"address": "0x951857744785E80e2De051c32EE7b25f9c458C42",
"name": "Wrapped XDC",
"symbol": "WXDC",
"decimals": 18
},
{
"chainId": 50,
"address": "your_token_address",
"name": "YOUR TOKEN NAME",
"symbol": "YOUR TOKEN SMBL",
"decimals": 18
}
]
Copy link
On this page
❗️VERY IMPORTANT❗️
xdc-token-list
How to add logo and token to suggested list?
Example of editing mainnet.tokenlist.json file