XSwap Protocol
  • ℹ️XSwap Protocol Intro
  • 🌟Get Started
    • 👛Create A Wallet
    • 💻Using XSwap without Centralized Exchanges
    • 📲Connect your wallet to XSWAP
    • 🌉Bridge your tokens from ETH Blockchain
  • 📥Contact Us
    • 🏢Business Partnerships
    • 🪙Add logo and token to suggested list
    • 🙂Customer Support
  • PRODUCTS
    • V2 DEX
      • 🔄SWAP
        • Token Swaps
        • How to Trade
        • Liquidity Pools
        • How to Add/Remove Liquidity
          • Create Pair
          • Add liquidity
          • Remove liquidity
      • 💸XSP Staking
      • 🚜Yield Farming
        • How To Use Farms
          • Pools - Stake XTT
            • How to use the Flexible Staking option
            • How to use the Fixed-Term Staking option
              • XTT Pool FAQ
    • V3 DEX
      • 📂View Header
      • 🖥️Manage Network
      • 💸Connect wallet
      • 📨View Tokens, Pools and Activity
      • 🤝Swap
      • 🤑Tokens
      • 🎱Pools
      • 📈Charts
      • 👨‍🌾V3 Farming
    • XSwap Treasure Project
      • 🔎What is XTT
      • 💰Rewards Token
      • 🚀XDC Launchpad
      • 🪙XTT Token
      • 🪂XTT Airdrop
      • 🛣️Roadmap
      • 📚XDC.Sale Tutorial
    • Analytics
    • 📱XSwap Wallet
    • 👜Migrating Liquidity from V2 to V3
    • 🗳️Governance
  • *️Responsible Risk Disclosure Policy
  • ✳️General Terms and Conditions
  • 🔏PRIVACY POLICY
  • CONTRACTS
    • 📔XSwap Protocol Contracts
    • 📖Audit
  • Socials
    • Telegram
    • Announcement Channel
    • Twitter
    • YouTube
Powered by GitBook
On this page
  • ❗️VERY IMPORTANT❗️
  • xdc-token-list
  • How to add logo and token to suggested list?
  • Example of editing mainnet.tokenlist.json file
  1. Contact Us

Add logo and token to suggested list

PreviousBusiness PartnershipsNextCustomer Support

Last updated 2 years ago

❗️VERY IMPORTANT❗️

  1. Use png formatted images for logo.

  2. Logo image size should be less than 20KB.

  3. Do not forget to add commas after curly braces in JSON files. [{...token info...}, {...another token info...}]

  4. Insert correct address of token with uppercase letters.

    ❌:0x4826634fe187ed3ffb64d77c5c1a67ba49cc03de

    ✅:0x4826634Fe187Ed3FFb64d77c5C1A67Ba49cc03dE

xdc-token-list

The most popular tokens on XDC Network

How to add logo and token to suggested list?

  • Fork 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.

Example of editing mainnet.tokenlist.json file

  • 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
    }
 ]

You can also visit Github repo for the .

📥
🪙
this repo
XDC Token List