(TBD)
The file erc20-tokens-list.json
is a single JSON file that contains the info from each asset listed in https://github.com/trustwallet/assets/tree/master/blockchains/ethereum/assets/, except:
- those with a status other than "active"
- those that are NOT listed in the "allowlist" (https://github.com/trustwallet/assets/blob/master/blockchains/ethereum/allowlist.json)
- those that are listed in the "denylist" (https://github.com/trustwallet/assets/blob/master/blockchains/ethereum/denylist.json)
For each asset, we include:
- address (string)
- decimals (int)
- logo (string)
- name (string)
- symbol (string)
- website (string)
Example:
{
"address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"decimals": 6,
"logo": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xdAC17F958D2ee523a2206206994597C13D831ec7/logo.png",
"name": "Tether",
"symbol": "USDT",
"website": "https://tether.to"
}
Just run update.sh:
$ bash update.sh