How to Update the Coin or Token Information

Updating Coin and Token Information

What is This Guide For?

This guide is to be used in order to update coin/token information for every supported blockchain and assets of Trust Wallet. We encourage every project to contribute to this, not just for Trust Wallet users but for the benefit of everyone in the crypto space.

There are literally thousands of cryptocurrencies and the information for most of them are scarce or hard to find. Our goal is to have these projects be known and their information easily accessible.

In order to add new tokens (assets), you need to follow this guide instead:
How to Submit a New Token (Asset)


What Needs to be Updated?

These are some of the links to the supported blockchains and assets:

What Do I Need?

These are just suggested applications that you can use to easily navigate the assets repo

Here is an example of a Pull Request to add a token info:

Steps to Add Coin/Token Info

  1. Using Github Desktop, clone the assets repo on your computer.
  2. Once it is completely synced, Open the repo by tapping on “Open in Visual Studio Code
  3. For this guide, we will try to update the token information for Basic Attention Token (BAT) . Copy the token contract address, you can get this from Etherscan.
    image
  4. Using Visual Studio Code, search for the Ethereum Contract Address. Use the “Go to File” command.
  5. Tap on the “logo.png” that is shown on the search results to go directly to the asset folder.

Note:
The information for this token is already created. Normally, the “info.json” will not be present. You can copy the json file from other assets and then modify it. Make sure that both logo.png and info.json are on the same folder.

  1. Fill up all the necessary information for the token and then save it.
  2. The change will immediately be reflected on GitHub Desktop. If you have not done it yet, create a new branch in order to submit a Pull Request.
  3. Provide all required information then click on Commit to “created branch on Step 7. Afterwards, click on Publish branch.
  4. Next, click on “Create Pull Request”.
  5. You will be automatically redirected to the asset repo on your browser. Submit the Pull Request by clicking on “Create pull request”. All done.

When Will The Information be Updated?

A maintainer will merge the pull request after further verification. This will be done as soon as possible. There will be notification emails sent to the one who submitted the pull request if there is anything needed or errors need to be corrected.
Once the pull request has been merged, the token information will be shown on the Trust Wallet app. However, this will take some time while the asset is being added to the repo.


Source: https://github.com/trustwallet/assets#trust-wallet-assets-info