Welcome to the Nexus token list repository! If you're looking to add your token to the Nexus list, follow these step-by-step instructions to make a pull request (PR).
- A GitHub account.
- Your token logo in PNG or SVG format, with a size of at least 250x250 pixels.
- Some social engangement.
- Go to the Nexus Token List Repository.
- Click Fork in the top right corner to create a copy of the repository under your account.
-
Clone your forked repository:
git clone https://github.com/YOUR_USERNAME/token-list.git cd token-list -
Create a new branch:
git checkout -b add-my-token
-
Open your forked repository in the browser when you are logged into github by pressing the period button on your keyboard "." to open vs code browser.:
-
Add your token logo to the
assets/token/50/directory. Ensure the image is at least 250x250 pixels and is named using your token's symbol or address. -
Open
tokens.json. -
Add your token information in the following format:
{ "name": "Nexus", "address": "0x6DaF228391e388B05BBc682FEA3CB1Cc3E38c44E", "symbol": "NEXU", "decimals": 18, "chainId": 50, "logoURI": "https://raw.githubusercontent.com/YOUR_USERNAME/token-list/main/assets/token/50/NEXU.png", "link": "https://thenexusportal.io/" } -
Ensure the formatting is correct and save the file.
-
Stage your changes and commit them:
git add tokens.json git add assets/token/50/YOUR_LOGO.png git commit -m "Add Nexus token and logo to list" -
Push the changes to your GitHub repository:
git push origin add-my-token
- Go to your fork on GitHub.
- Click Pull request > New pull request.
- Set the base repository to
nexusportal/token-listand compare your feature branch. - Add a title and description for your pull request, then click Create pull request.
- Your pull request will be reviewed by the repository maintainers.
- If any changes are required, you can make them on your branch and push them; the pull request will update automatically.
- Once approved, your token will be added to the Nexus list.