> For the complete documentation index, see [llms.txt](https://docs.xspswap.finance/xswap-protocol/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xspswap.finance/xswap-protocol/contact-us/add-logo-and-token-to-suggested-list.md).

# Add logo and token to suggested list

## ❗️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 [this repo](https://github.com/pro100skm/xdc-token-list) 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.

***You can also visit Github repo for the*** [***XDC Token List***](https://github.com/pro100skm/xdc-token-list)***.***

### 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
    }
 ]
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.xspswap.finance/xswap-protocol/contact-us/add-logo-and-token-to-suggested-list.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
