| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
- On November 8th 2019 we made big changes to the repository, please read summary and recomnadationsHello and welcome to Trust Wallet assets info contribution guide. We appreciate your effort to open-source. Token repository https://github.com/trustwallet/assets (repo) is a source of images used by Trust Wallet including:
BEP2 Binance DEX token (native marketplace on Binance Chain)
TRC10, TRC20 tokens on TRON blockchain
coins integrated in Wallet Core
dApp images available in Browser section in Trust Wallet and at https://dapps.trustwallet.com and bookmarks icons. read requirments. Also you can submit dApp to our list read more
Staking validators info available on Trust Wallet Staking Platform
Coming soon: token info, token price
blockchains folder contains many subfolders and represents chains e.g. ethereum, binance ...
assets folder contains token folders named by smart contract address in checksum address for Ethreum like networks and inside of it logo.png - image representation. Note: Lowercased or uppercased contract addresses considered invalid. You can find checksum address by searching on etherscan.io, for example stablecoin DAI checksum address located at the top left corner of the page and has both uppercase and lowercase characters. Or convert Ethereum address to Checksum address. For other networks address must be specified as it was originated on a chain, e.g TRON TRC10: 1002000, TRON TRC20: TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t etc ...
info folder contains for now only logo.png that represents coin image
validators folder contains folders: assets same structure as above and list.json information about validators.
blacklist.json and whitelist.json files you may find in folders like tron, ethereum but not limited to, contain list of address approved based on many criterias (TODO add criterias) and disapproved based on factors such as scam, outdated, abandoned contracts etc ... .
. ├── blockchains │ └──ethereum │ │ └──assets │ │ │ └──0x0a2D9370cF74Da3FD3dF5d764e394Ca8205C50B6 // address folder │ │ │ └──logo.png // address logo │ │ └──info │ │ └──logo.png // coin logo | | | └──binance │ │ └──assets │ │ │ └──ONE-5F9 │ │ │ └──logo.png │ │ └──info │ │ └──logo.png | └──tron │ | └──assets │ | │ └──1002000 │ | │ | └──logo.png | | | └──TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t | | | └──logo.png | | | │ | └──info │ | └──logo.png | | | └──cosmos │ │ └──info | | | └──logo.png | | | │ │ └──validators │ │ | └──assets | | | └──cosmosvaloper1clpqr4nrk4khgkxj78fcwwh6dl3uw4epsluffn | | | └──logo.png | | | | | └──list.json ├── ...
Uploading:
Process adding new tokens may look complicated at first glance, but once you completed it will be way easier do it next time:
git clone git@github.com:YOUR_HANDLE/assets.git
cd tokens
git branch <branch_name>
git checkout <branch_name>git add -A
git commit -m “Add <token_name>”
git push origin <branch_name>Both clients, Android and iOS keep old image cache for up to 7 days. In order to see changes immediately, reinstall Trust Wallet. But as always, make sure you have a backup of all your wallets.
Base URL for token image:
https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/<contract_address_checksum>/logo.pngBase URL for coin image:
https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/<coin_name_lowercase>/info/logo.pngExamples:
Coin logo, e.g Bitcoin:
https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/bitcoin/info/logo.pngERC20:
https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x006BeA43Baa3f7A6f765F14f10A1a1b08334EF45/logo.pngBEP-2:
https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/binance/assets/ANKR-E97/logo.pngTRC-10:
https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/tron/assets/1002000/logo.pngTRC-20:
https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/tron/assets/TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t/logo.png| Back | FazBrowse Home | New Git URL |