- Create pair and add liquidity in XSWAP
- Fork this repo
- (optional) JSON file and fragment(for token list extending) can be generated here: https://xdc.sale/generate-json
- Extend token list file for Mainnet | Testnet.
- Create directory in assets folder. The directory name for each token should be the ERC-55-formatted address of the token contract.
- Open your token directory.
- Add
logo.pngandinfo.json. Logo must be a square (recommended: 128x128) PNG w/ transparent background. Please compress using https://tinypng.com. - Create Pull Request
- (optional) Ping me on telegram @popovitsch to speed up merging process.
chainId: Chain id. Mainnet - 50, Testnet - 51. As Number and not String.symbol: Short ticker style symbol of token.name: Longer human version of token.address: Address of XRC-20 token, in ERC-55 mixed-case format.decimals: The decimals of the token. As Number and not String.
logoURI: An optional logo of your token. Must be a square (recommended: 128x128) PNG w/ transparent background. Please compress using https://tinypng.com. By default: https://raw.githubusercontent.com/pro100skm/xdc-token-list/master/assets/${address}/logo.pngtags: An array of tag identifiers associated with the token.
- 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
}
]
chainId: Chain id. Mainnet - 50, Testnet - 51. As Number and not String.symbol: Short ticker style symbol of token.name: Longer human version of token.address: Address of XRC-20 token, in ERC-55 mixed-case format.decimals: The decimals of the token. As Number and not String.logoURI: An optional logo of your token. Must be a square (recommended: 128x128) PNG w/ transparent background. Please compress using https://tinypng.com. By default: https://raw.githubusercontent.com/pro100skm/xdc-token-list/master/assets/${address}/logo.pngwebsite: Official URL of the website.tags: An array of tag identifiers associated with the token.links: Informational links array: twitter, telegram, email, discord, facebook, github, whitepaper.description: Short description of the project.
This list is maintained by volunteers in the community & people like you around the internet. It may not always be up to date, and it may occasionally get it wrong. If you find an error or omission, please open an issue or make a PR with any corrections.
If you have a problem with git please don't hesitate to contact me on Telegram: @popovitsch